MediaRon / gravity-forms-google-analytics-event-tracking

Use event tracking with Google Analytics
https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/
GNU General Public License v2.0
65 stars 14 forks source link

Event Tracking Doesn't Push to Tag Manager #39

Open ajtatum opened 3 years ago

ajtatum commented 3 years ago

I'm using AJAX forms and when I enable tracking via Tag Manager nothing fires. So, I installed this Chrome Extension to see what was being pushed to the Data Layer and could see that an event called "GFTrackEvent" was being pushed, but I wasn't seeing it in Google Analytics (using Universal Analytics). So, I tried creating a custom trigger in Google Tag Manager with the following configuration:

Trigger: Custom Event with the Event Name "GFTrackEvent" Four Variables: GFTrackAction GFTrackCategory GFTrackLabel GFTrackValue

Tag: image

And when I go through Tag Manager Debug Mode, it never fires.

If I create a generic "Contact Manager Tag" like seen below, it tracks fine in Google Analytics. It would be nice, though, to have it integrated with Gravity Forms so I wouldn't need to create a tag for every form.

image

Let me know your thoughts! I greatly appreciate your help!

Thanks, AJ