Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field label

Field content

event

Purchase

email

Email address of the profile

orderid

Id of the order

products

id

Id of the purchased product

quantity

Quantity of the purchased product

Please note: the product id in the event needs to correspond with the SKU of the product in Squeezely!

...

  1. Are there multiple languages used on the website? → then also send language in the product array

  2. 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.

Expand
titleWhich data fields can I send in the event?

An overview of the data fields you can send in the event, can be found here: 📄 Data fields (EN)

Expand
titleWhich data fields are available for the trigger in the datalayer?
  • Activate the trigger on the website (for example in the case of ViewContent; view a product on the website)

  • Click on F12

  • Go to Console

  • Type 'datalayer' and press enter

  • Check in the response which fields are available:

Can't figure it out? Consult a webdeveloper


Expand
titleHow can I send custom data fields in the event?

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.

...