- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
07-28-2016 06:27 PM
I've got a scenario where I've got Ajax forms presenting a thank-you message on submission, and the developer has also been able to set a value in utag_data to reflect this (utag_data.leadform = "submit").
In GTM (which is what I'm converting from), you would set up a trigger on that element, and fire a GA event based on that (with for example Event Category = LeadForm and Event Action = Submit).
How do I set up Tealium to listen to the data layer and automatically trigger a GA event when the submit value is pushed into the data layer as you would in GTM?
07-28-2016 07:16 PM
Instead of just setting a value, you'll need to call a function utag.link or utag.view. You can find the documentation here.
07-28-2016 07:45 PM
07-28-2016 08:20 PM
Thanks for the extra info. I would suggest you make use of the jQuery onHandler Extension or following the directions for Event Tracking with Google Analytics.
These two posts will explain everything you need!
Copyright All Rights Reserved © 2008-2023