Tips on how to Set Up Google Analytics for WordPress

Posted on Posted in Blog

Have you ever wondered what people really do when they enter your own WordPress website?

Have you thought about which usually website pages they tend to stay on longest, what campaigns bring them generally there, and which of your website pages convert the very best?

Google Analytics can help you understand all of this information and more. Simply by installing a Google Analytics plugin on your WordPress website, you can begin collecting this data immediately. With assist from a plugin, including Google Analytics in order to WordPress is a painless process.

If you’d rather not install a plugin for this specific purpose, there are other ways to incorporate Google Analytics along with your website too — as long as you’re comfortable with code.

With this guide, we’ll walk you through the right way to install Google Analytics in WordPress with two different methods. In a handful of guidelines, you can uncover insights about your website guests — including what exactly is and isn’t working for them — to enhance the user experience, increase conversions, and learn about your audience.

Measure your performance with HubSpot's free WordPress plugin

Google Analytics designed for WordPress: What Can You Track?

Whether you’re searching for details about who is visiting your site, what they are doing while on your site, or how long they are staying on particular pages, Google Analytics provides you with the document you need. The tool allows you to track several interactions between your website and visitors.

Let’s review some more of the specific forms of reporting Google Analytics provides:

Current Activity

Realtime reports show you current activity on your internet site, including where site visitors enter your website and the actions they take in your site. You can also see how users are getting for your site, what pages they’re visiting, and whether they’re transforming. This report is useful for monitoring the particular immediate results of the campaign, social media posting, or real-world event.

Acquisition

Acquisition reports will help you understand where any visitors are coming from. These details is helpful when establishing your marketing advertisments because it can show a person exactly what’s working best for your acquired visitors. It also lets you know which users are new and which are returning.

Engagement

Engagement reports help you understand how customers are interacting with your site. It includes page views, scrolling activity, time-on-page, interactions with media, and other important events. Google Analytics organizations user activity simply by sessions — a scheduled appointment can be understood as being a single visit to your website.

This record also tracks conversions. You can compare these to your goal and understand which CTAs are working. You’ll learn read more about which CTAs plus landing pages on the site are effective and what keeps your visitors most engaged.

Monetization

Monetization reports track your revenue from buys, subscriptions, and commercials on your site. It also shows you how users move through the checkout procedure and how they build relationships your product web pages.

Retention

Retention reports keep track of how well your site retains visitors — in other words, how frequently users return to your site after their 1st visit, and for how long. You can also view preservation by cohort. A cohort is a group of users that share a characteristic, such as the date of their 1st session.

Demographics

The demographics report will help you understand who your visitors are. It reports users by age, vocabulary, location, gender, and topics of interest.

Tech

Tech reports show you the particular technology that website visitors use to access your website, including device type (desktop, mobile, or tablet) and being able to access application (web browser or mobile application). This information can help manual your optimization efforts based on which technology your users choose.

Analytics Particular to Your Plugin

In addition to the plethora of information that you receive from Search engines Analytics, your chosen wordpress plugin will also provide you with special insights. For example , let us review what ExactMetrics provides. Some of these insights and features come standard with other analytics plugins in the Wp library as well.

In-Depth Performance Reports . These types of reports provide you with in-depth performance details, like bounce rates, referrals, page views, organic searches, and more, for each post and web page on your website so that you can segment your deductive data in a way that makes sense for your website and business.

Real-Time Stats . You’ll be able to review real-time statistics whenever you open the wordpress plugin. Some of these stats include the current number of guests on your website, your acquisition channels, and the source of your current traffic.

Custom made Dimension Tracking. You can make custom dimensions to get specific data that matters to you as well as your business. For example , you can create custom dimensions tracking about specific events and forms of user engagement which are important to you.

Set Permissions Based On User Tasks. In case you have a large team, or team of people with different qualifications and requirements when it comes to your analytics, you can set permissions based on user roles. This way you can make certain only the right individuals can make changes.

How to Set Up Google Analytics intended for WordPress

To add Google Analytics to your WordPress web site, you can either choose a plugin or opt for a manual strategy. We’ll review each methods, starting with the plugin.

However whichever method you select, make sure you have an active Google Analytics account. To sign up for Search engines Analytics, first create a Google account. In case you already have a Search engines account, you’re away to a great begin because that’s the just way you can use Search engines Analytics.

Sign in to your Google accounts, then head to the particular Google Analytics sign-up page and click on Start measuring .

wordpress google analytics: sign up page for google analytics

