AddToCart with Custom Tracking (EN)
The AddToCart event should be triggered when a profile adds a product to the cart on the website.
Minimum
In the event, at least the following is sent:
Please note: the product id in the event needs to correspond with the SKU of the product in Squeezely!
An example of the AddToCart tracking can be found here: https://squeezely.tech/documentation#frontend-addtocart (see Example)
In the following circumstances more fields are required:
Are there multiple languages used on the website? → then also send language in the product array
Is there more than one currency used on the website? → also send currency in the event
Extra
In this event extra data fields from the datalayer can be send along. Tip: send all fields that are available at the trigger in the datalayer and consult with the Squeezely users which extra fields they want to receive in the event.
Check
After the implementation you can check the incoming event with its fields as follows:
Go to Data and scroll to 'Events':
Click on AddToCart
Check if the incoming data corresponds with the tracking
If yes, the event comes in complete
If not, check the implementation