09-29-2018 01:43 PM
Hi I've used DTM, Ensighten and GTM but I'm new to Tealium and finding it slightly difficult to fire my event tracking. I've added the screenshots below in the following order to be checked by the experts where I've gone wrong and give me some suggestions -
1. jQuert click handler to fire the event on click of a class name 'contact' and then fring tealium_event=contact
2. Load rule when tealium_event='contact'
3. The tag where added the load rule tealium_event='contact'
10-01-2018 10:29 AM
Hi @abkarim
You're logic looks correct. My next suggestion would be debugging. If you are comfortable using browser debugging tools you can leverage the info in the following post:
https://community.tealiumiq.com/t5/JavaScript-utag-js/Debugging-utag-view-and-utag-link/ta-p/13695
Otherwise you should reach out to your Account Manager and have them loop in a Solutions Engineering to help resolve.
Cheers,
-Dan
10-03-2018 02:58 AM
Hi @abkarim,
What you are doing there is firing a Google Analytics (GA) tag only when a visitor clicks on that class. By default a Google Analytics tag will throw a page view.
What I think you want to do is tracking those clicks as an event in GA. In order to do that you need to do a couple of things:
Avoid using tealium_event for this, as it's meant to be a default data layer key that helps distinguishing between views and links.
Hope it helps!
Pablo
10-15-2018 02:24 PM
@abkarim As mentioned, the Google tag should use the "All Pages" load rule, then use data mappings (and sometimes extensions) to track specific events. Check out our knowledge base article on Event Tracking with Google Analytics.