# 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](https://3283477477-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWQfBgF0jzfYX5wWPUb%2F-Lqc9FiaWN1E9A3dMvjY%2F-LqcAeELvMbrmj1yyA-y%2Fimage.png?alt=media\&token=b5d01297-0c77-43f5-a6f4-7134fce3b60a)

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

![](https://3283477477-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWQfBgF0jzfYX5wWPUb%2F-Lqc9FiaWN1E9A3dMvjY%2F-LqcB1VL-HV5Gfoth2wP%2Fimage.png?alt=media\&token=c6db7107-651b-448c-842d-bf8cdd7acaaf)

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

![Google Analytics ID in Chrome Webstore listing](https://3283477477-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWQfBgF0jzfYX5wWPUb%2F-Lqc9FiaWN1E9A3dMvjY%2F-LqcCozFJr-cjUmJz-AF%2Fimage.png?alt=media\&token=4a45c304-56a1-48e9-ab58-7bc482a6305e)

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](https://3283477477-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWQfBgF0jzfYX5wWPUb%2F-Lqc9FiaWN1E9A3dMvjY%2F-LqcEPNQTsN5apogWg76%2Fimage.png?alt=media\&token=1955d2fb-e97b-4e2f-8ff1-0f353a378069)

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