feat: analytics code rendering
This commit is contained in:
10
server/modules/analytics/google/code.yml
Normal file
10
server/modules/analytics/google/code.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
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>
|
Reference in New Issue
Block a user