Just want to start off by saying webflow as a tool is awesome.
I created a website with a few buttons, each involving a slightly different pop-up lightbox window. I want to track the button clicks using Google analytics. I have enabled Google analytics for the site (well, the pages in the site). However, when I did some research, I found the link below to enable event tracking for button clicks.
Unfortunately, I am not able to find a way to include “onclick” Google analytics event in ahref without manually changing the underlying code. Not that there is anything wrong with manually changing the underlying code but it is a maintenance nightmare as everytime I change the website using webflow, I have to include the event tracking code manually.
Can you suggest a way to include event tracking code in ahref for buttons / links?