Google Analytics 4 — Setup Guide

Follow these steps to connect your GA4 property to Sales Advisor. It takes about 5 minutes.

1

Create a Google Cloud project

  1. Go to console.cloud.google.com
  2. Click "Select project" → "New project"
  3. Give it a name, e.g. "My Analytics"
  4. Click "Create"
Tip: If you already have a Google Cloud project you can reuse it.
2

Enable the Google Analytics Data API

  1. In Cloud Console, go to "APIs & Services" → "Library"
  2. Search for "Google Analytics Data API"
  3. Select it and click "Enable"
3

Create a service account

  1. Go to "IAM & Admin" → "Service Accounts"
  2. "Create Service Account"
  3. Name: e.g. "sales-advisor-reader"
  4. Click "Create and Continue" → "Done"
Tip: No role is needed in the Cloud project — access is granted via GA4.
4

Download the JSON key

  1. Click on your new service account
  2. Go to the "Keys" tab
  3. "Add Key" → "Create new key"
  4. Select "JSON" and click "Create"
  5. The file downloads automatically — save it securely
Important: Save the file securely! It cannot be downloaded again.
5

Grant service account access in GA4

  1. Go to analytics.google.com
  2. Admin (gear icon) → Property → Access Management
  3. Click "+" → "Add users"
  4. Paste the service account email from the JSON file (the client_email field)
  5. Select the "Viewer" role
  6. Click "Add"
6

Find your Property ID

  1. In GA4 Admin → Property Settings
  2. Copy the Property ID (numeric, e.g. 123456789)
  3. In Sales Advisor, enter it as: properties/123456789
7

Upload in Sales Advisor

  1. Go to Dashboard → Integrations → Google Analytics
  2. Upload the JSON key file
  3. Enter the Property ID (properties/...)
  4. Click "Verify & save"

Need help?

Contact us at jens@staik.se and we'll help you connect your GA4 property.