correct naming in view_search_result

This commit is contained in:
MaxBUhe 2023-08-16 09:38:03 +02:00
parent 0f15df8364
commit 7b1241ab97
1 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@
[{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}]
[{capture assign=d3_ga4_add_to_cart}]
[{capture assign=d3_ga4_view_search_result}]
[{strip}]
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
dataLayer.push({
@ -37,6 +37,6 @@
});
[{/strip}]
[{/capture}]
[{oxscript add=$d3_ga4_add_to_cart}]
[{oxscript add=$d3_ga4_view_search_result}]
[{/if}]
[{/block}]