- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
I am trying to use u.addEvent to set a currency event in a set data extension. I see the events fire but the value coming along is "undefined"
the set data extension looks like this
u.addEvent("event38="+b.js_page.order_merchandise_total);
Solved! Go to Solution.
Hi Joe,
The extension you wrote looks correct to me.
What scope if your u.addEvent() function scoped to? It sounds as if the value of b.js_page.order_merchandise_total is not being populated correctly.
If you are using the value in an extension scoped to All Tags or a specific tag you would reference it as:
b['js_page.order_merchandise_total']
If you are using the value in an Extension Scoped to DOM Ready:
utag.data['js_page.order_merchandise_total']
If you are using the value in an Extension Scoped to PreLoader:
utag.data['js_page.order_merchandise_total']
11-07-2017 08:44 AM - last edited on 11-07-2017 09:00 AM by kathleen_jo
Hi @corbinspicer. So I am scoped to just the adobe tag and have it set as follows.
u.addEvent("event38="+b['js_page.order_merchandise_total']);
I see in the image request events: event38=undefined.
Great job @joecbrown!
Copyright All Rights Reserved © 2008-2023