Hi,
I set up Google Analytics for my account and it is working just fine.
Now I added a custom event code for a form submission (according to the WIX tutorials) but my Analytics is not receiving it.
I really do not understand why it is not functioning…
The button works, Google Analytics works but the custom event it not being received in Analytics
Any ideas?
PS: I am not using Google Tag Manager and there are no filters in my admin settings in Google Analytics
Your code does not need the last comma (,) on the eventAction line.
Have you gone through the example here?
https://support.wix.com/en/article/corvid-tutorial-sending-tracking-and-analytics-events
Make sure that you have done this part.
Tracking & Analytics Tools
We begin by connecting the desired tracking and analytics tools to our site. Currently, you can send events through code to Google Analytics and Facebook Pixel. To learn how to connect tracking and analytics tools to your site, see About Tracking Tools & Analytics .
Note
Tracking & Analytics requires you to have an account with an external analytics tool and only works with premium sites.
In our example, we’ve connected our site to Google Analytics.
See here for more info on it as well/
https://www.wix.com/corvid/reference/wix-window.html#trackEvent
https://www.wix.com/corvid/reference/wix-window.trackingParameters.html#CustomEvent
Good point, but it still does not work even with the comma removed