-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Our customer just enabled the Event Tag functionality, but no data is showing in the Tweakwise dashboard "No Clicks Yet: There are no clicks recorded for this builder.".
The customer uses the Hyva module as well, where I just reported another issue.
But it seems that on category pages the analytics are not loaded.
If I take a look at the catalog_category_view.xml file, the analytics.phtml is wrapped inside the "tweakwise.catalog.product.featured.before" block where the featured products configuration is checked ifconfig="tweakwise/recommendations/featured_enabled
Magento2Tweakwise/view/frontend/layout/catalog_category_view.xml
Lines 13 to 28 in d315e41
| <block class="Tweakwise\Magento2Tweakwise\Block\Catalog\Product\ProductList\Featured" | |
| name="tweakwise.catalog.product.featured.before" | |
| ifconfig="tweakwise/recommendations/featured_enabled" | |
| template="Magento_Catalog::product/list/items.phtml"> | |
| <arguments> | |
| <argument name="type" xsi:type="string">new</argument> | |
| </arguments> | |
| <block class="Magento\Catalog\Block\Product\AbstractProduct" | |
| name="tweakwise.catalog.linked.product.list.item" | |
| template="Tweakwise_Magento2Tweakwise::product/list/linked-item.phtml" | |
| ifconfig="tweakwise/merchandising_builder/personal_merchandising/enabled"/> | |
| <block class="Magento\Framework\View\Element\Template" name="magento2tweakwise.analytics" template="Tweakwise_Magento2Tweakwise::analytics.phtml" ifconfig="tweakwise/general/analytics_enabled"> | |
| <arguments> | |
| <argument name="tweakwise_navigation_config" xsi:type="object">Tweakwise\Magento2Tweakwise\Model\NavigationConfig\Category</argument> | |
| </arguments> | |
| </block> |
Shouldn't the analytics be loaded when only the merchandising builder is enabled?
Docs: https://docs.tweakwise.com/reference/magento-adoption-matrix#/event-tag