Hi,
We have a simple form in one of our Wix pages and I wanted to track in Google Analytics whenever the form is submitted. I would want the event tracking in the javascript code using corvid API, is this possible or can I only do this through Google Tag Manager? Can anyone help me with this? Thank you!
Hi!
You can definitely accomplish this with Corvid. You’d first need to connect your site to your analytics tool by following the instructions here .
Then you’d be able to add a custom tracking event using our trackEvent() API. This would allow you to track the submit button on your form for example.
There’s also an article with step-by-step instructions you can use as reference.
https://support.wix.com/en/article/corvid-tutorial-sending-tracking-and-analytics-events
Hope this works for you!
Best regards,
Miguel
Hi Miguel!
Thank you so much for your reply! We have paused the project and will be resuming next month. Apologies for the late reply.
Anyway, I wanted to add onClick event for the submit button in the form however it shows it is limited to certain events only (onViewportEnter, onViewportLeave, onMouseIn, on MouseOut) and I’ve tried creating custom event code for this specific button however I keep getting an error. Also, is it possible to track using trackEvent() only after the form has been successfully submitted?
Thank you!
Regards,
Jess