From 7b1241ab975fbaa13b1616f61851e6b118dce782 Mon Sep 17 00:00:00 2001 From: MaxBUhe Date: Wed, 16 Aug 2023 09:38:03 +0200 Subject: [PATCH] correct naming in view_search_result --- Application/views/ga4/view_search_result.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/views/ga4/view_search_result.tpl b/Application/views/ga4/view_search_result.tpl index 8c9a547..326cee4 100644 --- a/Application/views/ga4/view_search_result.tpl +++ b/Application/views/ga4/view_search_result.tpl @@ -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}] \ No newline at end of file