Why a Tealium Custom Container is not executing code added in the template?

Bronze Contributor
Bronze Contributor

Hi,

 

I created a Tealium Custom Container tag in order to execute a Javascript code in a page. I modified the template and added the code between:

 

	  /* Start Tag Sending Code */
	  

	  console.log("Tag code works");
	  
	  /* End Tag Sending Code */

I check with the Web Companion that the TAG is running OK, however the code is not runinng. Why can this be happening?

 

Thank you

2 REPLIES 2

Why a Tealium Custom Container is not executing code added in the template?

Bronze Contributor
Bronze Contributor

I found the problem. I only save the (profile) template, and the (version) template also should be saved...

Why a Tealium Custom Container is not executing code added in the template?

Employee Emeritus

Miguel,

 

Glad you have found what was going on. Keep in mind that for the custom container tag, it is important to not simply paste in the code provided by your vendor, but to go through the template and place in the necessary code where it applies (i.e. the 'url' for the tag in the 'base_url' portion of u.data, etc.). Good luck!

Public