I'm using the plugin "Google Analytics (gtag.js) v1.1.0, no trouble there, it's tracking properly. Seems like the most natural thing to want the form submission to trigger an Analytics goal/event. What's the most straightforward way here? Can I call the plugin directly via an additional line after "process:" in my contact page?
I see that I could use the "redirect:" parameter to send them to a different page, and call that a goal in GA, that's one option.
It would be excellent if there were already a Custom Action in the Google Analytics plugin. It seems like onOutputGenerated() might be this, but I'm unsure how to glue it together or if that's the intent.
Ideas? The sweetest would be something like
googleAnalyticsEvent:
tagname: 'emailsent'