Skip to content

Commit f686f24

Browse files
author
Daniel Arthur Gallagher
committed
Load the tracker script by a script tag
The tag replicates what the previous inline script was doing, but is declared rather than built.
1 parent 85a8b1c commit f686f24

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

index.html

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
});
1414
</script>
1515

16+
<script src="https://secure.gaug.es/track.js" async id="gauges-tracker" data-site-id="4f542216cb25bc2358000006"></script>
17+
1618
<link rel="apple-touch-icon" sizes="57x57" href="icons/apple-icon-57x57.png">
1719
<link rel="apple-touch-icon" sizes="60x60" href="icons/apple-icon-60x60.png">
1820
<link rel="apple-touch-icon" sizes="72x72" href="icons/apple-icon-72x72.png">
@@ -209,18 +211,5 @@ <h2>Quantifiers</h2>
209211
<p>Created by <a href="http://theprogrammingbutler.com" rel="noopener">Hoyt</a> and maintained by <a href="https://github.com/jonmagic/scriptular#contributors" rel="noopener">many</a>. To contribute or report an issue visit <a href="https://github.com/jonmagic/scriptular" rel="noopener">the project on GitHub</a>.</p>
210212
</div>
211213
</div>
212-
213-
<script>
214-
var _gauges = _gauges || [];
215-
(function() {
216-
var t = document.createElement('script');
217-
t.async = true;
218-
t.id = 'gauges-tracker';
219-
t.setAttribute('data-site-id', '4f542216cb25bc2358000006');
220-
t.src = 'https://secure.gaug.es/track.js';
221-
var s = document.getElementsByTagName('script')[0];
222-
s.parentNode.insertBefore(t, s);
223-
})();
224-
</script>
225214
</body>
226215
</html>

0 commit comments

Comments
 (0)