Step 1: Sign in
Log in to www.accounts.google.com.
Step 2: Create a Google API project
Go to the Google API console. Click the arrow next to Google APIs logo in the top bar.
Wait a while until you are redirected to the new project.
Step 3: Create OAuth credentials
Go to the Credentials tab. Click Create Credentials and select OAuth Client ID.
You will be redirected to a new page. Click the Configure consent screen button.
Enter 'Sapho in the field called Product name shown to users. Then click Save at the bottom of the page.
You will be redirected to a new page. Set Application type to Web Application, enter 'Sapho' in the Name field, and set Authorized redirect URIs to
https://auth.sapho.com/callback. Then click the Create button.
Step 4: Get the client credentials
A pop-up with your Client OAuth credentials will appear.
Step 5: Paste the credentials in Sapho
Copy and paste the client ID and client secret in the input fields of Google Analytics connector in Sapho.
Step 6: Enable Google Analytics Reporting API
Go to the Library tab and search for Google Analytics Reporting API. Select it.
Hit the Enable button at the top of the page.
Step 7: Get Google Analytics View ID
Go to Account Explorer. Authorize using the same account you will use for setting up the connector. Select Account, Property and View. View ID will be displayed below.