To integrate a Datazoom collector through Tealium’s management interface, the customer should perform the following two steps:
Create a Tealium Generic Tag
Create a Javascript Code Extension (tag scoped to the tag above)
Create a Tealium Generic Tag
Create a Tealium Generic Tag with the following configurations:
Title | A string to represent this tag, for example: |
---|---|
Type |
|
Base URL | The Datazoom SDK URL excluding the query string, for example: |
Query String | The query string of the Datazoom SDK URL, for exampe: |
Request Script Once | Enable (see notes below) |
Bundle Flag | Off (see notes below) |
Use default values for the remaining configuration fields.
Request Script Once - Works only with Script
Type. Enable this feature to request the base script only once. When enabled, the script will be requested once per page load and all subsequent virtual calls will go straight to the callback.
Bundle Flag - Determines if the tag code is bundled into utag.js
. This will reduce the number of server requests.
Create a Javascript Code Extension
Create a Javascript Code Extension (located under the Advanced
tab) with the following configurations:
Title | A string to represent this extension, for example: |
---|---|
Scope |
|
Configuration | Enter Javascript code snippet such as: u.callback = function() { datazoom.createContext(player); datazoom.setMetadata({ test: 123 }); } The code inside Line 2 assumes that the video player instance is stored in a global variable named The calling of |
Comments
0 comments
Article is closed for comments.