how to bundle various 3rd party utag version in a single utag file?

shailesh_gaikwa
Visitor
shailesh_gaikwa

Hi,

 

I have a question about various utag files being loaded on the site.

 

I have few iframes on my home page. Whenever the page is loaded utag.js file gets loaded for various tags i have used in my tealium profile like Doubleclick, facebook etc. Those are loaded for a page and plus one for each iframe which takes the count of total such files to a big number.

 

I have restricted the load rule for iframe condition but still i see upto 27 utag.js files being loaded on the single page due to various numbers of tags used on the site.

 

It was my understanding when we set out to use Tealium that everything was supposed to be able to come down to the user agent over a single tealium request using utag.js, but that’s clearly not the case. If there is any way we can get it to work that way—or even a compromise like keep utag and utag.sync as their own files and then bundle all the 3rd party utag versions into a single utag.3rdparty or something—that would be ideal for page performance.

 

Need a solution over this as many of our major page layouts require 100-200 requests even without ads loading, and Tealium making up 27+ of these seems to be a part of the problem.

3 REPLIES 3

how to bundle various 3rd party utag version in a single utag file?

brian_kranson
Employee Emeritus
brian_kranson

@shailesh_gaikwa

Good question, there are two ways to bundle tags in Tealium iQ.  First just to clarify, at Tealium when we say bundle, we  take all the code from utag.x.js and utag.y.js and add that code to utag.js.  The size of utag.js will grow, however, the number of network requests will be reduced. 

 

So the first way to bundle is to change the "Bundle Tags Loading on All Pages" which you can read more about here:

https://community.tealiumiq.com/t5/Tealium-iQ/Publish-Configurations/ta-p/13632

This setting will bundle all the tags that use the Tealium Default Load rule which will load a tag on all pages.

 

The second way to bundle tags is to change them one tag at a time under their Advanced Settings: "Bundle Flag" 

https://community.tealiumiq.com/t5/Tealium-iQ/Tag-Configuration-Advanced-Settings/ta-p/13600

 

Please let us know if answers your question. 

 

Brian

Highlighted

how to bundle various 3rd party utag version in a single utag file?

shailesh_gaikwa
Visitor
shailesh_gaikwa

Hi @brian_kranson,

 

thanks for the solution.

 

It works and I can see few network calles being minimised because of this.

 

Another query though -  is this affect the tag performance anyhow? or tags linked to events?

 

I am going to check this but thought of having your advise also.

 

Regards,

Shailesh 

how to bundle various 3rd party utag version in a single utag file?

Sreebhashyam
Visitor
Sreebhashyam

If there is a problem with 1 of the tags – will the other tags still load properly when we bundle our tags?