updates
This commit is contained in:
parent
f5daf05058
commit
a4af3f4396
@ -1,6 +1,6 @@
|
|||||||
# [bla] tag-manager
|
# [bla] tag-manager
|
||||||
Tag Manager integration for OXID eShop: Google, Matomo and Yandex
|
Tag Manager integration for OXID eShop: Google, Matomo and Yandex
|
||||||
module version 0.2.0 ( 2018-12-03 )
|
module version 0.2.0 ( 2018-12-04 )
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
* [https://github.com/vanilla-thunder/oxid-module-tag-manager/archive/master.zip](https://github.com/vanilla-thunder/oxid-module-tag-manager/archive/master.zip) herunterladen und entpacken
|
* [https://github.com/vanilla-thunder/oxid-module-tag-manager/archive/master.zip](https://github.com/vanilla-thunder/oxid-module-tag-manager/archive/master.zip) herunterladen und entpacken
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# [bla] tag-manager
|
# [bla] tag-manager
|
||||||
Tag Manager integration for OXID eShop: Google, Matomo and Yandex
|
Tag Manager integration for OXID eShop: Google, Matomo and Yandex
|
||||||
module version 0.2.0 ( 2018-12-03 )
|
module version 0.2.0 ( 2018-12-04 )
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
* [https://github.com/vanilla-thunder/oxid-module-tag-manager/archive/master.zip](https://github.com/vanilla-thunder/oxid-module-tag-manager/archive/master.zip) herunterladen und entpacken
|
* [https://github.com/vanilla-thunder/oxid-module-tag-manager/archive/master.zip](https://github.com/vanilla-thunder/oxid-module-tag-manager/archive/master.zip) herunterladen und entpacken
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
[{strip}]
|
||||||
|
[{assign var="_tmProduct" value=$oView->getPrduct()}]
|
||||||
|
[{assign var="_tmCategory" value=$_tmProduct->getCategory()}]
|
||||||
|
[{* assign var="_tmManufacturer" value=$_tmProduct->getManufacturer() *}]
|
||||||
|
[{* setting: [{ $oViewConf->getGTMproductListPerformanceSetting() }] || id: [{$listId}] *}]
|
||||||
|
<script>
|
||||||
|
dataLayer.push({
|
||||||
|
'event':'ee.impression',
|
||||||
|
'eventLabel':'Impression',
|
||||||
|
'ecommerce': {
|
||||||
|
'currencyCode': '[{$currency->name}]',
|
||||||
|
'impressions': [
|
||||||
|
{
|
||||||
|
'name': '[{$_tmProduct->oxarticles__oxtitle->value}]',
|
||||||
|
'id': '[{$_tmProduct->oxarticles__oxartnum->value}]',
|
||||||
|
'price': '[{$_tmProduct->oxarticles__oxprice->value}]',
|
||||||
|
'category': '[{if $_category}][{$_category->getLink()|replace:$oViewConf->getHomeLink():""|rtrim:"/"}][{else}]-[{/if}]',
|
||||||
|
[{if $listId == 'productList' || $listId == 'categoryList'}]
|
||||||
|
[{if $oViewConf->getGTMproductListPerformanceSetting() == "1"}]
|
||||||
|
'list': '[{oxmultilang ident="CATEGORIES"}]',
|
||||||
|
[{elseif $oViewConf->getGTMproductListPerformanceSetting() == "2"}]
|
||||||
|
'list': '[{if $_tmCategory}][{$_tmCategory->getLink()|replace:$oViewConf->getHomeLink():""|rtrim:"/"}][{else}]-[{/if}]',
|
||||||
|
[{/if}]
|
||||||
|
[{else}]
|
||||||
|
'list': '[{$listId|default:$oView->getClassName()}]',
|
||||||
|
[{/if}]
|
||||||
|
'position': [{$smarty.foreach.productlist.iteration}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
[{/strip}]
|
@ -19,7 +19,7 @@ $aModule = [
|
|||||||
'title' => '<strong style="color:#95b900;font-size:125%;">best</strong><strong style="color:#c4ca77;font-size:125%;">life</strong> <strong>Tag Manager</strong>',
|
'title' => '<strong style="color:#95b900;font-size:125%;">best</strong><strong style="color:#c4ca77;font-size:125%;">life</strong> <strong>Tag Manager</strong>',
|
||||||
'description' => 'Tag Manager integration for OXID eShop: Google, Matomo and Yandex',
|
'description' => 'Tag Manager integration for OXID eShop: Google, Matomo and Yandex',
|
||||||
'thumbnail' => '../bestlife.png',
|
'thumbnail' => '../bestlife.png',
|
||||||
'version' => '0.2.0 ( 2018-12-03 )',
|
'version' => '0.2.0 ( 2018-12-04 )',
|
||||||
'author' => 'Marat Bedoev, bestlife AG',
|
'author' => 'Marat Bedoev, bestlife AG',
|
||||||
'email' => 'oxid@bestlife.ag',
|
'email' => 'oxid@bestlife.ag',
|
||||||
'url' => 'https://github.com/vanilla-thunder/oxid-module-tag-manager',
|
'url' => 'https://github.com/vanilla-thunder/oxid-module-tag-manager',
|
||||||
@ -85,6 +85,11 @@ $aModule = [
|
|||||||
'block' => 'widget_product_listitem_line_tobasket',
|
'block' => 'widget_product_listitem_line_tobasket',
|
||||||
'file' => '/application/views/blocks/ee/impression.tpl'
|
'file' => '/application/views/blocks/ee/impression.tpl'
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'template' => 'widget/product/boxproduct.tpl',
|
||||||
|
'block' => 'widget_product_boxproduct_price',
|
||||||
|
'file' => '/application/views/blocks/ee/impression.tpl'
|
||||||
|
],
|
||||||
// checkout
|
// checkout
|
||||||
[
|
[
|
||||||
'template' => 'page/checkout/basket.tpl',
|
'template' => 'page/checkout/basket.tpl',
|
||||||
|
Loading…
Reference in New Issue
Block a user