-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending feedback to GA through GTM #4
Comments
I love that you're writing about this. It's almost as if we're coming from opposite ends of the analytics implementation spectrum; the more I'm learning to code I understand so much of what's happening in the context of how I used to essentially construct Javascript via the Tag Manager UI, and it seems as if you're having the inverse experience. Thanks for this, I have some thoughts but want to reread later. |
Definitely. And when plugging the ga-feedback widget into a site using GTM, I quickly realized that their submission approach needed to be adapted. GTM's dataLayer object is a nice way to make extra data available to GTM beyond what's attached to the triggering element. In this case, it's a reasonable way to pull a value out of the form being submitted. |
Ah, right. I spec'ed the idea pretty thoroughly in concept, but keep forgetting to do a trial run of implementing. It's the one feature we won't directly be using here at the city, which is why it's been stuck in |
The ga-feedback idea on the roadmap is really interesting. If helpful, here's my writeup of how to send events to GA through GTM.
Steal/improve/ignore as needed :)
The text was updated successfully, but these errors were encountered: