How to add Google Analytics to Word Press

Google Analytics

Adding Google Analytics to a WordPress.com site or blog is available as a feature of the WordPress.com Premium, Business, and eCommerce plans. Visit My Sites → Tools → Marketing → Traffic to enable Google Analytics.

Table of Contents

  1. WordPress.com Stats vs Google Analytics
    1. WordPress.com Stats
    2. Google Analytics
  2. How to Enable Google Analytics on WordPress.com
    1. Sign Up With Google Analytics
    2. Get Your Measurement ID
    3. On Your WordPress.com Site
  3. Frequently Asked Questions

WordPress.com Stats vs Google Analytics

WordPress.com Stats

WordPress.com has built-in stats tracking with reports that offer quick, at-a-glance views of the traffic on your site. New posts, likes and comments are shown alongside visitor activity, so it’s easier to make sense of the numbers.

Google Analytics

Google Analytics includes advanced features to complement WordPress.com stats. Funnel reports help you track the path visitors take through your site, and goal conversion lets you measure how visitors complete specific tasks (such as reaching a product page or contact form). If you already use Google Analytics with other projects, you’ll be able to see all your stats in one place.


↑ Table of Contents ↑

How to Enable Google Analytics on WordPress.com

Sign Up With Google Analytics

To get started you’ll need to sign up on the Google Analytics site. Sign in or Sign up to get started.

If you already used Google Analytics with other sites before, you can create a new account in your existing Google account. Click Admin in your Google Analytics account and click Create Account to create a new analytics profile.

Google analytics new account screen

Be sure to fill in the “Account Name” for your new Google Analytics account. You will see some data sharing options under “Account Data Sharing Settings.” By default, all four Data Sharing settings are selected. You can read the description for each setting to decide if you would like to opt-out. When you’re ready, click Next.

You will then be taken to the Property Setup:

Google Analytics Property setup screen

On the Property Setup screen, fill in the following details:

  1. Property Name: Enter a name for your property, such as your site title.
  2. Reporting Time Zone: Choose the timezone you want the reporting of your website to be in.
  3. Currency: Choose the currency of the location you normally operate in.

On the next screen, fill in your business information and click Create:

A pop-up will appear with “Google Analytics Terms of Service Agreement” and “Additional Terms Applicable to Data Shared with Google”. You will need to click the checkbox for both and accept the terms to continue.

You will then be presented with this screen asking you to choose a property:

Google Analytics - Choose a Date Stream Screenshot

Choose Web and insert your website’s domain. Make sure to keep https:// selected. Type something in the Stream Name box (this can be your site’s title again) and click Create Stream:

Google Analytics - Create Stream Screenshot
Get Your Measurement ID

After following the steps in the previous section, you will be presented with this screen that provides you with your Measurement ID.

Google Analytics Measurement ID

Click the copy icon next to your Measurement ID to copy it to your clipboard.

If you already closed this screen, or need to find your Measurement ID again at a later time, follow these steps:

  1. In Google Analytics, go to Admin by clicking the gear ⚙️ icon in the lower right corner of the main Google Analytics dashboard.
  2. Under Property, click on Setup Assistant.
  3. Go to Tag installation.
  4. Click on the Web tab.
  5. Click on your site.
  6. Copy the Measurement ID that looks something like G-A1B2C3D4E5.
On Your WordPress.com Site

Copy the measurement ID and go to Tools → Marketing → Traffic in your WordPress.com settings.

Head to My Sites → Tools → Marketing → Traffic and scroll down until you find the Google Analytics section.

Paste the entire ID you copied from the Google Analytics site into the “Google Analytics Measurement ID” box. After you click “Save Settings” your site will be connected to Google Analytics and start sending data to Google.

Source: https://wordpress.com/support/google-analytics/

Leave a Reply

%d bloggers like this: