Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To enable the GTM integration, log in to CUX and go to Integrations. Find the Google Tag Manager tile and enable integration.

Everything works in an instant. If you have GTM on your page, our script becomes aware of it and collects information straight from the GTM dataLayer.

...

Integration with GTM Enabled. It's just a matter of clicking a switch.

...

To watch a visit that has been tracked by GTM, go to Visits.

  1. Click Open filters.

  2. Scroll to find GTM event section in filters.

  3. Fill the Property and Value fields you want to use in your search.

Important
When entering the Property, make sure to use the same exact name that gets sent to GTM. This is usually the Typically, you would enter an event name that you or your developers use in the JavaScript code of your site. You can naturally refer to the default GTM event names. In the Value field, you can enter wildcards (asterisk symbol “*”) or regular expressions. This helps you to In this way, you can match a wider number of object values and limit the number of conditions you use in your search.

...

You can filter the visit list using more than one event. To do that, click Add another filter event.

...

All you need to do is to enter the visit parameter. To check visits for a particular author, you’ll use the pair book_author and Paulina Walkowiak (the author name). You’ll need to add also a parameter that will limit the recorded visits to just those which played the promo clip to the end. This is represented by event_action and watch to end.

...

Two object properties you can use to find visits that pushed book_author and event_action to the dataLayer.

Tada! The visit list is filtered, and you can watch the recordings to find out why things look the other way you expected. Do they get to see the video? Is the promo code not audible? Is the video cropped wrongly? Go through the list, hit Play, and see for yourself.

...

When CUX code starts on the page, we check if the dataLayer exists. When we find it, we start "listening" to find out all objects that are sent to this particular layer. This helps us be prepared for most of the query parameters you want to use when filtering the visit list. 

If a dataLayer doesn't exist, we'll wait until it's there. This doesn't affect the regular work of our script. If we can't find a dataLayer, we keep working, record the visits, and provide the recordings. In this case, naturally, you won't be able to filter visits using GTM parameters.