For example, you can track the number of clicks on your logo, a number of clicks on your buy now button and so on.
How to Install Google Analytics Tracking Code on WordPress Site
If already installed, you can skip this step but it’s not straight forward to apply so we thought to come with something which helps this job easier to anyone who is using WordPress. This plugin helps you to install google analytics code if you have not done it yet. You need to follow this single step to do so. As per below screenshot, paste your google analytics code.
How to Apply Custom Event Tracking for Google Analytics
Now it’s time to apply custom tracking on elements. First, decide on which elements you want to apply and you need to add an extra class on those. class nomenclature should be as below.
track_category_action :- Here category is Event Category and action is Event Action. Please take a look on the image below to understand this better.
Custom Event Tracking Examples:
These examples help you to understand completely how to use this plugin and its working. For any questions, you can post a reply below.
Though you may decide an appropriate Event Category and Event Action titles as per your needs. But if you’re using this plugin and didn’t understand how to track an element, you may contact us and we’ll apply that for you.