Highlighted

How to add a script when the vendor tag is not available the marketplace?

Rookie Contributor

Hi, 

Can anyone help me with adding the script to the website that fires on all pages?

That's how the script looks like:

<script>!function(s,a,e,v,n,t,z){if(s.saq)return;n=s.saq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)}.....................and ends with ;saq('ts', 'N7s6kQZzcUeS4PXbw7viGA');</script>

The marketplace doesn't have the vendor tag available, and tried using generic tag too, but no success. I would appreciate if anyone could help me with.

 

Thanks in advance

8 REPLIES 8
Highlighted

How to add a script when the vendor tag is not available the marketplace?

Rookie Contributor

Had a problem with this myself, apparently what you are looking for is to add an "extension" with the javascript type.

Hope this helps!

"Understand that you're feeling like things doesn't make sense"
Inspirobot
Highlighted

How to add a script when the vendor tag is not available the marketplace?

Rookie Contributor
Thanks for your reply. I tried that too but, it increases the number of extensions from (33 to 34) when you check through (web companion tool) but not by its name which is "StackAdapt", how to figure it out if it's implemented or not? Aand I want to run this script on all pages and I do not see any option in the "Scope" from the drop-down menu?

Is there anything I'm missing?
Highlighted

How to add a script when the vendor tag is not available the marketplace?

Rookie Contributor

Hey hey,

I also had difficulty with this, but appeared to fix as soon as I selected "Approve for publish" to my preferred environments. If you're still struggling and need to load with a specific tag then you can simply use: "Specific Tag(s)" to apply your extension to a tag.

"Understand that you're feeling like things doesn't make sense"
Inspirobot
Highlighted

How to add a script when the vendor tag is not available the marketplace?

Bronze Contributor
Bronze Contributor
Maybe you've not published it correctly, it's strange that you can see the number of extensions increase but you can't find it in the list. Are you watching the right list? Maybe you are checking the Tags one.
If you want to check if something is effectively online, you can use the Search tab in the browser Dev Tools and search for the code.

About the "all pages" part: the Scope indicate "when" fire that extension, not "where". Your tags and extension are published in all the pages where the TMS is deployed unless some Condition states differently.
Highlighted

How to add a script when the vendor tag is not available the marketplace?

Tealium Expert
Tealium Expert
Hello @sharyar89 - have you tried the Tealium Custom Container tag? It is an alternative to use when a pre-built integration does not exist. There is a document here which gives some ideas how to use it. it's a special "shell" tag to wrap around your script above. It also will allow you to map data layer elements if needed.
Highlighted

How to add a script when the vendor tag is not available the marketplace?

Rookie Contributor

Hi Mitchellt, 

 

Thanks for the help! but I managed to fix it via generic tag, and now it's firing on all pages. I must say, I couldn't find any HOW to topics and videos regarding such things. I got mixed answers saying use (Extension, Generica Tag, Container) 

Thanks Everyone! For the help and support :)

Highlighted

How to add a script when the vendor tag is not available the marketplace?

Rookie Contributor

It is weird, but somehow I managed to fix it via a generic tag. Thanks for the help :)

How to add a script when the vendor tag is not available the marketplace?

Rookie Contributor

The generic tag did the job :) Thanks mate!