Reply
Highlighted
Visitor
Posts: 9
Registered: ‎09-07-2016
Accepted Solution

JavaScript-Code Extension

Hi everybody,

 

I'm trying to do a little testing and debugging and stumbled upon the JavaScript Code-Extension. Before doing more sophisticated things with it, I just wanted it to send a little message. So I set the scope to "All Tags", added no condition and simply put a "console.log('Test');" in the code field. I was expecting it to send the string "Test" to the browser's console but it didn't. Am I missing something or am I using the extension in the wrong way?

 

Thanks and best regards,

 

sangmister

Reply
0 Kudos
Visitor
Posts: 9
Registered: ‎09-07-2016

Re: JavaScript-Code Extension

Sorry - I was a bit too impatient. After a few minutes, it worked. Seems as though functions are not really available right after klicking "save".
Tealium Employee
Posts: 12
Registered: ‎09-01-2015

Re: JavaScript-Code Extension

Any changes you make can take up to 5 minutes to be available in your site. This is due to the Multi-CDN architecture we use at Tealium:

https://community.tealiumiq.com/t5/Getting-Started/The-New-Multi-CDN/ta-p/13701