Update index.html

This commit is contained in:
Daniel LaForce 2024-08-02 13:53:49 -06:00
parent 87be10cf88
commit 4944554ef1
1 changed files with 28 additions and 21 deletions

View File

@ -43,13 +43,20 @@
cursor: pointer;
}
</style>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CC1B9CQ691"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CC1B9CQ691');
function trackButtonClick(label) {
gtag('event', 'click', {
'event_category': 'Button',
'event_label': label
});
}
</script>
</head>
<body>
@ -61,8 +68,8 @@
<iframe src="https://www.gaiagps.com/public/VVXcZPvEfvAbvRWi5F0DQPNT/?embed=True" style="border:none; overflow-y: hidden; background-color:white; flex: 1;"></iframe>
</div>
<div class="buttons">
<button onclick="window.location.href='https://rebrand.ly/csmsgoogle'">View on Google Maps</button>
<button onclick="window.location.href='https://rebrand.ly/csmsgaia'">View on Gaia GPS</button>
<button onclick="trackButtonClick('Google Maps'); window.location.href='https://rebrand.ly/csmsgoogle'">View on Google Maps</button>
<button onclick="trackButtonClick('Gaia GPS'); window.location.href='https://rebrand.ly/csmsgaia'">View on Gaia GPS</button>
</div>
<div data-netlify-deploy-id="66ad3357ef8ab60008fe7cdb" data-netlify-site-id="d4c63ad8-dc16-4a45-a20f-aa2b8ba2eb40" data-vcs="github" style="position:fixed">
<script async src="/.netlify/scripts/cdp"></script>