Contents
Using Google Tag Manager to track Button clicks
- Step 1) Find the button you want to track.
- Step 2) Find the source code of the button.
- Step 3) Head over to your Google Tag Manager Account.
- Step 4) Configure your built-in Variable.
- Step 5) Create your specific tag.
- Step 6) Add your event parameters.
How do I add a click event in Google Analytics?
Event tracking using Google Tag Manager
- Log into Google Tag Manager.
- Select “Tags” from the left-hand side.
- Create a new tag and select Universal Analytics as the Tag Type.
- Set your Google Analytics Tracking ID.
- Choose “Event” for the track type.
- Set your Event Category, Action, Label and Values.
Once you’ve created your button, all you need to do is:
- Scroll down to the bottom of the Button editor interface.
- Find the Google Event Tracking for Button Clicks box.
- Turn the Enable Event Tracking toggle on.
How do I track a click in Google Analytics?
Use a single tag to measure clicks
- Click Tags. New.
- Click Tag Configuration. Google Analytics – Universal Analytics.
- Set Track Type to Event.
- Complete the Event Tracking Parameters: Category: Nav. Action: Select.
- Click Triggering and select the trigger that you created in step 3, titled “Trigger – Nav Clicks”.
- Save the tag.
Does WordPress have built in analytics?
WordPress doesn’t come with built-in analytics, so you’ll need to install Google Analytics on your WordPress site. But that can be tricky, especially for beginners. An easier way of connecting Google Analytics with WordPress is through a plugin like MonsterInsights.
How do I track a click button on my website?
- How Google Tag Manager Can Track Clicks.
- Step One: Make Sure Clicks Are Enabled in the Built-In Variables Menu.
- Step 2: Create a Site-Wide Click Trigger.
- Step 3: Learn How Your Website Captures Your Button.
- Step 4: Redefine Your Site Wide Click Trigger.
- Step 5: Add the Trigger to a Tag.
- Step 6: Let’s Make Sure it Works!
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.
How to set up custom events tracking in Google Analytics?
To set up event tracking on that button, we’d make these changes to the above code: Put the link for our button in where it currently says “https://www.example.com”. So, your link might be something like “https://www.yoursite.com/pricing”. Note: Keep the quotation marks in your code!
Where to find Google Analytics tracking code in WordPress?
Once your child theme is active, you’ll need to paste your Google Analytics Tracking Code right before the closing tag in your header.php file. To find your Google Analytics tracking code, go to your account and access your tracking info as we described in the previous method. You can then copy the script from the box under Google Site Tag:
Where do I Find my tracking ID in Google Analytics?
To retrieve your tracking ID, go to your Google Analytics account and click on Admin in the sidebar: The Google Analytics Admin tab Under Property, select Tracking Info, then click on Tracking Code: Accessing the Google Analytics tracking code under the property information