update
This commit is contained in:
parent
e7acc7b115
commit
15ee1c942a
|
@ -0,0 +1,2 @@
|
|||
/redirect/google-maps https://www.google.com/maps/d/u/0/viewer?mid=1uaJCMW64w_zwERr9nFcVJchrZdocNbA&ll=39.035283304733184%2C-105.2908042761522&z=14 301
|
||||
/redirect/gaia-gps https://www.gaiagps.com/map/?lat=39.03966489533956&lon=-105.32945964046155&zoom=14&loc=14.0/-105.3120/39.0318&pubLink=VVXcZPvEfvAbvRWi5F0DQPNT&folderId=e810350b-1b3f-49bf-8f67-6a497827f190 301
|
14
index.html
14
index.html
|
@ -72,27 +72,29 @@
|
|||
}
|
||||
|
||||
document.getElementById('gaia-gps-link').addEventListener('click', function(event) {
|
||||
event.preventDefault();
|
||||
const token = generateToken(16);
|
||||
localStorage.setItem('gaiaAccessToken', token);
|
||||
const url = 'gaia-landing.html?token=' + token + '&utm_source=website&utm_medium=button&utm_campaign=map_redirect';
|
||||
const url = 'https://argobox.com/redirect/gaia-gps?token=' + token;
|
||||
gtag('event', 'click', {
|
||||
'event_category': 'Outbound Link',
|
||||
'event_label': 'Gaia GPS',
|
||||
'value': url
|
||||
});
|
||||
this.href = url;
|
||||
window.location.href = url;
|
||||
});
|
||||
|
||||
document.getElementById('google-maps-link').addEventListener('click', function(event) {
|
||||
event.preventDefault();
|
||||
const token = generateToken(16);
|
||||
localStorage.setItem('googleMapsAccessToken', token);
|
||||
const url = 'google-maps-landing.html?token=' + token + '&utm_source=website&utm_medium=button&utm_campaign=map_redirect';
|
||||
const url = 'https://argobox.com/redirect/google-maps?token=' + token;
|
||||
gtag('event', 'click', {
|
||||
'event_category': 'Outbound Link',
|
||||
'event_label': 'Google Maps',
|
||||
'value': url
|
||||
});
|
||||
this.href = url;
|
||||
window.location.href = url;
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -107,8 +109,8 @@
|
|||
<iframe src="https://www.google.com/maps/d/embed?mid=1uaJCMW64w_zwERr9nFcVJchrZdocNbA&ll=39.03966489533956%2C-105.32945964046155&z=14"></iframe>
|
||||
<iframe src="https://www.gaiagps.com/public/VVXcZPvEfvAbvRWi5F0DQPNT/?embed=True" seamless></iframe>
|
||||
<div id="button-container">
|
||||
<a href="#" target="_blank" class="button" id="google-maps-link">View in Google Maps</a>
|
||||
<a href="#" target="_blank" class="button" id="gaia-gps-link">View in Gaia GPS</a>
|
||||
<a href="#" class="button" id="google-maps-link">View in Google Maps</a>
|
||||
<a href="#" class="button" id="gaia-gps-link">View in Gaia GPS</a>
|
||||
</div>
|
||||
<div id="consent-banner">
|
||||
This site uses cookies to improve your experience. By continuing to browse, you accept the use of cookies.
|
||||
|
|
Loading…
Reference in New Issue