Google Analytics - HunC

How to add Google Analytics to WordPress

Analysing traffic statistics and a minute study of user behaviour are the keys to success for a website. Analytics software is the easiest way to track users’ behaviour on your site. Google Analytics is the most widely used tool to track the reaction of users about your site content. And, the primary requirement for that is to add google analytics to the WordPress website. It will monitor every single action of your users on your site. You will be able to find out what works for your viewers and what doesn’t. This will help you to improve your site for better user experience. This will increase the chances for conversion. In this article, we will show you how to add Google Analytics to WordPress with step by step instructions.   

What is Google Analytics? 

Google Analytics

Google Analytics is a service offered by Google to track and record the key metrics of your website. It helps you to find out how much traffic your website gets, where your visitors come from and how they engage or interact with the contents of your website. 

Here is a list of what you can do with Google Analytics:

  • Find out how many visitors are there on your website at the moment 
  • Know the location from where the traffic is coming 
  • Find out what are the devices your visitors use 
  • Know about the interests of your visitors 
  • Know about the channels which drive more traffic to your website
  • Keep a track of all your marketing campaigns 
  • Track how your visitors navigate on your site 
  • Find our better-performing pages 
  • Check the loading speed of your site 
  • Figure out the conversion rate of your site 
  • Know about the best selling products and their buyers  
  • Segment the site activity to know more about some specific users 

How to add Google Analytics to WordPress? 

There are two different ways of adding Google Analytics. Either you have to use a WordPress Google Analytics plugin or you can directly install it through your Google account. You can use your gmail account to log in to Google Analytics. You can install Google Analytics to WordPress without any plugin following just two easy steps. Get a tracking code and then add it to your header.php folder. We have given here a detailed guide about the steps of the process. 

Step 1: Get Google Analytics tracking code

To generate the Google Analytics code for your website, follow the steps below – 

  • Log in to your Google Analytics account then select the website for which you need a tracking code 
  • Click on the “Admin” on the left taskbar 
  • Go to the Property column 
  • Click on Traffic Info and then on the Traffic Code  
  • You will find the Tracking Code under the Website Tracking section 
  • Copy the code 

Step 2: Add your tracking code to the header.php file 

After you have generated the code, here is the way to add it to your header.php file –

  • Go to your WordPress Dashboard 
  • Navigate to Appearance -> Editor 
  • Click on the header.php file on the right side just below the Templates section 
  • Paste your tracking code before the closing </head> tag. 
  • Finally, click on the “Update file”  

And, you are done. You will now be able to track the mouse movements of your users on your site and generate reports. 

Is Google Analytics free? 

Google Analytics is known as a “Freemium Service” by Google. It means the service is available in both free and premium versions. The premium version of Google Analytics is known as Google Analytics 360. It costs $150,000 per year. Initially, you can start with the standard free version and then upgrade to the premium one if you need more advanced features. 

What are the popular alternatives to Google Analytics? 

Google Analytics might be the most popular name while it comes to website data analysis and behaviour tracking but it is not difficult to find an alternative to it. In act, there are many platforms that render quality services and provide you with detailed reports and real-time statistics. There are some areas where Google Analytics is still yet to enter. For example, historical analysis and user-specific behaviour tracking. The segmentation options are also quite limited with Google Analytics. So, if these metrics are your priority, you must go for an alternative to satisfy your needs. If you are a WordPress user, finding an alternative is not a tough job for you. There are plenty of tools available in the market.  Here we will share four most plural and widely used alternatives to Google Analytics. 

HumCommerce

HumCommerce

HumCommerce is an all in one WordPress tool for website visitors’ behaviour analysis and conversion rate optimization. It lets you set up a  customisable conversion funnel and find out the pages where your visitors drop off. Then, find out the reasons for dropping off and reshape the website to fix the identified problems. With this WordPress plugin, you can add unlimited heatmaps to your site which will allow you to monitor every page of the site individually. There are features to ask the visitors directly why they left the site or what stopped them from converting. These first-hand responses will let you make the desired changes to your site to meet the customers’ needs. If the visitors engage with your content more, the conversion rate will increase automatically.  

