docs/_includes/google-analytics.html

10 lines
358 B
HTML
Raw Permalink Normal View History

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.tracker.google_analytics }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.tracker.google_analytics }}');
</script>