Skip to content

Commit 9da9ac3

Browse files
authored
Update demo.html
1 parent 074c6b4 commit 9da9ac3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Demo/demo.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -638,16 +638,16 @@ <h2>You can customise the animation timing, the selector or even the animation e
638638
<a class="back" href="http://www.thepetedesign.com/#design">Back to The Pete Design</a>
639639
<a href="https://github.com/peachananr/onepage-scroll"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
640640
</div>
641+
<!-- Global site tag (gtag.js) - Google Analytics -->
642+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-11278966-3"></script>
641643
<script>
642-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
643-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
644-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
645-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
646-
647-
ga('create', 'UA-11278966-1', 'auto'); // Replace with your property ID.
648-
ga('send', 'pageview');
644+
window.dataLayer = window.dataLayer || [];
645+
function gtag(){dataLayer.push(arguments);}
646+
gtag('js', new Date());
649647

648+
gtag('config', 'UA-11278966-3');
650649
</script>
651650

651+
652652
</body>
653653
</html>

0 commit comments

Comments
 (0)