Custom event with Custom Tracking (EN)

A Custom event can be triggered to capture certain behavior of a profile.

Minimum

In the event at least the following is sent:

Field label

Field content

Field label

Field content

event

NameofEvent

You can find an example of the purchase tracking here: https://squeezely.tech/documentation#frontend-custom (see Example)

Extra

In this event extra data fields from the datalayer can be sent 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.

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



  • 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



First you need to create the custom data fields in Squeezely 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:

  • Go to Data and scroll to 'Events':

  • Click on the name of the custom event

  • Check if the incoming data matches with the tracking

    • If yes, the event comes in complete

    • If not, check the implementation