- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
03-01-2018 08:36 AM
Hi Developers. I am trying to capture the Adobe (SiteCatalyst) AppMeasurement version (s.version) value so that I can map it and pass it in a prop with my Adobe Tracking calls. To do this, I set up a UDO variable and an extension, and I've run into trouble setting the value at the correct time/tag scope. If I scope my extension to "All Pages" or "DOM Ready", the "s" object doesn't exist yet, so I get "undefined" as the value. If I scope it to the "SiteCatalyst AppMeasurement for JavaScript" tag, it executes after the variable/prop is mapped, so it's to late at that point. Any suggestions on how to execute the extension just before the "SiteCatalyst AppMeasurement for JavaScript" tag maps it's variables?
Thanks!
Solved! Go to Solution.
03-02-2018 08:36 AM - edited 03-02-2018 08:37 AM
Hi @kbridges, I've not done this exact thing, but it seems to me that if you make this processing part of DoPlugins, you'll be able to solve your timing issue. Search here on this forum for samples. I believe that the gist of it is to set up your work in a function within an extension, then call that function from the DoPlugins section of the Adobe AppMeasurement library tag.
Good Luck - let us know how it goes...
03-05-2018 11:25 AM
Copyright All Rights Reserved © 2008-2023