You can use Google Tag Manager to track button clicks into Google Analytics without needing to modify the code on your website. I’m going to walk you through tracking clicks on a button used in a form, but you can use the same technique for tracking buttons in your navigation, banners, content, and more.
Here’s a brief overview of the steps we’re going to take to track button clicks:
- Find your button
- View the source code
- Enable the variable
- Create a tag
- Create a trigger
- Preview the container
- Check Google Analytics
- Publish the container
Before we begin, here are some things to check: