Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor
We have different teams in the organization who request tags, and others who implement them in Tealium. We need a way of exporting all current tags, rules and extensions of a profile into csv (or even PDF) so that the product teams can audit them and tell the implementation teams what's still needed and what's not. The only current way I could find is taking screenshots, which is a very tedious and time consuming task, as you need to expand each tag separately to see its rules. There must be a better way, right ?
25 REPLIES 25

Is there any way to export the list of tags, rules and extensions as CSV ?

Employee Emeritus

Hi Matias,

 

There isn't an official method to do this but you can use this bookmark at your own risk:

1. Add any bookmark to your browser

2. Replace the URL with the following code:

 

javascript:%28function%28a%29%7Bif%28typeof utui.util.profileExporter%3D%3D%3D"undefined"%29%7Ba%3Ddocument.createElement%28"SCRIPT"%29%3Ba.type%3D"text/javascript"%3Ba.src%3D"//tags.tiqcdn.com/utag/simon-test/utils/dev/utag.1.js%3Fv%3D"+Math.random%28%29%3Bdocument.getElementsByTagName%28"head"%29%5B0%5D.appendChild%28a%29%7Delse if%28typeof tagStatusChecker%21%3D%3D"undefined"%29%7Butui.util.profileExporter.init%28%29%28%29%7D%7D%29%28%29

 

It will allow you to export most things as you require. Hope this helps! Thanks, Roshan

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor
Wow, that's great! I get a few undefined variables for the load rules (seems to be only for the ones in libraries), but other than that working great. It would be good if it had an option to have all in one hierarchical file. When do we expect this extension to be included in Tealium ?

Is there any way to export the list of tags, rules and extensions as CSV ?

Tealium Employee

Hi Matias,

I wrote that bookmark so thanks for the feedback I will take a look at those undefined's. I recently ported this over to a Tealium Tool, which is where I will be making all future updates.

 

(https://goo.gl/5WpFxs)

 

Here is the JSON to add the tool:

 

{
id: "profile_exporter",
title: "Profile Exporter",
description: "",
scripts: {
_profileExport: {
title: "Profile Exporter",
auto_inject: true,
js: "https://solutions.tealium.net/hosted/tealiumTools/profile_exporter/pageCode.js",
template: "https://solutions.tealium.net/hosted/tealiumTools/profile_exporter/ui.html",
remote_js: true,
remote_template: true
}
}
}

 

Please let me know if you have any questions or suggestions.

Is there any way to export the list of tags, rules and extensions as CSV ?

Gold Contributor
Gold Contributor
This is brilliant. Thank you.
If I have seen further it is by standing on the shoulders of giants

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor
Is it possible to also get any of the Extension data, for example jQuery Selectors for jQuery onHandler exensions?

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

@simon_browning I tried to import your json to the custom tool but it said "invalid" json.

Is there any way to export the list of tags, rules and extensions as CSV ?

Tealium Employee

Hi @cchiang please try the url instead. http://solutions.tealium.net/hosted/tealiumTools/profile_exporter/profile_exporter.json

 

The formatting seems to have been corrupted on the post.

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

@simon_browning it works! thanks1 :)

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

Just made use of this too.

Works out-the-box. Great work, @simon_browning

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

Works quite nicely. Unfortunately it does not export Audiencestream attributes. Is there a management API I can suck it out of ?

Is there any way to export the list of tags, rules and extensions as CSV ?

Employee Emeritus

Great question @mannbarry_rm. I know of a way for connector/action configs but not quite sure about the attributes part. Let me see if I can find you an answer. 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

In the  network tab it is possible to extract a JSON file 

 

method : filter chrome network tab by "profile" , look at profile?utk=xxxxxx  whilst using the UDH UI. 

 

The contents of the object are used to assemble the page.  audience rdirect abandon obfuscatred.png

Is there any way to export the list of tags, rules and extensions as CSV ?

Employee Emeritus

Hello again @mannbarry_rm. That was the method that I was going to recommend. Great job! Let me know if you have any other questions. 


@mannbarry_rm wrote:

In the  network tab it is possible to extract a JSON file 

 

method : filter chrome network tab by "profile" , look at profile?utk=xxxxxx  whilst using the UDH UI. 

 

The contents of the object are used to assemble the page.  audience rdirect abandon obfuscatred.png


 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor
In the end I was supplied with the output of a (Tealium Internal) greasemonkey script, which gives me all 1000+ attributes in a text file. This will form the basis of my data dictionary!

Is there any way to export the list of tags, rules and extensions as CSV ?

Employee Emeritus

Indeed @mannbarry_rm. Let me know if you have any other questions. 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

For the life of me I can't figure out how to add this tool.

The posts above seem to indicate that you add it to the Tools section of Tealium Web Companion but I don't see how this can be done. There is no "Add Tool" option that I see.

 

Can someone please explain this to me?

 

I also tried the instructions below but don't explain how to bring up the tool.

https://community.tealiumiq.com/t5/iQ-Tag-Management/Tealium-Tool-Tag-Variables-Exporter/ta-p/17285

 

Ali

Is there any way to export the list of tags, rules and extensions as CSV ?

Employee Emeritus

Hello @ali_maleki. My apologies for the confusion. Please try the instructions found the Tealium Tools Chrome Extension

 

The Tags Variables Exporter is considered one of our Custom Tools. You will need to copy and paste the JSON URL into the Tealium Tools Chrome Extension. Hope this makes sense. Let me know if it does not!

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

Thanks for the help Kathleen!

 

For some reason I thought Tealium Tools was the same thing as Tealium Web Companion and was trying to add it there - and going crazy in the process!

Is there any way to export the list of tags, rules and extensions as CSV ?

Employee Emeritus

My pleasure @ali_maleki! Let us know if you have any further questions.

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

Excellent work @simon_browning! Thanks for this.

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

Hi @simon_browning 

This tool does almost everything I need in this case. 

The only thing is missing or I have not workout a way to do so Is how to know the relationships between a tag and an extension.

Is this even possoble? 

Thank you

Gabriel

Is there any way to export the list of tags, rules and extensions as CSV ?

Tealium Employee
Hi Gabriel,

I'm glad to hear that you are getting use out of the tool.

When you export the extensions there is a scope column that will tell you the tag it is linked too or did you need additional information?

Is there any way to export the list of tags, rules and extensions as CSV ?

Bronze Contributor
Bronze Contributor

Thank @simon_browning 

Now I'm wondering if there is an options to get a report of all the loading conditions for the loading rules.

Is there any way to export the list of tags, rules and extensions as CSV ?

Tealium Employee

Hi @glozano I actually wrote a different tool that grabs the load rules for tags across all profiles.

https://solutions.tealium.net/hosted/tealiumTools/tag_audit_loadrule/tag_audit_loadrule.json

Public