- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
02-08-2021 12:50 PM
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?
02-09-2021 12:33 AM - edited 02-09-2021 12:34 AM
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
02-09-2021 06:48 AM
02-10-2021 02:29 AM
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
02-10-2021 06:32 AM
02-10-2021 01:46 PM
02-16-2021 04:52 PM
Copyright All Rights Reserved © 2008-2023