Adding Google Analytics to a WashU Site

Set up Google Analytics as soon as your site launches to start collecting data right away.

Google Analytics provides valuable insights into how people use your site. It must be added to your site for data to be tracked. There is no way to track data retroactively.

If you’re transferring Google Analytics from an existing website to a new site that’s replacing it, skip to step 2.

1. Create a Google Analytics account

A Google Analytics account is required to add tracking to a site. A single Google Analytics account can track up to 50 websites (called “properties” in Analytics-speak), so if you already have an account, skip this step.

It’s best to use a shared Google account, rather than a personal or individual account, to set this up. We recommend you use a group @wustl.edu email — like myteam@wustl.edu — to create a Google account. You can give individuals access once the account created.

Giving your team access

Once the account is set up, you can add more users. We recommend adding your friendly, local marketing and communications or public affairs office! Then we can provide support when you need it.

  • University Marketing & Communications:
    wustlweb@gmail.com
  • Medical Public Affairs:
    mpa@wusm.wustl.edu

2. Set up a property for your site in Google Analytics

For a new site:
Log into your Google Analytics account and create a new web property.

If transferring Analytics from an existing website to a new site:
Log into your Google Analytics account and update the property URL. If the URL for the existing site and new site are the same, skip this step.

3. Connect your site to Google

  1. In the left menu of your site’s dashboard, go to Statistics + GTM > Google Analytics.
  2. In the drop-down that says Statistics by default, select the carat and select Account.
  3. Paste your Google account tracking ID (UA-XXXXXXXXX-X) into the Tracking Statistics/Tracking ID open box.
  4. Click the blue Save Changes button at the bottom.
  5. Within a day or so, log in to your Google Analytics account to check that data is being collected. You should see “sessions” (i.e., visits) being reported as of the date you added the tracking ID to the site. Going forward, you can log into Google Analytics any time to see how your site is performing.

Related tutorials

Working with Google Apps

Use a shared @wustl.edu email address for Analytics, Maps and YouTube.