wikijs-fork/server/modules/analytics/google/code.yml

11 lines
356 B
YAML
Raw Permalink Normal View History

2019-06-24 02:57:04 +00:00
head: |
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{propertyTrackingId}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{propertyTrackingId}}');
</script>