- TLC Home Home
- Discussions & Ideas Discussions & Ideas
- Product Guides Product Guides
- Knowledge Base Knowledge Base
- Developer Docs Developer Docs
- Education Education
- Blog TLC Blog
- Support Desk Support Desk
I currently have a single page architecture form that several utag.link elemets are setting. However, the values for these are not being passed to utag_data objects for mapping to Adobe Analytics. For example, we have utag.link calls for first_name, last_name, retirement_month_year. Once the form is sumitted, the utag.link call sets these elemts, which I can see in the i.gif file under FORM DATA, but the values are not migrated to the utag_data or utag.data elements. Do I need an extension to make this happen?
3 weeks ago - last edited 3 weeks ago
Hi @bmarcus
the utag_data object declared on initial load is not re-purposed when additional tracking calls like .view or .link are called.
Rather the utag.data or the b object are updated according to what is passed in the calls and any extension driven transformations.
Some useful utility functions when working with SPA.
in particular the merge function
Hope that helps.
Gavin
3 weeks ago
3 weeks ago
yes at it's most simple it would look like this
utag.ut.merge(b, utag_data,0);
The extention is conditioned to ut.event == link
3 weeks ago
3 weeks ago
2 weeks ago
Copyright All Rights Reserved © 2008-2021