I’d like to be able to monitor how my CTA is performing and for that I usually use Events in google analytics.
But no matter where I try to write my code, events are not recorded.
Can you give me a hint on how to use that OR a different way to monitor my CTA using motopress ?
You can use special plugins like https://wordpress.org/plugins/gravitate-event-tracking/ You should configure plugin, indicate class for event to reacts. Then this class should be applied to element(for example CTA element) via property panel. When button with this class is clicked the event is submitted.
I’ve successfully activated the Gravitate plugin on my WP site. I see that in the presets the classes “gtrack” and “gtrackexternal” are both registered with a “.” in front. Is that something I should apply to my custom tracking (my own classes).
I also wonder, how does the plug in understand which are id’s and which are classes?