cach-radio/inc/themes/castanet/layouts/partials/google-analytics-ua.html

14 lines
445 B
HTML
Raw Normal View History

2022-12-15 22:36:40 +01:00
<!-- Google Analytics UA -->
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga = window.ga || function() {
(ga.q = ga.q || []).push(arguments)
};
ga.l = +new Date;
ga('create', '{{ .Site.Params.GoogleAnalytics_UA }}', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>