ViewCategory with Custom Tracking (EN)
The ViewCategory event should be triggered when a profile views a category page on the website.
Minimum
At least the following is sent in the event:
Field label | Field content |
---|---|
event | ViewCategory |
Category id of the viewed page |
Note: the category id in the event needs to correspond with the category id in Squeezely!
An example of the ViewCategory tracking can be found here: https://squeezely.tech/documentation#frontend-viewcategory (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.
Check
After the implementation you can check the incoming event with its fields as follows:
Go to Data and scroll to 'Events':
Click on ViewCategory
Check if the incoming data matches with the tracking
If yes, the event comes in complete
If not, check the implementation