Commit acbc0eb712fb79866cb21dac8bf22d229cec7c6a

Authored by Administrator
1 parent 8f8910bd

big commti

Showing 1 changed file with 12 additions and 3 deletions   Show diff stats
frontend/views/layouts/main.php
... ... @@ -58,12 +58,21 @@ use common\models\Event;
58 58 ga('send', 'pageview');
59 59  
60 60 </script>
61   -
62   -
  61 +
  62 + <!-- Google Tag Manager -->
  63 + <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  64 + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  65 + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  66 + 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  67 + })(window,document,'script','dataLayer','GTM-MWB6PH');</script>
  68 + <!-- End Google Tag Manager -->
63 69 </head>
64 70 <?php $this->beginBody() ?>
65 71 <body>
66   -
  72 + <!-- Google Tag Manager (noscript) -->
  73 + <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MWB6PH"
  74 + height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  75 + <!-- End Google Tag Manager (noscript) -->
67 76  
68 77 <div class="wraper">
69 78 <div class="border">
... ...