Here is a list of the key features of  HumCommerce  – 

  • Set up a  flexible conversion funnel 
  • Use heatmaps 
  • Session recordings 
  • Visitor analytics 
  • Form analytics 
  • Technical SEO audit 
  • Create survey funnel 
  • Magic insights 
  • Media analytics 
  • A/B testing
  • Custom reports 

HumCommerce has two different pricing plans, either $99 per month or $999 per year.    

Adobe Analytics

Adobe Analytics

Adobe Analytics is an advanced analytics software. It helps you to get an insight into the browsing behaviour of your customers and their engagement patterns with your site. It lets you combine metrics to create statistical and mathematical operations that can be used as new metrics. You can segment the metrics to generate a detailed report about users’ behaviour.  With this powerful tool, you can use strong attributions to look behind each conversion and find out what are the elements that initiated the conversion. Yo u will have to reasearch a bit if you already do not know how to use Adobe Analytics on WordPress. If you invest accordingly or based on the findings, set your next conversion map, your sales rate is more likely to increase.  

Here is a list of the key features of  Adobe Analytics – 

  • Web analytics 
  • Multi-channel data collection 
  • Customer journey analytics 
  • Prediction analysis 
  • Marketing analytics   

Adobe Analytics is available at $10,000 per year. 

Woopra

Woopra

Woopra is a powerful WordPress plugin for customer journey analysis. With this plugin, you can track data across, product, marketing, sales and support touchpoints with custom tracking options. The moment customer data syncs to Woopra from any touchpoint, the  user profile displays a view of engagement. It shows a report at the individual level. Its easy integration features let you integrate data from email, social media, CRM platform and other support tools. You can combine data from different sources to get a better view of the visitors’ behaviour.   

Here are the key features of Woopra – 

  • Real-time action tracking 
  • Optimize all the touchpoints in the customer experiences 
  • 40+ one-click integration 
  • Automation tools

Woopra is available in both free and premium versions. The range of premium versions starts from $999 per month. 

Heap 

Heap Analytics

Heap is a simple analytics platform built to analyze user behaviour on your site. It captures clicks, field changes and form downloads automatically and delivers a cross-device view of the users. It is an  easy to use alternative to Google Analytics. Heap is a tool specially designed keeping the product managers in mind. It has many advanced features for product analysis. You can test all the changes and iterate in a rapid way. There are features to trace out the improvements that bear maximum results. Heaps believes in an AARRR formula to improve the customer journey: activation, acquisition, retention, revenue and referral.    

Here is a list of the key features of Heaps – 

  • Product Analysis 
  • Access historical data 
  • Enrich your data with the third party sources 
  • Analyze data in realtime 
  • Audit or verify behaviour or events 
  • Account-based analytics 

Heaps is available in both free and premium versions. You have to register with the official website of Heaps to buy the premium versions. 

Conclusion 

Tracking user data and checking website effectiveness is not at all a challenging task if you have a good analytics platform. We have shown here how to add google analytics to WordPress and shared four major alternatives to Google analytics. In case you need something which Google Analytics does not offer, you can always go for the alternatives. On the other hand, the premium version, Google 360 is not very cost-effective. If budget is a concern, you can go for the ones that are available at a comparatively lower price. Everything depends on your purpose and needs. So, know your goal first and then find the easiest way to convert your plans into actions.    

If you liked the article, please share it on Facebook and Twitter. Leave your feedback on the comment section. We would love to hear from you. If you have any confusion, please share with us. We will try to get back to you soon. 

Pritesh Baswante

Pritesh B is a digital marketer with a fortunate habit of learning from people around him. He has a master's degree in marketing management. He grew up in Pune and is currently working with Hummingbird Web Solutions. He is passionate about SEO and is a CRO (Conversion Rate Optimization) enthusiast. He is focused and result-oriented, but can also be a bit whimsical. You can connect to him via LinkedIn.

Add comment

Sign up to get a free Checkout Optimization Checklist

Ecommerce Conversion Optimization Checklist