How can I set up JavaScript with ? I have script with I was thinking that using Tealium Custom Container, but it does not work. Does any one have good idea?

Bronze Contributor
Bronze Contributor
<script type="text/javascript" src="//domain/javascript.js?xxx_some_ID"></script>
5 REPLIES 5

How can I set up JavaScript with ? I have script with I was thinking that using Tealium Custom Container, but it does not work. Does any one have good idea?

Tealium Employee
Hi, I think what you want is to set up a Tealium Generic Tag. Set the type to Script, put the src url into HTTP URL and then if you want to send a static parameter after the question mark, put the details into "Static Params" (In this example, you'd just put xxx_some_id) However if you want to map dynamic variables to the tag, as long as you have the variables set up as a data source in the data layer, you can press Edit on Mapped Data Sources, select your data source (user_id, for example) and press "select destination" You will receive a warning message saying "There is no toolbox available for this vendor" - just press Apply and then you can type in the destination. I hope that makes sense. Steve Lake
Connecting data systems since the 1980s.

How can I set up JavaScript with ? I have script with I was thinking that using Tealium Custom Container, but it does not work. Does any one have good idea?

Employee Emeritus
this series of posts on how to use the various Tealium custom tags might help: https://community.tealiumiq.com/series/13850-how-to-use-tealium-iq-custom-tags

How can I set up JavaScript with ? I have script with I was thinking that using Tealium Custom Container, but it does not work. Does any one have good idea?

Bronze Contributor
Bronze Contributor
Thank you for the suggestion, Steve and Clint I just tried to use Tealium Generic Tag and put URL with JavaScript. Then, basic url and script part has worked. However the parameter part does not recognized although I put static parameter on "Static Params" box. For the parameter, it is static, but it only have "value" part. So, it is not like: javascript.js?id=xxxx but it is like: javascript.js?xxxx I tried to put: xxxx (itself) ?xxxxx (add question mark ahead) =xxxxx (just add equal sign) ?=xxxxx (add question mark as parameter name) id=xxxxx (id is really "id" as temporary) but non of above work. Is there any other setting required? I tried to check past post from forum where Clint suggested, but it was not there. (Just I couldn't find?) Do you have any idea?

How can I set up JavaScript with ? I have script with I was thinking that using Tealium Custom Container, but it does not work. Does any one have good idea?

Tealium Employee
You should just be able to put the URL in to HTTP URL, so //www.domain.com/javascript.js and then in Static Params just put: xxxx_some_id That will result in a call to: http://www.domain.com/javascript.js?xxxx_some_id I've just tested it on my account and that should be all that you need to do. Many thanks
Connecting data systems since the 1980s.

How can I set up JavaScript with ? I have script with I was thinking that using Tealium Custom Container, but it does not work. Does any one have good idea?

Bronze Contributor
Bronze Contributor
hi, Steve Thank you so much for the advise. It finally identify the script. (yet I still have different problem but it is different story from this issue) It was totally caused by my stupidity that I saved info. but forgot to published setting. I really appreciate for your advise!
Public