How can I get the exact number of Tealium tags being fired on a domain via Browser's Console

Bronze Contributor
Bronze Contributor

Hi guys,

I always use the Tealium Web Companion extension to check some of the Tags being loaded on a page. However, I don't trust entirely the numbers the extension gives me because often the number of Extensions running on my profile don't match with the ones that appear on the Web Companion.

What I would like to know if there's any attribute within the 

utag

object that can give me that exact information. The utag object has a lot of attributes that, after looking into the  documentation, I don't know what kind of information they contain.

Do you know any kind of path I could follow within the utag object or another one to get the exact numbers of how many extensions and tealium tags are being loaded on a certain page?
Thank you very much!

2 REPLIES 2

How can I get the exact number of Tealium tags being fired on a domain via Browser's Console

Employee Emeritus
Hi There,
 
Just replying here as well with the same information provided on the support ticket  :-)
 
We don't have a robust way to do it through the console but you can use these commands to verify the tags and extensions status.
Tags:
 
You can use two commands:
1) utag.send
This one will give you the list of tags loaded on the page. 
 
2) utag.loader.cfg
This other will give you the list of tags configured in TiQ. This will show all tags including those not loaded on the page, however, you can verify if they loaded checking their attribute "load".
 
I have an example here:
 
 
A) Here you see Tealium's tags loading in the Network tab. They are UIDs 10, 14 and 19.
B) Here I used "utag.send" command to verify which tags loaded in the console. You can see that they match with the Network tab result.
 
C) Finally, here, I used "utag.loader.cfg" command to verify all the tags configuration. You will notice that I have UID 1 which is defined in TiQ but not loading on the page since its load rule was not satisfied. It can be verified by "load: 0". All the other tags have "load:1"
 
 
Best,
Luciana
 

How can I get the exact number of Tealium tags being fired on a domain via Browser's Console

Employee Emeritus
Hi Bruno,
 
Just updating this post with the information about checking the extensions (same information provided in the support ticket).
 
In order to verify the extensions you can run this command: "utag.handler.cfg_extend".
 
Here is an example and we can see that this command provides a list of the extensions running on the page. You will notice that the  "id" parameter matches the extension UID in TiQ.
It is important to note that this won't include extensions scoped to specific tags. For those, you will need to verify if the tag scoped to the extension is loading but, unfortunately, you won't be able to see them in the console.
 
Actually, I believe this is related to the issue you mentioned at the beginning of the ticket. 
 
"However, I don't trust entirely the numbers the extension gives me because often the number of Extensions running on my profile don't match with the ones that appear on the Web Companion."
 
Could you confirm if the extensions you do not see on the Web Companion are scoped to specific tags? If this is the case, you won't be able to see them on the Web Companion as well. Then, it is not really an issue, it is how the tool works.
 
I would recommend submitting a product idea in our forum to improve Web Companion to also display extensions scoped to specific tags: https://community.tealiumiq.com/t5/Product-Ideas/idb-p/product-ideas.
 
Hope this was helpful!
 
Thanks,
Luciana
Public