mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-22 02:00:40 +00:00
Added support for GA4 rather than UA
This commit is contained in:
parent
f0d163adbf
commit
d5a8f6c410
1 changed files with 9 additions and 0 deletions
9
_includes/google_analytics.html
Normal file
9
_includes/google_analytics.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YL02TRV3C8"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-YL02TRV3C8');
|
||||||
|
</script>
|
Loading…
Reference in a new issue