Add Google Analytics

This commit is contained in:
2021-09-05 21:00:02 +01:00
parent fccea836d3
commit bd355599c7
15 changed files with 117 additions and 27 deletions

View File

@@ -3,7 +3,7 @@ import { HomeRounded as HomeRoundedIcon } from "@material-ui/icons";
import NavBar from "./NavBar";
import Footer from "./Footer";
export default function PrivacyPolicy() {
export default function PrivacyPolicy(props) {
const navbarItems = [
{
type: "link",
@@ -13,6 +13,11 @@ export default function PrivacyPolicy() {
}
];
props.logEvent("select_content", {
content_type: "main_page",
item_id: "privacy",
});
return (
<div>
<NavBar items={navbarItems} />