The PrePurchase event needs to be triggered when a profile on the website is referred to an external payment solution.
Minimum
In the event, at least the following is sent:
Field label | Field content |
---|---|
event | PrePurchase |
Email address of the profile |
You can find an example of the PrePurchase tracking here: https://squeezely.tech/documentation#frontend-prepurchase (see Example)
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.
Expand | ||
---|---|---|
| ||
An overview of the data fields you can send in the event, can be found here: 📄 Data fields (EN) |
Expand | ||
---|---|---|
| ||
❓ Can't figure it out? ➡ Consult a webdeveloper |
Expand | ||
---|---|---|
| ||
First you need to create the custom data fields in Squeezely Create 🛠 Creating custom data fields (EN) 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. |
Check
After the implementation you can check the incoming event with its fields as follows:
...