JavaScript-Code Extension

Gold Contributor
Gold Contributor

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

Online since 1995
2 REPLIES 2

JavaScript-Code Extension

Gold Contributor
Gold Contributor
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".
Online since 1995

JavaScript-Code Extension

Employee Emeritus
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
Public