Commit 6a31778a61210232b4b264688eb2cb4629507669
1 parent
be12ad11
tag manager google seo
Showing
2 changed files
with
8 additions
and
0 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -88,6 +88,12 @@ ga('send', 'pageview'); | @@ -88,6 +88,12 @@ ga('send', 'pageview'); | ||
88 | <link rel="shortcut icon" href="<?= Yii::$app->request->baseUrl ?>/img/favicon.ico" type="image/x-icon"/> | 88 | <link rel="shortcut icon" href="<?= Yii::$app->request->baseUrl ?>/img/favicon.ico" type="image/x-icon"/> |
89 | <?= HreflangWidget::widget ([]) ?> | 89 | <?= HreflangWidget::widget ([]) ?> |
90 | <?php $this->head () ?> | 90 | <?php $this->head () ?> |
91 | + | ||
92 | + <!-- SOCIAL ICON --> | ||
93 | + <script type="text/javascript" src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js" charset="utf-8"></script> | ||
94 | + <script type="text/javascript" src="//yastatic.net/share2/share.js" charset="utf-8"></script> | ||
95 | + <!-- SOCIAL ICON --> | ||
96 | + | ||
91 | </head> | 97 | </head> |
92 | <body> | 98 | <body> |
93 | <!-- Google Tag Manager --> | 99 | <!-- Google Tag Manager --> |
@@ -99,6 +105,7 @@ ga('send', 'pageview'); | @@ -99,6 +105,7 @@ ga('send', 'pageview'); | ||
99 | '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | 105 | '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); |
100 | })(window,document,'script','dataLayer','GTM-5KPBHP');</script> | 106 | })(window,document,'script','dataLayer','GTM-5KPBHP');</script> |
101 | <!-- End Google Tag Manager --> | 107 | <!-- End Google Tag Manager --> |
108 | + | ||
102 | <?php $this->beginBody () ?> | 109 | <?php $this->beginBody () ?> |
103 | <?= BgWidget::widget () ?> | 110 | <?= BgWidget::widget () ?> |
104 | 111 |
frontend/views/products/_show.php
@@ -103,6 +103,7 @@ $this->registerJs(" | @@ -103,6 +103,7 @@ $this->registerJs(" | ||
103 | <input type='hidden' id='product_id' /> | 103 | <input type='hidden' id='product_id' /> |
104 | <a href="#" rel='product' class="buy fr">Купить</a> | 104 | <a href="#" rel='product' class="buy fr">Купить</a> |
105 | <div class="fl txtfb">цена <span id="cost">0</span> грн</div><div class="both"></div> | 105 | <div class="fl txtfb">цена <span id="cost">0</span> грн</div><div class="both"></div> |
106 | + | ||
106 | </div> | 107 | </div> |
107 | <div class="info"> | 108 | <div class="info"> |
108 | <p class="txtf">Характеристики</p> | 109 | <p class="txtf">Характеристики</p> |