Skip to content

Commit

Permalink
ga tag to count page views
Browse files Browse the repository at this point in the history
  • Loading branch information
metaflow committed Oct 8, 2024
1 parent c047c3a commit 79d348d
Showing 1 changed file with 33 additions and 15 deletions.
48 changes: 33 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,37 @@
<title>Interactive Race Planner</title>
<style type="text/tailwindcss">
button {
@apply border-gray-300 border rounded p-1 pl-2 pr-2 m-1 font-normal bg-white;
}
th {
@apply font-normal;
}
textarea {
height: 34px;
@apply p-1;
margin-top: 1px;
}
input, textarea {
@apply border-gray-300 border rounded;
}
</style>
@apply border-gray-300 border rounded p-1 pl-2 pr-2 m-1 font-normal bg-white;
}
th {
@apply font-normal;
}
textarea {
height: 34px;
@apply p-1;
margin-top: 1px;
}
input, textarea {
@apply border-gray-300 border rounded;
}
</style>
<!-- Google tag (gtag.js) -->

<script async src="https://www.googletagmanager.com/gtag/js?id=G-QCH35BE370"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
// Configure Google Analytics to not use cookies.
// This tag is only used to count number of page views.
gtag('config', 'G-QCH35BE370',{
'anonymize_ip': true, // Do not track IP address.
'storage': 'none', // Disable cookies.
'client_storage': 'none', // No localStorage/sessionStorage.
'allow_google_signals': false, // Disable cross-device tracking.
'allow_ad_personalization_signals': false // Disable ad tracking.
});
</script>
</head>

<body class="text-gray-800 bg-slate-100">
Expand Down Expand Up @@ -651,4 +668,5 @@ <h1 class="text-2xl">Interactive race nutrition planner</h1>
</script>
</body>

</html>
</html>

0 comments on commit 79d348d

Please sign in to comment.