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

14 lines
445 B
HTML

<!-- 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>