About Google Analytics

What is Google Analytics?

Google Analytics is a free service provided by Google which collects information about a website’s usage trends. Google Analytics shows you how people find your site, how they explore it, and how you can enhance their visitor experience. With this information, you can improve your website!

How does Google Analytics work?

Google Analytics uses a first-party cookie and JavaScript code embedded in web pages to collect information about visitors and to track website usage trends. Google Analytics anonymously tracks how visitors interact with a website, including where they come from, what they do on the site, and also whether or not they completed any of the site's conversion goals.

How can Google Analytics help Middlebury?

Google Analytics can help us track who is visiting Middlebury’s site and how they are getting there. It shows us what keywords people are using to find us, what percentage of visitors are new or returning, what geographical location they are coming from, what page they are entering our site on and what page they exit from, how many pages they view, what the bounce rate is for different pages, and so much more!

Sharing Customizations

You can share the reports and custom segments you create with colleagues. These steps also work if you need to move the customizations you've made to a new account.

Custom Reports

Log in to Google Analytics using the account that has the items you wish to share or move.

Click the Customization link at the top of the page.

Each of your custom reports will be listed in the middle of the page. From the Actions drop down on the right, select Share.

Click Share template link and then click the Share button.

Copy the URL and paste it into a document or email.

Repeat steps 3-5 for each report.

Send the links to a colleague to share them or log out of Google Analytics and log back in with your other account.

Either you, in your new account, or your colleague can now click on each link and then Save the report to add it as a custom report on that account.

Custom Segments

Log in to Google Analytics using the account that has the items you wish to share or move.

Click the Reporting link at the top of the page.

Click on the All Sessions tab in the middle of the page.

Click on the Share segments button.

Click the checkbox next to each segment you wish to share and then click the Share button.

Click Share template link and then click the Share button.

Copy the URL and paste it into a document or email.

Send the links to a colleague to share them or log out of Google Analytics and log back in with your other account.

Either you, in your new account, or your colleague can now click on each link and then Save the report to add it as a custom report on that account.

Basic Terminology

Pageviews: An instance of a page being loaded by a browser. The Pageviews metric is the total number of pages viewed; repeated views of a single page are also counted.

Visits: A group of interactions that take place on your website within a given time frame. For example a single visit can contain multiple pageviews. Visits end after 30 minutes of inactivity or at midnight.

Bounce Rate: The percentage of visits that go to only one page before exiting a site.

Exit Rate: The percentage of pageviews for which this was the last page in the visit.

Direct Traffic: Visits to your page that originate from someone typing the URL into their browser directly, a bookmark, or a GO shortcut.

Referral Traffic: Visitors to your page that originate from someone clicking a link on another domain.

Middlebury's GA Configuration

Domains

UA-993303-1 is the tracking code used for .middlebury.edu

UA-1271601-8 is the tracking code used for .miis.edu

Internal vs. External

The Middlebury tracking code has three profiles:

middlebury.edu (all)

middlebury.edu (internal)

middlebury.edu (external)

Internal traffic is defined as follows:

Anyone connected to a wall jack on the Middlebury campus, including Bread Loaf and the Snow Bowl.

Anyone connected to an authenticated wireless network on the Middlebury campus, such as MiddleburyCollege or midd_secure.

This excludes traffic from the MIIS campus and unauthenticated wireless traffic on the Middlebury campus, which are considered "external" for the purposes of our web analytics.

Custom Segments

The Middlebury and MIIS tracking codes include all web services on those domains. This means that a request to "/academics" in your Middlebury report may be "www.middlebury.edu/academics", but might also be "sites.middlebury.edu/academics". To distinguish this in your reporting, you should set up a custom segment to scope your report to the particular host and page group you're interested in.

Click on + Add Segment, the gray box to the right of the All Sessions box.

Click on the + NEW SEGMENT red button.

Give it a name like "[Name of your office/department]".

Click on Conditions under Advanced on the left.

Choose Hostname from the green drop-down box.

Choose matches regex from the next drop-down box.

In the text field enter ^www\.middlebury\.edu$, replacing www with the name of your service's subdomain if you're interested in something other than the main site (e.g. mediawiki).

Click Add and then select Page from the drop-down box.

Choose starts with from the next drop-down box.

Enter the path to the main page of your site in the text field. The path is the part of your site URL following "edu". For example, the path to the library site is "/academics/lib".

Click the blue Save button.

Resources

Access

Anyone at Middlebury who wants to have access to our Google Analytics reports may request access through the Helpdesk. Our support for this platform is limited and consists only of creating your account and maintaining this documentation that describes the small amount Middlebury-specific changes we've made. If you require assistance with other aspects of the tool, you will need to search for solutions yourself.

In the middlebury.edu (all), middlebury.edu (external), and middlebury.edu (internal) sections, select Collaborate from the drop-down menu.

Click Save

Notify the person by adding a note to their ticket in Web Helpdesk and link them to this page in MediaWiki. Here is a template that can be used in the ticket response:

You now have access to Google Analytics reports for Middlebury and should have received an email from that service. You can log in using your Middlebury username and password.
More information about setting up Google Analytics at Middlebury is available here:
[code]http://mediawiki.middlebury.edu/wiki/LIS/Google_Analytics[/code]