Commit b80c0ed7ac3fb8c28497cfe1cb8dc494a8d78073
1 parent
ad42b66f
ganalitics
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
frontend/views/layouts/main.php
... | ... | @@ -32,7 +32,15 @@ |
32 | 32 | 'type' => 'image/x-icon', |
33 | 33 | 'href' => '/images/favicon.ico', |
34 | 34 | ]);?> |
35 | + <!-- Global site tag (gtag.js) - Google Analytics --> | |
36 | + <script async src="https://www.googletagmanager.com/gtag/js?id=UA-112537754-1"></script> | |
37 | + <script> | |
38 | + window.dataLayer = window.dataLayer || []; | |
39 | + function gtag(){dataLayer.push(arguments);} | |
40 | + gtag('js', new Date()); | |
35 | 41 | |
42 | + gtag('config', 'UA-112537754-1'); | |
43 | + </script> | |
36 | 44 | </head> |
37 | 45 | |
38 | 46 | <body onload=" initialize()"> | ... | ... |