The event tracking code generator generates tracking code to track clicks on your WordPress website for SEO.
To implement it, you need to add the tracking code to the HTML element people are supposed to click to complete the action.
For example, let’s say you want to track the number of page views and clicks on a link on your homepage that points to the pricing page. The tracking ID for that on your web page might look something like this:
Once you add google analytics tracking code to that link, the HTML code snippet might look something like this:
Log into your Google Analytics and click “Admin” in the sidebar.
Select the correct Google Analytics Account, Property, and View. Then, click “Goals” under the “View” column.
Click “New Goal.”
Select a custom goal and name your Goal. Use something short and intuitive, it should be obvious for you or anyone what it is about since this name will appear on your reports.
Select your preferred Goal ID and Goal Set slot (if you don’t have any Goals yet, leave the default option). Select “Event”, and click “Continue.”
Enter the same values for the “Category”, “Action”, and “Label” that you added on the tool above, and make sure all dropdowns are set to “Equal to." Leave “Value” blank.
Finally, click “Save” and you should see the Goal you have just created, make sure the “Recording” toggle is set to “On.”
First, install the Google Tag Assistant Chrome extension on your Google Chrome browser. This tag assistant helps to verify Google tags like Google Analytics and Google Tag Manager (GTM) on your web page.
Open your website using Chrome, click on the Google Tag Assistant icon extension and click “Record.”
Click on the element that’s supposed to trigger your goal.
Click on the Google Tag Assistant Chrome extension again and click “Stop Recording” and then click “Show Full Report.”
Select “Google Analytics Report.”
Select the view that you want to test and click “Ok.”
Scroll down until you find the “Conversions” section, you should be able to see the name of your Goal, your Conversion Value, and a green tick after it.
That’s it! You’ve correctly set up your click event as a Google Analytics goal.
Get the Ultimate Guide to Perfect Google Analytics Tracking sent to your inbox.
Learn how to discover hidden revenue opportunities within your existing traffic (without having to create anything new)
Reserve your spot at this special free Web Analytics Masterclass!
ClickMinded is where 8,702 startups, agencies, entrepreneurs and students learn web analytics.
The ClickMinded SOP Library is a collection of digital marketing strategy templates, with step-by-step instructions that you can use to grow any website.
Thank you for being a part of the ClickMinded family!
Get the Ultimate Guide to Perfect Google Analytics Tracking sent to your inbox.
Learn how to discover hidden revenue opportunities within your existing traffic (without having to create anything new)
Reserve your spot at this special free Web Analytics Masterclass!
ClickMinded is where 8,702 startups, agencies, entrepreneurs and students learn web analytics.
The ClickMinded SOP Library is a collection of digital marketing strategy templates, with step-by-step instructions that you can use to grow any website.
Thank you for being a part of the ClickMinded family!