Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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.

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

preezie currently supports the below tag managers:

Tag Manager Method

Event naming

Event listener

Google Tag Manager

preezie.load
preezie.click etc.

Available as Data Layer Variables in GTM

Tealium

prz-data-layer-events

Adobe Tag Manager

<coming soon>

preezie data available

When the data layer is activated for your account you will start firing data events in realtime from all preezie journeys. Here is a full list of the events and data available.

Event name

When it’s fired

Event details

preezie load

upon journey load

link

preezie click

upon each answer click

link

preezie completed

upon finishing the journey

link

preezie results

upon seeing product results

link

preezie result click

upon clicking a product result

link

preezie email

upon submitting an email

link

Event details

preezie load

event name: preezie.load

This event is fired whenever the preezie widget is loaded. It will fire each time the widget is viewed, and for each different method, e.g. embedded, CTA etc.

Data variable

example

Description

preezie.trigger

cta

how the preezie journey was triggered

preezie.page

https://preezie.com/

the page url the journey was triggered on

preezie.visitorId

51c297fd-cbaf-402f-84b6-5a30ceb87ee7

the visitor’s device id

preezie.workflow

retail experiences journey

the name of the journey loaded

preezie.workflowId

8FD4AF3A-3061-4BB3-0618-08D9775347C8

the id of the journey loaded

preezie click

event name: preezie.click

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.

Data variable

example

Description

preezie.trigger

cta

how the preezie journey was triggered

preezie.answer

1. Large

the question number and answer to the question

preezie.duration

2

how many seconds the user took to answer the question

preezie.question

What size are you looking for?

the question number and the full question text

preezie.ref

Tshirt size

the question short name

preezie.visitorId

51c297fd-cbaf-402f-84b6-5a30ceb87ee7

the visitor’s device id

preezie.workflow

retail experiences journey

the name of the journey loaded

preezie.workflowId

8FD4AF3A-3061-4BB3-0618-08D9775347C8

the id of the journey loaded

preezie completed

event name: preezie.completed

This event is fired when the journey is completed and the product results are seen.

Data variable

example

Description

preezie.trigger

cta

how the preezie journey was triggered

preezie.visitorId

51c297fd-cbaf-402f-84b6-5a30ceb87ee7

the visitor’s device id

preezie.workflow

retail experiences journey

the name of the journey completed

preezie.workflowId

8FD4AF3A-3061-4BB3-0618-08D9775347C8

the id of the journey completed

preezie results

event name: preezie.results

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.

Data variable

example

Description

preezie.product

the name of the arrray containing all product results.
Each product is referenced by [0] [1] [2] etc.

unique

retail

the

name

51c297fd-cbaf-402f-84b6-5a30ceb87ee7

the visitor’s device id

position

retail experiences journey

the name of the journey loaded

price

8FD4AF3A-3061-4BB3-0618-08D9775347C8

the id of the journey loaded

+ any field attribute with Appears in Stats set to True in Database > Product attributes

skin_concern: "dry, sensitive"

star_rating: "4.356"

These will always be text string values.

All field names are lowercase and use _ in place of spaces, e.g. dress_length

preezie.trigger

cta

how the preezie journey was triggered

preezie.visitorId

51c297fd-cbaf-402f-84b6-5a30ceb87ee7

the visitor’s device id

preezie.workflow

retail experiences journey

the name of the journey completed

preezie.workflowId

8FD4AF3A-3061-4BB3-0618-08D9775347C8

the id of the journey completed

preezie.resultclick

event name: preezie.resultclick

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.

preezie.email

event name: preezie.email

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.

events coming soon

preezie.addtocart

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.