- TLC Home Home
- Forums Forums
- Product Guides Product Guides
- Developer Docs Developer Docs
- Product Ideas Product Ideas
- 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 iQ Tag Management (TiQ).
In this article:
To help explain how all the bits and pieces work together within AudienceStream (AS), and even between Tealium iQ (TiQ) and AS, 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.view({event:"click", action:"add to cart", product_id="id123"});
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:
AudienceStream is unique in TiQ 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-2019