Add Google Analytics
This commit is contained in:
@@ -3,7 +3,7 @@ import NavBar from './NavBar';
|
||||
import Footer from "./Footer";
|
||||
import { HomeRounded as HomeRoundedIcon } from "@material-ui/icons";
|
||||
|
||||
export default function PageNotFound() {
|
||||
export default function Error404(props) {
|
||||
const navbarItems = [
|
||||
{
|
||||
type: "link",
|
||||
@@ -15,6 +15,11 @@ export default function PageNotFound() {
|
||||
|
||||
document.title = "Error 404 | Parandum";
|
||||
|
||||
props.logEvent("select_content", {
|
||||
content_type: "main_page",
|
||||
item_id: "error_404",
|
||||
});
|
||||
|
||||
return (
|
||||
<div>
|
||||
<NavBar items={navbarItems}/>
|
||||
|
||||
Reference in New Issue
Block a user