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 email — like — 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 public affairs office! Then we can provide support when you need it.

  • Washington University Public Affairs:
  • Medical Public Affairs:

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 Settings > Google Analytics.
  2. Under Account Settings, click Connect with Google.
  3. Select or log into your Google Analytics account, then click Allow to give Beehive Analytics access. (If you prefer not to give Beehive access to your analytics, see the note below.)
  4. Copy the code provided and close the tab to go back to your site.
  5. Paste the access code and click Authorize.
  6. From the dropdown, select the web property for your site.
  7. Check Automatically add the Google Analytics code to the <head> of my site.
  8. 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.

If you want to avoid giving the Beehive Analytics plugin permission to view your data, you can enter the web property’s tracking ID instead of connecting with Google.

On your website, go to Settings > Google Analytics. Click Settings at the top, then select Tracking ID. Now log into your Google Analytics account, locate the tracking ID for this web property, and copy and paste it into the field provided on your website.

Related tutorials

Working with Google Apps

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