When I use my own GA script, how do I send custom events?
I can’t use Unbounce’s inbuilt Google Analytics tracking, because it unfathomably does not let me customize our GA script. I have to use the one deployed via our GTM.
The otherwise well-written Academy page for GA implementation falters on the section titled “Customizing Google Analytics Event Tracking”. It tells me to copy/paste a certain script to every page, but that script doesn’t at all look like something that should just be pasted to every page unaltered. Even if it is, it doesn’t let me know how I can alter that script to put in custom values for the event fields sent to GA. That help section needs multiple clarifications.
Alternatively, I tried to add onclick or onsubmit events, but I don’t see anything in the form interface that lets me access the source code or insert such inline modifications.
I must be missing something. Please point me in the right direction. Thanks!