> For the complete documentation index, see [llms.txt](https://ccsdrupalguide.uoguelph.ca/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ccsdrupalguide.uoguelph.ca/analytics.md).

# Google Analytics

## What is Google Analytics?

Google Analytics is a free service that collects and reports information on users of your website.

## Getting Access to Google Analytics

Logging in to Google Analytics requires a Google account. You may use an existing Google account (such as a Gmail account) or create one for the purpose of accessing the analytics service.

If you are a web site manager, you may already have access to analytics for your site. If not, contact CCS Web Solutions with your Google account and they can add you to the list.

[Log in to Google Analytics](https://www.google.ca/analytics/)

## Configuring the Google Analytics Module

The Google Analytics module for Drupal allows your site to be tracked by Google Analytics by adding a Javascript tracking code to every page.

> **Note:** If your website is managed by CCS Web Solutions, they will configure the Google Analytics module for you when your site is launched. Only attempt to configure the Google Analytics module with your tracking ID if you host the site yourself.

1. Log in to your site as administrator.
2. Go to Administration >> Configuration >> System >> Google Analytics (admin/config/system/googleanalytics).
3. Enter your Web Property ID.
4. Click `Save Configuration`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ccsdrupalguide.uoguelph.ca/analytics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
