correct naming in view_search_result
This commit is contained in:
parent
0f15df8364
commit
7b1241ab97
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
[{assign var="gtmProducts" value=$oView->getArticleList()}]
|
[{assign var="gtmProducts" value=$oView->getArticleList()}]
|
||||||
|
|
||||||
[{block name="d3_ga4_add_to_cart_block"}]
|
[{block name="d3_ga4_view_search_result_block"}]
|
||||||
[{if $gtmProducts|@count}]
|
[{if $gtmProducts|@count}]
|
||||||
[{capture assign=d3_ga4_add_to_cart}]
|
[{capture assign=d3_ga4_view_search_result}]
|
||||||
[{strip}]
|
[{strip}]
|
||||||
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
|
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
|
||||||
dataLayer.push({
|
dataLayer.push({
|
||||||
@ -37,6 +37,6 @@
|
|||||||
});
|
});
|
||||||
[{/strip}]
|
[{/strip}]
|
||||||
[{/capture}]
|
[{/capture}]
|
||||||
[{oxscript add=$d3_ga4_add_to_cart}]
|
[{oxscript add=$d3_ga4_view_search_result}]
|
||||||
[{/if}]
|
[{/if}]
|
||||||
[{/block}]
|
[{/block}]
|
Loading…
x
Reference in New Issue
Block a user