Adding Google Analytics to Your Site

If you have a new website or your existing website didn’t have Google Analytics, you will need to set up an account with Google Analytics. If your site is hosted on WashU Sites, you can add Google Analytics tracking to your site using the WashU Sites Google Analytics plugin.

Adding Google Analytics Tracking to Your Site

  1. Log in to your Google Analytics account.
  2. At the top of the page, click Admin.
  3. Under Account in the column on the left, select your account from the drop-down.
  4. Click on User Management.
  5. Under Add permissions for:, enter “wustlweb@gmail.com.”
  6. Click Add.
    Screenshot of adding permissions in Google Analytics
  7. At the top of the page, click Admin again.
  8. Under Property in the second column, select your site name from the drop-down.
  9. Click Tracking Info under Property and select Tracking Code from the list.
    Screenshot of identifying Google Analytics tracking code
  10. On the Tracking Code page, your code will be displayed under the label Tracking ID; it should be similar to: UA-######-##. Copy this entire Tracking ID.
    Screenshot of copying Google Analytics tracking code
  11. In your site’s Dashboard, click Plugins.
  12. Click Activate under the Google Analytics by Yoast plugin.
    Screenshot of activating Yoast Google Analytics plugin
  13. In your site’s Dashboard, go to Analytics > Settings.
  14. Under the General Settings tab, check the box next to Manually enter your UA code.
  15. In the text box that appears, enter the Tracking ID you copied from Google Analytics.
  16. Check the box following Track outbound click & downloads.
  17. Click Save changes.
    Screenshot of setting up Yoast Google Analytics plugin
  18. Under the Universal tab, check the box for Enable Universal tracking.
  19. Click Save changes.
    Screenshot of settings for Google Analytics plugin
  20. Under the Advanced tab, select Event from the drop-down menu for Track downloads as.
  21. Select Full links in the drop-down menu for Track full URL of outbound clicks or just the domain.
  22. Click Save changes.
  23. 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 set up your account. Going forward, you can log in to Google Analytics any time to see how your site is performing.
    Screenshot of advanced settings for Google Analytics plugin