utag.view data overwritten?

Tealium Expert
Tealium Expert

Hello - here's a newbie question...  our developers updated a page to "fire" utag.view as the page is scrolled past certain points.  That is working, however I never see the values passed in the utag.view call...  the page_name and page_type info.  What do I need to do in my extensions or data layer settings to ensure these values come through and appear in our reports?

 

If you could provide examples or other reference material, that'd be great.

 

Thanks for the help! 

Tealium Expert
5 REPLIES 5

utag.view data overwritten?

Employee Emeritus

Oh @mitchellt. How did I miss this? My sincerest apologies. Do you have the specific page that we can look at? I look forward to your reply.

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.

utag.view data overwritten?

Tealium Expert
Tealium Expert

Thanks for the reply @kathleen_jo, it's on an internal QA server, so I can't provide a link. 

 

Any insight on how I can configure my browser for debug would be great.

Tealium Expert

utag.view data overwritten?

Employee Emeritus

Hi @mitchellt. Okay... let me see if I can find someone who can help. Stay tuned...

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.

utag.view data overwritten?

Employee Emeritus

While we are waiting @mitchellt check out this post for me and tell me if it helps you or not:

 

https://community.tealiumiq.com/t5/uTag/Debugging-utag-view-and-utag-link/ta-p/13695

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.

utag.view data overwritten?

Employee Emeritus

@mitchellt,

 

If you want certain data-sources to be captured in the your utag.view call then you will need to make sure they are defined in your data-object that you are passing in the call itself.

 

For example:

 

utag.view({
  page_name : "foo",
  page_type : "bar",
  event_type : "banner_viewed"
});

Another solution would be to use a Set Data Value Extension, and set the page_name to JS Code utag.data.page_name with some conditions, contingent that you already have page_name defined in your data-layer and you want to use the same value.

 

See below:

 

set_data.png

 

Remember to scope the extension to your tags, unless it is for all tags.  Hope this answers your question!

 

Public