On the Account Setup page, fill in the required information. Your Account Name will be the Google Analytics profile name for your site. You can choose whatever name you like, but we recommend using your business name.

Next, check your favored boxes under Account Data Sharing Settings to control how Google may reveal your data, then click on Next .

Below Property or home Setup , provide a name for your very first Google Analytics residence. You can make this your own website’s domain name for the time being. Click Next .

Finally, under About your company , you can offer additional information about your organization. This section is optionally available. To complete setup, click Produce .

You’ll now be taken to your own analytics dashboard. About this screen, under Choose a platform , click Web (since you are tracking a website).

wordpress google analytics: data stream setup

You’ll be asked to set up a data stream, which is a source of data from a website or an application. Fill in the required areas and click Create flow . This provides you with a measurement IDENTIFICATION, a string of characters you’ll use to send your website tracking data to Google Analytics. If you go with a plugin, you may need to add this information to the plugin, so it is a good idea to keep this tabs open.

wordpress google analytics: measurement id for google analytics

Now that your Google Analytics accounts is ready, let’s learn how to link it to your WordPress web site with a plugin.

Set Up Google Analytics With a WordPress Plugin

Depending on the Search engines Analytics plugin you choose, setup may differ slightly. For the sake of this example, we’re going to evaluation how to set up the ExactMetrics plugin. Whichever plugin option you end up picking for your web site, the process will look fairly similar.

Very first, you’ll need to install and activate ExactMetrics on your site. (ofcourse not sure how? Observe our guide to installing WordPress plugins. ) Once that’s performed, select the new ExactMetrics option from your WordPress dashboard, after that click Launch Setup Wizard .

wordpress google analytics: exactmetrics setup prompt

Click through the setup screens till you’re prompted to sign in to Search engines and grant the particular plugin your desired permissions. Then, to the Connect Google Analytics aimed at your website display screen, choose the view a person created previously and click Complete Connection .

After clicking on through some extra screens, you’ll prepare yourself to use Google Analytics with WordPress. Look at your analytics under ExactMetrics > Reports .

wordpress google analytics: exactmetrics reporting page

Some plugins may need you to insert the tracking code yourself if they don’t include the same level of software. You can find this monitoring information by going to your Google Analytics administrative tab (the cog icon in the base left corner from the dashboard), then selecting Information Streams under the desired accounts and property.

wordpress google analytics: data streams option in the google analytics dashboard

After that, click your data flow. You’ll see your Measurement ID in the top right corner. Further down under Tagging Teaching , you’ll also see your Global Site Label , a prevent of code to include analytics to your website in the < head> section of your HTML.

The easiest way to add this script to your HTML is with the Insert Headers and Footers plugin — this lets you include tracking code with no directly modifying your files, which could split your site.

Setup Google Analytics Without a WordPress Plugin

Those who would rather not really use a plugin and therefore are comfortable editing WordPress theme files straight can choose this next technique instead. Before ongoing, back up your Wp site in case something goes wrong along the way.

Since this method also requires you to definitely change theme files, we also recommend making your edits to a child theme so that you can update the particular parent theme with out losing your adjustments.

To get your tracking code, go to your Google Analytics administrative tab (the cog icon in the bottom level left corner from the dashboard) and choose Information Streams under the desired account and property. Select the data stream you would like, then scroll right down to Marking Instruction . Open up the Global Site Label accordion and copy the particular code.

wordpress google analytics: tracking code for google analytics

Next, you will paste this program code into your active theme’s header. php file. Edit this particular file however you choose — you can down load the file and re-upload it for your server, or modify the file by means of WordPress under Appearance > Theme Editor .

In header. php , paste your tracking code just above the shutting < /head> tag (pictured below) and save your modifications.

wordpress google analytics: tracking code pasted into the wordpress header.php file

This code will send tracking information from your website to Google Analytics.

Use Google Analytics to understand your WordPress site.

Google Analytics provides you with insights and data that can help you significantly improve the state of the website. You can learn read more about what your visitors enjoy and discover more about who they are, so you can continue to tailor your content to their requirements.

With WordPress, installing Google Analytics on your website is usually quick and easy. In just moments, you can start collecting the data that you need to enhance user experience and raise conversions on your Wp website.

Editor’s note: This awesome article was originally released in November 2018and has been updated to get comprehensiveness.

Use HubSpot tools on your WordPress website and connect the two platforms without dealing with code. Click here to learn more.

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Leave a Reply

Your email address will not be published. Required fields are marked *