Add Google Analytics
This commit is contained in:
@@ -4,7 +4,7 @@ import NavBar from "./NavBar";
|
||||
import Footer from "./Footer";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
export default function TermsOfService() {
|
||||
export default function TermsOfService(props) {
|
||||
const navbarItems = [
|
||||
{
|
||||
type: "link",
|
||||
@@ -14,6 +14,11 @@ export default function TermsOfService() {
|
||||
}
|
||||
];
|
||||
|
||||
props.logEvent("select_content", {
|
||||
content_type: "main_page",
|
||||
item_id: "tos",
|
||||
});
|
||||
|
||||
return (
|
||||
<div>
|
||||
<NavBar items={navbarItems} />
|
||||
|
||||
Reference in New Issue
Block a user