I'm setting up event tracking for a pretty standard, multi-step signup flow, and I'm wondering if there are recommended best practices, or if anyone feels like sharing how they've done it with Snowplow.
Our signup flow happens via Ajax, so I can't just use trackPageView. My initial thought is to use trackStructEvent to track clicks on the 'Submit' buttons at each step of flow. That has the added benefit of tracking how many form errors the user experiences at each step - if they click the same submit n times, they've likely had n-1 form errors. And in the future, if we wanted to record the form data with the click, we could add a custom context to the event.
In general, do people use trackStructEvent for button clicks?
Is there a better way to track progress through the signup flow?
Are there any resources describing best practices here?