...
Note |
---|
Note: We have replaced this tracking method with a data layer method, please use this guide instead. |
Why we track
In order to analyse how preezie engaged users behave amongst any of your other website metrics, we recommend adding 2 custom events into your Google Analytics. This allows you to:
...
This tracking works in parallel with your preezie Performance Dashboard in order to deep dive within your own analytics whenever required.
How to set up via a Tag Manager
It is simple to set up using any tag manager software that can listen for to user click events on HTML classes, e.g. Google Tag Manager, Tealium.
...
Anchor | ||||
---|---|---|---|---|
|
GTM: Adding to Google Analytics (Universal Analytics)
You’ll need to create 2 tags with a custom trigger for each.
1a. Tag: preezie journey click
This will track any click on the answers or navigation buttons, the event label can be used in GA to filter/segment on what the user has clicked on, for example GET RESULT!
...
Your new tag set up will look like this:
...
1b. Trigger: preezie journey click
This will fire the above tag whenever the specific HTML classes are seen in GTM’s Data Layer.
...
Once Published, this event in GA will be shown under Action: Journey click with labels matching the text on your preezie buttons. Note, (not set) represents any user clicks to choose an answer or if the question has auto-advance switched on:
...
2a. Tag: preezie results click
This will track which product results the user is clicking on including each product URL. It fires each time they click.
...
*Again, if you can’t see the variable Click URL, then you will need to add it via Variables > Configure > Configure Built-In Variables.
...
2b. Trigger: preezie results click
This will fire the above tag whenever the specific HTML link classes are seen in GTM’s Data Layer.
...
This can then be easily analysed to see which products are popular and how engagement and conversion behaviour occurs over time.
Creating GA segments using preezie
Now you have your clicks tracked, you can create custom Segments to compare user behaviour over time. For example, show me all New users who clicked on a preezie question at least once:
...
These segments will then let you run any GA report comparing these 2 user buckets:
...
Anchor | ||||
---|---|---|---|---|
|
GTM: Adding to Google Analytics (GA4)
GA4 tags can run in parallel with Universal Analytics tags and only requires a change to the tag values.
3a. Tag: preezie journey click
This will track any click on the answers or navigation buttons, the event label can be used in GA to filter/segment on what the user has clicked on, for example GET RESULT!
...
This should look like the below, hit Save:
...
3b. Trigger: preezie journey click
As per the UA version, this will fire the above tag whenever the specific HTML classes are seen in GTM’s Data Layer. Note, these are the exact same trigger values for the UA version so you can just reference that same trigger if you have already created it.
...
This will look like this:
...
4a. Tag: preezie results click
This will track which product results the user is clicking on including each product URL. It fires each time they click.
Field | Value |
---|---|
Tag name | preezie result clicks |
Tag Type | GA4 Tag |
Event Name | journey result click |
Parameter Name | journey_result |
Label* | {{Click URL}} |
...
4b. Trigger: preezie results click
This will fire the above tag whenever the specific HTML link classes are seen in GTM’s Data Layer. It is identical to the UA version, so reuse that trigger if you have already created it.
...
This will look like this:
...
GA: Setting up your events in GA4
We now need to create some custom dimensions in GA4 to recognise your new events.
Note, after publishing in GTM it takes around 24 hours to show custom events in your GA.
Adding the journey clicks
In your GA4 go to Admin > Custom definitions > Create custom dimensions
...
The Event parameter value must match your GTM’s Parameter Name value given in step 3a above. This will look like this:
...
Adding the result clicks
Do the same process as above by clicking Create custom dimensions:
...
You can now publish all of your GTM changes to start tracking events.
Using your events in GA4
To check your events are being recorded go to Admin > Events. Note, you will see a value of (not set) for a custom dimension in the first 48 hours after you’ve created them.
Click through your preezie journeys and change the date range to today, you should see event activity:
...
Explore > Explorations > Dimensions
A useful report to start viewing event data across your other metrics is the Explorations view. Visit Explore > Explorations > choose a report type, e.g. Freeform
...