...
The event sends at least the following:
Field label | Field content | |
---|---|---|
event | RemoveFromCart | |
Product id of the product that will be removed from the cart |
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-removefromcart (see Example)
...
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
Additional fields
In this event extra 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.
Expand | ||
---|---|---|
| ||
An overview of the data fields you can send in the event, can be found here: Data fields |
Expand | ||
---|---|---|
| ||
Can't figure it out? Consult a webdeveloper |
...
Expand | ||
---|---|---|
| ||
First you need to create the custom data fields in Squeezely Create custom data fields If the custom data fields are available in the datalayer, you can send them along with the field label: custom_(name of the field). In the case of the custom data field custom_province, for example, custom_province must be sent along. |
...
After the implementation you can check the incoming event with its fields as follows:
Go to Data and scroll to 'Events':
...
Click on RemoveFromCart
Check if the incoming data corresponds with the tracking
If yes, the event comes in complete
If not, check the implementation
...