# How to connect Google Analytics

## Set up Google Analytics for your Chrome extension

{% hint style="info" %}
Skip this section if you already have Google Analytics for your extension listing.
{% endhint %}

1. Sign in to <https://analytics.google.com>
2. Create an account if you don't have one
3. Create a property. You could use <https://chrome.google.com> as a domain.

![Create a property in GA console](/files/-LqcAeELvMbrmj1yyA-y)

4\. Get a Tracking ID from Google Analytics admin console

![](/files/-LqcB1VL-HV5Gfoth2wP)

5\. Put the tracking id to Webstore listing field "Google Analytics ID"

![Google Analytics ID in Chrome Webstore listing](/files/-LqcCozFJr-cjUmJz-AF)

6\. You will start getting Google Analytics data soon.

## Connecting Google Analytics to Extpose

{% hint style="info" %}
Extpose uses a service account for Google Analytics access because it allows specifying narrowest view-level permissions.
{% endhint %}

In order to connect your extension Google Analytics you should provide read-only access to Extpose service account&#x20;

```
extpose1@extpose.iam.gserviceaccount.com
or 
extpose2@extpose.iam.gserviceaccount.com
```

You can follow step-by-step guide here <https://support.google.com/analytics/answer/2884495?hl=en>

Or use the following instructions:

1. Go to Admin panel
2. Select a View corresponding to your extension(s).
3. Add a user with read-only access&#x20;

![Adding service account to Google Analytics account](/files/-LqcEPNQTsN5apogWg76)

After granting rights to read the data Extpose will populate conversion statistics.


---

# Agent Instructions: 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:

```
GET https://docs.extpose.com/how-to-connect-google-analytics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
