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 email@example.com — 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
3. Connect your site to Google
- In the left menu of your site’s dashboard, go to Settings > Google Analytics.
- Under Account Settings, click Connect with Google.
- 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.)
- Copy the code provided and close the tab to go back to your site.
- Paste the access code and click Authorize.
- From the dropdown, select the web property for your site.
- Check Automatically add the Google Analytics code to the <head> of my site.
- 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.