Learn business growth with Google Analytics 4 Forums Google Analytics 4 Implementing HTML Custom Attributes with Google Tag Manager for Tracking Button Clicks Reply To: Implementing HTML Custom Attributes with Google Tag Manager for Tracking Button Clicks

  • Brooke

    Member
    22 April 2023 at 10:44 pm

    Sure, you can handle this through Google Tag Manager. You’ll need to create a new GA4 event tag that tracks clicks on those buttons. You’ll probably want to use a click Element attribute that captures the unique data attribute of each button. This way, you can easily differentiate between the car model clicks in your analytics. So basically, GTM is your way forward.