Econda - Tracking
Now that we have integrated Econda to the website we can start adding the tracking code.
Prerequisites
To add tracking, you should also be familiar with Twig.
To enable Econda tracking for your application, you need to add econda_tracker.twig to the proper page template, for example:
{% include
"@econda/partials/econda_tracker.twig" with {
'content': '/catalog/' ~ ((category is not null) ? category.name ~ '/' : '') ~ product.name,
'product': product,
'category': category
} %}
Checking Your Setup
If your setup is correct you should see outgoing request going to Econda in browser developer tools when you navigate to a page that has tracing code included.
See also:
Last review date: Jul. 12th, 2018