Downstream Data Flow
Tracking how Experiences are seen across your content to derive insights.
In order to analyze how your Experiences are seen, you can track "has seen Experience" events in your analytics tool of choice. For that, we provide our Google Tag Manager plugin, which lets you forward these events with ease.
In order to track Experience views, make sure to activate the Google Tag Manager plugin in your SDK.
This guide assumes that you are already familiar with GTM and have set up a container in your frontend. For more info, check out the GTM documentation.
To track personalized components or measure experiment results, Google Tag Manager (GTM) requires some data from the data layer. Your triggers can then be set up through the values contained in the data layer.
Variables help you send certain information about the Experience that was seen forward via Google Tag Manager. To setup variables for your website, use the following steps:
- 1.
- 2.Give your variable a name (according to your variable base on the next steps)
- 3.Select a variable type. Your variable type should be the
data layer
- 4.After choosing a variable type, you need to enter a name for the data layer variable field. See our developer section to find out what data layer properties are available
- 5.Save your variable by clicking the save button
A "trigger" can be fired every time an Experience was seen. To set up a trigger for your content, use the following steps:
- 1.
- 2.You can call it "Ninetailed Experience" or "has seen Ninetailed Experience"
- 3.Select a trigger type. Choose "custom event"
- 4.Use
nt_experience
as the event name value - 5.Save your trigger by clicking the save button
To create a tag, follow the steps below:
- 1.Go to the "Tags" section in your Google Tag Manager and create a new Tag
- 2.Choose your tag type depending on where you want to send your data. For example, if you would like to forward data to Google Analytics, choose "Google Analytics: GA4 Event"
- 3.Enter an event name and event parameters. Here, you can now use the variables that you have set up before
- 4.As a trigger, use the Ninetailed event trigger that you have set up before
- 5.Save your Tag by clicking the save button
Ensure that the destinations configured within your tags can receive and report on the data being sent with each
nt_experience
event. For example, Google Analytics 4 requires that you define custom dimensions before you can receive them.Repeat step 3 several times if you would like to forward these events to more destinations.
You can now preview your website using Google Tag Manager's Preview Mode to see that events are triggered correctly. The trigger and tag that you have set up should now fire every time the user sees an Experience.
Last modified 1mo ago