Variables mapped in AT Internet tag but not populated on my website

Silver Contributor
Silver Contributor

Hi all,

 

I set up an AT Internet tag on a website and mapped some variables. All the variables have been added to the data layer.

 

When I check the source code of the website, my variables are in my utag.data but are not populated.

 

Code:

<script type="text/javascript">
			var utag_data =	{"site_name":"586638","site_section":"1","page_section":"transfer_dsb","page_category":"","page_subcategory":"","page_name":"transfer_dsb","page_type":"","env_type":"qa","language":"2","customer_id":"353","car_type":"","customer_firstname":"","customer_lastname":"","email_address":"","phone_number":"","city":""};
  			</script>
			
			<script type="text/javascript">
			    (function(a,b,c,d){
			    a='//tags.tiqcdn.com/utag/totalms/middleeast-total/qa/utag.js';
			    b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=true;
			    a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a);
			    })();
			</script>
 

I can't understand why. Maybe some of you will have an idea?

 

Best regards,

Alice

9 REPLIES 9

Variables mapped in AT Internet tag but not populated on my website

Tealium Expert
Tealium Expert

Hello @alicehenot,

 

Are you using extensions to set the values to data layer or data is set on the page in utag_data object as shown in your post below?

 

If the values are not shown for the variables set through extensions, following is my suggetion to check if value is set on the correct variable depending on the scope of the extension.

 

PreLoader scope: references utag_data. Only here should you be adding data to this object. utag_data is only read once during initial utag.js execution and on an SPA page would only be read once initially when your app loads. On route changes this object is not read.

DOMReady scope: Here you can reference utag.data
All Tags or Individual Tags scope: Before or After Load Rules: b object

 

Hope this helps.

 

Thanks & Regards

Abraham

Thanks & Regards
--------------------------------------------------
Abraham Easo
Principal Consultant
Numeric Analytics, LLC
Bartlett, IL (CST)
m: 980-422-2044
Abraham.Easo@numericanalytics.com | http://www.numericanalytics.com
Adobe Analytics Architect/Tealium Expert/Ensighten/Google Analytics Certified

Variables mapped in AT Internet tag but not populated on my website

Silver Contributor
Silver Contributor

Hello @abrahameaso,

Thanks for your reply.
My data are indeed set on the page in utag_data object wihout using any extension.

Variables mapped in AT Internet tag but not populated on my website

Moderator
Moderator

Hey @alicehenot. If you liked it maybe you should have put a ring, I mean an accepted solution, on it?

#winkwink

#teehee

If you liked it then you should have put a kudo on it!

Variables mapped in AT Internet tag but not populated on my website

Employee Emeritus

@tamedbeast!!!! <sigh>

 

Sorry @alicehenot. Our little mascot can get a little carried away sometimes. Let us know if you have any other questions. We are here to help. 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

Variables mapped in AT Internet tag but not populated on my website

Silver Contributor
Silver Contributor
Hi @tamedbeast! Yes for sure, would keep that in mind!

However I haven't solutioned my issue yet, as my variables are not set through extensions so I can't applied the suggested solution.

Still investigating!

Variables mapped in AT Internet tag but not populated on my website

Tealium Expert
Tealium Expert

Hello @alicehenot,

Thanks for clarifying.

I hope you have created data element for each utag_data object data layer variable under "Data Layer" tab with data type as UDO variable. Also mapped that data layer variables in the AT tag "Data Mappings" section.

Let me know if this is already done and still you are facing issues in seeing data in the AT tag triggered

Thanks
Abraham

Thanks & Regards
--------------------------------------------------
Abraham Easo
Principal Consultant
Numeric Analytics, LLC
Bartlett, IL (CST)
m: 980-422-2044
Abraham.Easo@numericanalytics.com | http://www.numericanalytics.com
Adobe Analytics Architect/Tealium Expert/Ensighten/Google Analytics Certified

Variables mapped in AT Internet tag but not populated on my website

Silver Contributor
Silver Contributor

Yep, I created all my variables and added them to the data layer under the datalayer section.
They are all UDO variables.

Then I mapped them in my AT Internet under the tag section.

As you can see in the piece of code I share, extracted from the source code of the website, the variables are called by Tealium, but not populated.

I can't understand where in the process I missed a step...

Thanks @abrahameaso!

Variables mapped in AT Internet tag but not populated on my website

Tealium Expert
Tealium Expert

Hello alicehenot

 

May be something got fixed:), I had a chance to test the utag code provided on test site and glad that i was able to notice some of the data passed in the tealium data layer. for Eg. page name, level2, language data in the reqest sent from the browser. Here is a screenshot with variables showing values. 

 

Hope this helps. 

AT Internet Smart tag.png

 

AT Internet Smart tag.png

 

 

Thanks & Regards
--------------------------------------------------
Abraham Easo
Principal Consultant
Numeric Analytics, LLC
Bartlett, IL (CST)
m: 980-422-2044
Abraham.Easo@numericanalytics.com | http://www.numericanalytics.com
Adobe Analytics Architect/Tealium Expert/Ensighten/Google Analytics Certified

Variables mapped in AT Internet tag but not populated on my website

Bronze Contributor
Bronze Contributor
I need  help in data mapping of our angular app "product_name" and "product_category" variables that I'm passing tealium.view() method. I tried mapping it to many AT internet vars like cprodname,_ccat, custom variables etc but I'm not able to successfully get the data through.
 
But if I'm passing the "page_name","page_category" to page.title, page.chapter1 etc I'm able to successfully pass the data through and I can view the same in At Internet's explorer too.
 
Why is that happening? Please kindly help me to pass "product_name" either to a custom variable or predefined vars like _cprodname etc.
Public