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 | 88 | <link rel="shortcut icon" href="<?= Yii::$app->request->baseUrl ?>/img/favicon.ico" type="image/x-icon"/> | 
| 89 | 89 | <?= HreflangWidget::widget ([]) ?> | 
| 90 | 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 | 97 | </head> | 
| 92 | 98 | <body> | 
| 93 | 99 | <!-- Google Tag Manager --> | 
| ... | ... | @@ -99,6 +105,7 @@ ga('send', 'pageview'); | 
| 99 | 105 | '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | 
| 100 | 106 | })(window,document,'script','dataLayer','GTM-5KPBHP');</script> | 
| 101 | 107 | <!-- End Google Tag Manager --> | 
| 108 | + | |
| 102 | 109 | <?php $this->beginBody () ?> | 
| 103 | 110 | <?= BgWidget::widget () ?> | 
| 104 | 111 | ... | ... | 
frontend/views/products/_show.php
| ... | ... | @@ -103,6 +103,7 @@ $this->registerJs(" | 
| 103 | 103 | <input type='hidden' id='product_id' /> | 
| 104 | 104 | <a href="#" rel='product' class="buy fr">Купить</a> | 
| 105 | 105 | <div class="fl txtfb">цена <span id="cost">0</span> грн</div><div class="both"></div> | 
| 106 | + | |
| 106 | 107 | </div> | 
| 107 | 108 | <div class="info"> | 
| 108 | 109 | <p class="txtf">Характеристики</p> | ... | ... | 
