- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
01-06-2015 05:22 AM - last edited on 10-08-2015 09:56 AM by kathleen_jo
Hello,
I am setting up coremetrics.
In my registration process, when the registration is successful,
I want to trigger a registration as well as a conversion event tag. As of now, both are mapped to be triggered based on the value of event_type:
The conversion is launched when i have the value CONVERSION
The registration when the value is REGISTRATION
Can i pass multiple values in my event_type?
i mean something like event_type=['CONVERSION','REGISTRATION']
would this work at all ?
Maybe it is best to throw two separate utag.link()?
one set for the conversion and one for the registration, but they will be thrown both at the same time, on the same click.
Thanks for feedback.
Solved! Go to Solution.
01-07-2015 08:20 AM - last edited on 10-08-2015 09:57 AM by kathleen_jo
Hi Philippe,
I think I remember you from training in London no?
I would call utag.link() twice with the 'event_type' set to different values in each call:
utag.link({event_type:'CONVERSION'});
utag.link({event_type:'REGISTRATION'});
That way - you know all tags are going to support it (e.g. GA can only handle one event at a time even though things like SiteCat can trigger multiple 'events' in the same call).
Sometimes, it makes sense to have a single call and two separate data sources but that's usually an exception for events - I think you're best bet is two calls (if you passed in an array - you'll have a bit of fun trying to work with that in the vendor tag unless it's a pretty powerful tag).
In any case, I'd always strive to tag things up in a vendor agnostic way so everything can handle it nicely.
Hope this helps!
Cheers,
Roshan
01-16-2015 04:28 AM
01-16-2015 06:36 AM
Copyright All Rights Reserved © 2008-2023