I am using Buttons and Lightboxes Elemts from the Landkit theme in the classic builder. I was wondering how I could track these button clicks with Google Analytics. Do you have a suggestion? A global JS code would be highly appreciated a specific code that I would need to add is also fine.
Hi, the easiest way is to track CSS classes: https://www.lovesdata.com/blog/google-tag-manager-button-click-tracking
You can also add custom classes to any element:
Thanks, Gabriel! This'll do!