Added analytics using gtag.
This commit is contained in:
parent
882c8ecd83
commit
890f178743
1 changed files with 17 additions and 0 deletions
|
|
@ -1,4 +1,21 @@
|
|||
<head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HBS1M2FW9B"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag() { dataLayer.push(arguments); }
|
||||
gtag('js', new Date());
|
||||
gtag('set', 'anonymize_ip', true);
|
||||
gtag('set', 'allow_ad_personalization_signals', false);
|
||||
gtag('set', 'allow_google_signals', false);
|
||||
gtag('config', 'G-HBS1M2FW9B', {
|
||||
anonymize_ip: true,
|
||||
allow_ad_personalization_signals: false,
|
||||
allow_google_signals: false,
|
||||
});
|
||||
</script>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue