Activate Smart Tracking is a feature in Spotler Activate that the automaticly reads events in the Enhanced Ecommerce Datalayer. When Enhanced Ecommerce is part of your website, you can by Base Tracking implement automatically activate Smart Tracking of events.
Smart tracking is a standardized function and suitable for a basic setup of Spotler Activate. It measures all or nothing. Smart tracking is less suitable for your Spotler Activate account when:
- If you want to expand in the future.
- You have a custom data layer. Your datalayer is not an exact match with the Google syntax? Smart tracking does not allow you to make a selection, so a custom implementation with GTM makes more sense.
If Smart Tracking is not suitable for you, please consider using our more advanced import sheet.
Set up smart tracking
The Smart Tracking needs to be activated in Spotler Activate by our support before the Base Tracking is implemented.
By activating Smart Tracking, the following events are automatically received in Spotler Activate: PageView, ViewContent, AddToCart, RemoveFromCart, PrePurchase, Purchase
The email fields needs to be added
The field email is not part of the Smart Tracking fields. However, for the implementation of the Purchase this field is mandatory. The field can be added in the following two ways:
Extra property in enhanced Ecommerce
To include the email field in the Smart Tracking events, an additional component can be added to Enhanced Ecommerce. In the Enhanced Ecommerce datalayer the following property should be added: ecommerce.purchase.profile.email
Spotler Activate can read this property and add it to the event. If desired, this can also be done for the firstname and lastname fields.
Custom event with Google Tag Manager
To redirect the field email, a custom event can be created with Google Tag Manager. This event should be triggered in the events where normally the field 'email' would be sent (like PrePurchase and Purchase).
You can call the event for example Email and additional fields such as service consent.
Learn more about implementing custom events and additional data fields.
Available data fields
With Smart Tracking, the following fields are sent along per event:
Event | Fields |
---|---|
ViewContent |
Product array with: id name price quantity |
AddToCart |
Currency Product array with: id name price quantity |
PrePurchase |
Product array with: id name price quantity Note: email is not part of the Smart Tracking. |
Purchase |
orderid firstname lastname Product array with : id name price quantity Note: email is not part of the Smart Tracking. |
Additional fields
It is not possible to send extra fields from Enhanced Ecommerce. To send extra fields with interactions, there are two options:
- All fields via GTM: deactivate Smart Tracking and send the event via custom Tracking
- Additional fields via GTM: implement an additional event at the time of interaction with custom Tracking