Comment on page
Downstream Data Flow
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:
- 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
- 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:
- 2.You can call it "Ninetailed Experience" or "has seen Ninetailed Experience"
- 3.Select a trigger type. Choose "custom event"
nt_experienceas 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_experienceevent. 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.