- TLC Home Home
- Discussions & Ideas Discussions & Ideas
- Product Guides Product Guides
- Knowledge Base Knowledge Base
- Developer Docs Developer Docs
- Education Education
- Blog TLC Blog
- Support Desk Support Desk
This article provides a high-level overview of the order of operations for AudienceStream and describes how AudienceStream components work together and how AudienceStream works with Tealium iQ Tag Management.
In this article:
To help explain how all the bits and pieces work together within AudienceStream, and even between iQ Tag Management and AudienceStream, this post will discuss the order of operations for events at a high level.
For additional information about the order of operations for the utag.js file, see Order of Operations.
AudienceStream relies on a well-built data layer. This section describes the order of operations and what happens behind the scenes for a Page Load event.
utag_data
object is declared within the site's source code.AudienceStream receives the data layer and initiates the following:
Any visitor-generated event that triggers a utag.link()
or utag.view()
call registers in AudienceStream. These types of events typically occur after the page loads. A variety of configurations are available for executing tags.
For additional information, see Tealium for JavaScript (utag.js).
In the following example, a basic configuration is assumed for a sample call for an Add to Cart button click:
utag.link({tealium_event: "cart_add", product_id: ["PRD123"]});
In the example, the data declared within utag.link()
is the new data layer. Since this event was triggered by a utag.link()
call, the order of operations differs as follows:
utag.link()
call triggers and declares a new data layer.AudienceStream is unique in iQ Tag Management in that it has the ability to determine the end of a session. In the following example, a common Cart Abandoner badge is evaluated at the end of a session, meaning "WHEN" "VISIT ENDED".
The order of events that occur when the session ends are as follows:
Initializing a Trace displays the events occurring in real time. The latest events display at the top. Read the trace report from the bottom up to view the chronological order.
Copyright All Rights Reserved © 2008-2021