codeninjasuk.github.io/_includes/analytics-providers/google-universal.html

8 lines
340 B
HTML
Raw Permalink Normal View History

2023-07-18 11:33:33 -04:00
<script>
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','{{ site.analytics.google.tracking_id }}','auto');
ga('set', 'anonymizeIp', {{ site.analytics.google.anonymize_ip | default: false }});
ga('send','pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async></script>