I’m currently trying to track events such as Creating a Topic and Replying to an existing one.
I know how GA Events work and I know how to add custom JS code to the head
via Admin→Customize→CSS/HTML→</head>
.
What I still haven’t figured out is what I should listen to, in order to call the event tracking code and send the Event to GA.
I even thought about listening to a click on the button, but that doesn’t seem the right way to do it.
Any thoughts?
Edit: Nevermind, I got it. This topic helped me: https://meta.discourse.org/t/how-to-catch-click-events-within-topic-posting-form-with-jquery/36184