What the data layer does
The data layer is a standardised way to pass information about your user’s activity between different web applications. It uses a JavaScript object in the browser to expose details about what your users are doing in realtime, meaning different software applications can listen and react to data across different sources.
To use this data typically a Tag Manager (such as Google Tag Manager) is used to pass data variables between different sources, for example preezie journeys can pass information directly into your Google Analytics.
When switched on, preezie passes journey activity details in realtime to your website’s data layer.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
If you haven’t already get in touch with your Customer Success representative or email support@preezie.com to turn on the data layer for your account! |
What it can be used for
Tag manager support
...
Data variable | example | Description | |||
---|---|---|---|---|---|
preezie.trigger |
| how the preezie journey was triggered | |||
preezie.page |
| the page url the journey was triggered on.answer |
| the question number and answer to the question | |
preezie.duration |
| how many seconds the user took to answer the question | |||
preezie.question |
| the question number and the full question text | |||
preezie.ref |
| the question short name | |||
preezie.visitorId |
| the visitor’s device id | |||
preezie.workflow |
| the name of the journey loaded | |||
preezie.workflowId |
| the id of the journey loaded | preezie.ref |
| The short name of the question |
Anchor | ||||
---|---|---|---|---|
|
...
This event is fired when the journey is completed and the product results are seen.
...
Tag Manager Method
...
GTM
preezie.completed
Tealium
<coming soon>
Adobe Tag Manager
<coming soon>
Data variable | example | Description |
---|---|---|
preezie.trigger |
| how the preezie journey was triggered |
preezie.visitorId |
| the visitor’s device id |
preezie.workflow |
| the name of the journey loadedcompleted |
preezie.workflowId |
| the id of the journey loadedcompleted |
Anchor | ||||
---|---|---|---|---|
|
event name: preezie.completedresults
This event is fired when each answer is clicked through in a preezie journey. It will fire each time the answer is clicked, even if they go back to change their answer.
Tag Manager Method
Event name
Data variable | example | Description |
---|---|---|
preezie.product | the name of the arrray containing all product results |
Tealium
<coming soon>
Adobe Tag Manager
<coming soon>
Data variable | example | Description. |
---|---|---|
unique |
| the |
name |
| the visitor’s device id |
position |
| the name of the journey loaded |
price |
| the id of the journey loaded |
+ any field attribute with Appears in Stats set to True in Database > Product attributes |
| These will always be text string values. All field names are lowercase and use _ in place of spaces, e.g. dress_length |
preezie.trigger |
| how the preezie journey was triggered |
preezie.visitorId |
| the visitor’s device id |
preezie.workflow |
| the name of the journey loadedcompleted |
preezie.workflowId |
| the id of the journey loadedcompleted |
Anchor | ||||
---|---|---|---|---|
|
...