Connection Help
Connect an existing Google Analytics 4 property to Trenscope. Choose a method below, then open each numbered step in order.
Connect with a JSON key
Watch the complete walkthrough
1. Check the prerequisites
- In Google Analytics, select the website you want to connect.
- Confirm the website has a GA4 property and you can open its Admin settings.
Open Google Analytics — choose your property ↗
Opens in a new tab.
2. Create or choose a Cloud project
- Open Google Cloud. Click the project name in the top bar.
- Select your project or click New project, name it, and click Create.
Opens in a new tab.
3. Enable Google Analytics Data API
- In Google Cloud, open APIs & Services → Library.
- Search for Google Analytics Data API. Open it and click Enable.
Open Google Analytics Data API ↗
Opens in a new tab.
4. Create a service account
- Open IAM & Admin → Service Accounts.
- Click Create service account, enter a name, and click Create and continue. Click Done.
Opens in a new tab.
5. Download the JSON key
- Click your new service account and open Keys.
- Click Add key → Create new key. Select JSON and click Create.
- Keep the downloaded file private.
Open Service Accounts — choose yours, then Keys ↗
Opens in a new tab.
6. Save a named JSON connection
- In Trenscope, open Connect Website.
- Under JSON key connection, enter a connection name and choose your downloaded file. Click Add JSON connection.
Open JSON connection settings ↗
Opens in a new tab.
7. Copy the service-account email
- Find the new entry under Saved connections.
- Copy the full Service-account email shown there.
Opens in a new tab.
8. Grant Viewer access in Analytics
- In Google Analytics, choose your website’s property and open Admin → Property access management.
- Click + → Add users. Paste the service-account email, select Viewer, and click Add.
Open Analytics — then Admin and access management ↗
Opens in a new tab.
9. Find each numeric Property ID
- In Google Analytics, open Admin → Property details for the same property.
- Copy the number labelled Property ID.
Open Analytics — then Admin and Property details ↗
Opens in a new tab.
10. Add and assign the website
- Open My Account → My Websites in Trenscope and click Add website.
- Enter the website name, URL and Property ID. Select the saved JSON connection and click Save settings.
Opens in a new tab.
11. Check reports and resolve errors
- Open Dashboard and find your website.
- Click Test connection on its card. When the check succeeds, click Refresh now to load reports.
Opens in a new tab.
12. Add accounts or change methods later
- For another website, repeat the access and Property ID steps for that property.
- Add the website in My Websites, select the connection with access, and click Save settings.
Opens in a new tab.
Connect with Google sign-in
Watch the complete walkthrough
1. Open Google connections
- Log in to Trenscope. Open Connect Website and find Google sign-in.
- Enter a name for the connection.
2. Open Google sign-in
- Click Connect with Google.
- Select the Google account that has access to your Analytics properties.
3. Review the permission request
- Review the read-only Analytics permission.
- On Google’s consent screen, choose Continue to allow access.
4. Return to Trenscope
- Wait for Google to return you to Trenscope.
- Find your named connection under Saved connections.
5. Load the correct account’s websites
- Click Choose websites for this connection.
- Wait for the property list.
6. Add the properties you need
- Tick the properties you want to add.
- Click Add selected websites.
7. Assign and check each website
- Open My Account → My Websites.
- Check each website’s Connection and click Save settings if you make changes.
8. Load your reports
- Open Dashboard. Click Test connection on the new website card.
- Click Refresh now to load the reports.
9. Add another Google account
- Open Connect Website to add another named connection.
- In My Websites, choose which connection to use for each website.
Screenshot sources include Contentstack, Google Identity documentation (CC BY 4.0), and Trenscope. Arrows and highlights identify the controls used in each step.
