- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
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!
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.
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.
Hi @mitchellt. Okay... let me see if I can find someone who can help. Stay tuned...
04-26-2016 05:16 PM - edited 04-26-2016 05:20 PM
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
04-26-2016 08:51 PM - edited 04-26-2016 08:53 PM
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:
Remember to scope the extension to your tags, unless it is for all tags. Hope this answers your question!
Copyright All Rights Reserved © 2008-2023