> For the complete documentation index, see [llms.txt](https://docs.exploratory.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exploratory.io/data_import/cloud-apps-data/google-analytics.md).

# Google Analytics

## 1. Select Google Analytics Data Menu

Click '+' button next to 'Data Frames' and select 'Cloud Apps Data'.

![](/files/-M4oN0X39XzG_qmQv2-F)

Click Google Analytics

![](/files/-M4oNBgnUkob8VwDeG_v)

## 2. OAuth Setting

Create a connection following [this instruction](https://blog.exploratory.io/how-to-setup-oauth-cloud-apps-connections-in-exploratory-a5c20d18e7c7).

## 3. Set Parameters

* Select Account, Property, and View from the dropdown menu.
* Set Period. You can select either of the followings:
  * From This Date
  * Today
  * Yesterday
  * This Week to Yesterday
  * This Month to Yesterday
  * This Year to Yesterday
  * Last Week to Yesterday
  * Last Month to Yesterday
  * Last Year to Yesterday
  * Last N Days
  * Last N Days (Exclude Today)
  * Last N Weeks
  * Last N Weeks (Exclude This Week)
  * Last N Months
  * Last N Months (Exclude This Month)
  * Last N Months (Exclude This Week)
  * Last N Months (Exclude Today)
  * Last N Quarters
  * Last N Quarters (Exclude This Quarter)
  * Last N Quarters (Exclude This Month)
  * Last N Quarters (Exclude This Week)
  * Last N Quarters (Exclude Today)
  * Last N Years
  * Last N Years (Exclude This Year)
  * Last N Years (Exclude This Quarter)
  * Last N Years (Exclude This Month)
  * Last N Years (Exclude This Week)
  * Last N Years (Exclude Today)
* Select Dimensions and Metrics from the List. You might want to take a look at [Query Parameter reference page](https://developers.google.com/analytics/devguides/reporting/core/v3/reference) for more detail on Dimension and Measures. Also, [Google Analytics Query Explorer tool page](https://ga-dev-tools.appspot.com/query-explorer/) is helpful for you to explore different parameters that Google Analytics support.
* Segments: You can select both Custom segments as well as predefined segments from list of values. For segments details, please refer[About Segments](https://support.google.com/analytics/answer/3123951) and [Core Reporting API - Segments](https://developers.google.com/analytics/devguides/reporting/core/v3/segments)

![](/files/-M4oNBgwUVnfVd0x69oF)

## 4. Preview and Import

Click 'Run' button to preview the data from Google Analytics. If it looks ok, then you can click 'Save' button to import the data into Exploratory.


---

# 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://docs.exploratory.io/data_import/cloud-apps-data/google-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.
