How to connect Google Analytics
Anyone with a Crewhir account can connect Google Analytics. It takes about a minute, and you can connect more than one Google Analytics account.
- Sign in to Crewhir at app.crewhir.com and open Integrations in the sidebar.
- Find Google Analytics and open it, then click Connect Google Analytics (or Add account if one is already connected).
- Optionally give the account a nickname, then click Continue to Google Analytics.
- Google Analytics opens and asks you to sign in and choose the workspace or account to connect. Review the permissions it lists (they are explained below) and click Allow.
- You come back to Crewhir and the account shows Connected.
Google Analytics shares one Google sign-in with Gmail, Google Calendar, Google Drive, Google Docs, Google Sheets, Google Maps and Google Ads. Connecting one connects them all.
Permissions Crewhir requests
Crewhir requests seven OAuth permissions from Google Analytics. Google Analytics shows them on its consent screen before you allow access.
| Permission |
|---|
| Sign you in |
| See your email address |
| Read, draft, send and organise your email |
| See and edit only the Drive files Crewhir creates or you open with it |
| Read and edit your Google Docs |
| Read and edit your Google Sheets |
| Read and edit events on your calendars |
A permission lets Crewhir ask; it doesn’t mean Crewhir acts on its own. Changes stay off until you turn them on, and each one waits for your approval.
What Crewhir can read and modify in Google Analytics
This is the complete list. Crewhir can’t call anything in Google Analytics that isn’t here. Reading happens only when someone asks Crewhir for something that needs it.
Read
Always on. Runs when you ask.
- Check which account is connected
- List accounts
- List properties
- Read metadata
- Run a traffic report
- See who is on your site now
Modify
Off until you turn it on. Approved one at a time.
Crewhir can’t change anything in Google Analytics.
Test the integration
1. Check the connection
On the Google Analytics page in Crewhir, click Check next to the account. Crewhir calls Google Analytics with the stored credentials and confirms which account answered. You’ll see “account is working”.
2. Run a read action
Start a new chat. In the message box, open the tools menu and make sure Google Analytics is ticked, then send:
Using Google Analytics, list accounts.
How to disconnect Google Analytics
- In Crewhir, open Integrations, then Google Analytics.
- Click ⋯ next to the account and choose Disconnect. (With several accounts, the menu at the top also offers Disconnect all accounts.)
- Confirm with Disconnect.
Crewhir deletes the connection and its stored access and refresh tokens straight away. From then on it can’t read or change anything in Google Analytics. Because Gmail, Google Calendar, Google Drive, Google Docs, Google Sheets, Google Maps and Google Ads use the same Google sign-in, they are disconnected too.
To revoke the grant on Google Analytics’s side as well, in your Google Account, open Security, then Your connections to third-party apps and services, and remove Crewhir.
Data and security
- Credentials are encrypted at rest and never shown back to anyone, including your workspace admins.
- Crewhir only calls the 6 actions listed above, and only when someone in your workspace asks for something that needs Google Analytics.
- Changes are off by default, need your approval each time, and are logged under Recent changes.
- Disconnecting deletes the stored credentials immediately.
Read more on our security page and in the privacy policy. Questions about this integration: [email protected].