Greetings,
I’m trying to track how many people click on a button using the Enfold theme and google analytics. I’ve tried following a few threads from other enfold users as well as trying the plugin WP Google Analytics Events but have unsuccessful gathering data on the google side of things. Seeing the interface for things is always changing it has proven difficult to find a solutoon to this. The button is located on the link in the private area.
Any insight to solving this would be wonderful,
Thanks
Hey flightdeck,
Thank you for using Enfold.
Did you set up event goals from your analytics dashboard?
// https://support.google.com/analytics/answer/1032415?hl=en
This might help: https://kriesi.at/documentation/enfold/contact-form/#add-on-click-event-to-the-contact-form-submit-button-
Best regards,
Ismael
I will check and see if I setup a goal…
That link you sent for reference seems to be for the contact form. I just want to track a normal button…
Hi,
You can create a script that will apply an onclick attribute to the button. Example:
// https://kriesi.at/support/topic/adwords-conversion-tracking-on-catalogue-links/#post-853121
Best regards,
Ismael
hmm, I tried that but things do not seem to be working.