From bfc2ca8ad6428ae082e22d3a1ac30b5c8763fe9a Mon Sep 17 00:00:00 2001 From: MaxBUhe Date: Wed, 21 Jun 2023 14:19:48 +0200 Subject: [PATCH] adjust view_item_list add categories to ecommerce-DataLayer --- Application/views/ga4/view_item_list.tpl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Application/views/ga4/view_item_list.tpl b/Application/views/ga4/view_item_list.tpl index 04a225f..5900f40 100644 --- a/Application/views/ga4/view_item_list.tpl +++ b/Application/views/ga4/view_item_list.tpl @@ -1,5 +1,6 @@ [{$smarty.block.parent}] [{assign var="gtmProducts" value=$oView->getArticleList()}] +[{assign var="gtmCategory" value=$oView->getActiveCategory()}] [{assign var="breadCrumb" value=''}] @@ -8,12 +9,19 @@