Oops, broke the tracking pixel

This commit is contained in:
Jocelyn Badgley (Twipped) 2020-03-05 19:42:29 -08:00
parent cc9519a6b7
commit deed26c2d9
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
(function () {
const me = window.document.currentScript;
const url = me.getAttribute('data-url');
const url = me.getAttribute('data-i-url');
const iOS = !!window.navigator.platform && /iPad|iPhone|iPod/.test(window.navigator.platform);
const vendor = window.navigator.vendor;

View File

@ -49,7 +49,7 @@
<link href="//fonts.googleapis.com/css?family=Roboto:300,400,600" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Gothic+A1:300,400,600" rel="stylesheet">
{{#block "prescripts"}}
<script type="text/javascript" src="{{rev '/js/global.js'}}"></script>
<script type="text/javascript" src="{{rev '/js/global.js'}}" data-i-url="{{#prod}}//t.{{page.domain}}{{/prod}}/i"></script>
{{/block}}
</head>
<body class="{{block 'bodyClass'}}" {{block 'bodyAttributes'}}>