...
The special case of Add-To-Basket
The Add-To-Basket is a special case as it is tracked automatically by the tracker when it is part of the Layout returned by Boxalino API (as in the section How does it work? above), but it can also occur on other parts of the web-site which are not a part of a Boxalino Narrative Layout.
For such cases, it is recommended to tag the add-to-basket with the same classes as described in the above section (bx-basket-add and others), as the Boxalino tracker will automatically detect it even if it is not part of a Boxalino Layout zone.
However, it is also possible to track it as part of the Other events with the event trackAddToBasket.
Doing it with this event over a tag manager will typically generate the add-to-basket event to be triggered sometimes twice (once through the GTM and once through the automated), therefore it is not recommended, however, it will not have any problematic effect as Boxalino automatically detect such duplicated cases in its data processing and can resolve it automatically in its analytics.