Topics Map > Google Tools
Topics Map > UW Theme Functionality > Customizer

WiscWeb - WordPress UW Theme - Adding Google Analytics to Your Site

This document will walk you through the process of creating a Google Analytics account and adding it to your site.

Please Note

  • We do not recommend using Google Analytics 4 at this time. Please instead opt for Universal Analytics.

In this document: 


Google Analytics generates detailed statistics about a website's traffic and traffic sources. It is intended for learning more about how people use your website.

This tool helps with tracking things like:

  • Page views
  • Time on site
  • Bounce rates (how quickly someone is coming to the page and leaving)
  • User journey flows
  • New users vs returning users
  • User demographics

Please note that support of this tool is limited within the Google and WiscWeb teams at DoIT.

For a full list of Google Analytics’ abilities, please see Google’s documentation.

Obtaining a Google Analytics ID

  1. Navigate to Google Analytics

  2. If you have already created an account, click Sign in.
  3. Once you have gone through your sign-up process and verified your account, you'll be directed to the starting steps for your Google Analytics. Click the Sign up button. The views and screens change often, so be sure to follow the on-screen steps set up your analytics account.

  4. Enter in the Property details information: Name, time zone, and currency.

  5. Click Show advanced options below that, and click the slider for Create a Universal Analytics property.

    Clicking the slider for Universal Analytics account

  6. Enter in the URL of the site you want to apply Google Analytics to, and click on the radio button for Create a Universal Analytics property only. At this time, the WiscWeb team is able to support Universal Analytics to our best effort.

    Information regarding Universal Analytics account

  7. Click Next.

  8. Answer the Business information section, and click Create at the bottom of that screen.

  9. The next page asks you to enter several pieces of information such as your site name and URL, the site category, and your time zone. You will also create an account name, and choose who this data can be shared with outside of yourself. Once you have entered this information, scroll to the bottom and click Get Tracking ID.

  10. You will be prompted to accept the Terms of Service Agreement from Google. Click I Accept.

  11. On the next page, you will be taken to the Tracking Code section of the property that you have set up. Here you are given the Tracking ID for your analytics - this is the value that you will need for your WordPress site.
    Screenshot of a Universal Analytics Tracking ID
  12. If you are using Google Analytics 4 (not recommended as WiscWeb cannot support this version of Google Analytics at this time), to find the tracking code, navigate to Google Analytics Dashboard > Admin > Data Streams and select your data stream. Then copy the Measurement ID.

    Screenshot of Google Analytics 4 Measurement ID
  13. If you run into any issues, please see Google's documentation.

Adding the Google Analytics ID to your site

Once you have the ID from Google Analytics, you can follow these steps to add it to your site:

  1. Log into your WordPress site's dashboard 
  2. Click on the Customize Your Site button, or mouse over the Appearance menu on the left and choose Customize.

    Customize Your Site button or Appearance and Customize Menu

  3. In the left menu, choose Analytics. In the analytics screen, input your Tracking ID in the field, and click Publish at the top of the screen.

    Google Analytics Tracking ID field within WordPress

Google Analytics 4

In 2020, Google released an update to the Google Analytics titled simply Google Analytics 4. This new version incorporates different reports than what exists in Google Universal Analytics (the previous version of Google Analytics).

At this time, we recommend setting up Universal Analytics rather than Google Analytics 4. 

Google Analytics training videos

The following videos will open in the same browser tab and will auto-play:

See Also:

Keywords:Search statistics google analyze data wiscweb cms analytics tracking traffic home page metrics   Doc ID:69291
Owner:Matthew G.Group:WiscWeb CMS
Created:2016-12-08 13:14 CSTUpdated:2021-09-28 10:46 CST
Sites:DoIT Help Desk, WiscWeb CMS
Feedback:  3   3