Andre, First I will answer your question. Second I will suggest a best practice way of doing this. I would suggest the following for this use case. Remove the Tealium Custom Container and paste the code into a JavaScript code extension. Scope this extension to the SiteCatalyst tag. You'll probably need to slightly change the syntax of the first line to be: window.pageModules = function( obj, detail ) {...} In answer to your first question, you will need to use the 'utag.data' object to reference data in your data layer. For example: If you want to pass a value from your data layer into eVar10 using the above function you would use: s.eVar10 = utag.data.some_var Hope that answers your questions. Now I would look at this post: https://community.tealiumiq.com/t5/Tealium-iQ/Event-Tracking-with-SiteCatalyst/ta-p/13643 Here you will be able to define your onClick events directly in Tealium and define the data points you want to pass. Tealium will take care of the heavy lifting for you and you don't need to use all the raw JavaScript Code.
... View more