TTrenscope
HELP & SETUP

Connect your websites, step by step

Trenscope reads reports from your existing Google Analytics 4 (GA4) properties. It does not install tracking or estimate another website’s traffic. Each website must already send visits to GA4.

First website? Complete the Google connection guide, then add your website.
Already connected? Keep your saved JSON connection. Grant access to the next GA4 property, then add its Property ID.

Open My Websites Open Dashboard

1. Get the Google API connection

This is the one-time setup for your Trenscope account. You will enable Google’s reporting API, create a service account and download its JSON key. The API is the connection; the JSON file supplies the credentials. An ordinary API key or a GA4 Measurement Protocol secret will not work here.

Before you start

  • You need access to your Google Cloud project, with permission to enable APIs and create a service account and its key.
  • You or your GA4 administrator must be able to manage access to each property. Google requires the Administrator role to add users. [1]
  • Use a computer for the initial setup if possible: you will switch between Google Cloud, Google Analytics and Trenscope.

A. Select a Google Cloud project and enable the API

  1. Open Google Cloud Console and sign in.
  2. Open the project selector near the top. Select your project, or choose New project, give it a name such as Trenscope Analytics, and create it. Select that project before continuing.
  3. Open APIs & Services → Library. Search for Google Analytics Data API.
  4. Open that API and click Enable. If it is already enabled, continue. Use the Data API for GA4 reporting. [2]

Checkpoint: the Google Analytics Data API is enabled in the project you will use for the service account.

B. Create a service account

  1. In the same project, open IAM & Admin → Service Accounts.
  2. Choose Create service account. Give it a recognizable name, for example Trenscope Analytics Reader, then continue.
  3. The optional project permissions and user-access steps can be left empty for this connection. Finish creation. Reading a GA4 property is authorised separately in Google Analytics; you do not need to grant this account a Cloud Owner or Editor role.
  4. Open the new account and copy its email address. It ends in iam.gserviceaccount.com. This is the address you will add to GA4—not your personal email. [3]

C. Download the JSON key

  1. Open your service account’s Keys tab.
  2. Choose Add key → Create new key, select JSON, then click Create.
  3. Keep the downloaded .json file in a private location. Google does not let you download that same private key again.
  4. If key creation is blocked by your organisation, ask its Google Cloud administrator for an approved setup. Do not change organisation security policies simply to bypass the restriction. [4]

Checkpoint: you have the JSON file and the service-account email. Treat the file like a password. Do not send it through a support form or publish it in screenshots.

D. Grant Viewer access in Google Analytics

  1. Open Google Analytics. Select the account and property for your website.
  2. Go to Admin → Property access management (under the Property section).
  3. Choose + → Add users. Paste the service-account email from step B.
  4. Select Viewer, leave the email notification unchecked for this service account, and click Add.
  5. Repeat this step for every GA4 property you will connect. One service account can serve multiple properties when each grants it access. [1] [2]

Checkpoint: that exact service-account email appears in the correct property’s access list with Viewer access.

E. Save the connection in Trenscope

  1. Log in to Trenscope. Real websites require an active subscription; the free Demo uses fictional data.
  2. Open My Account → My Websites. Under Google API connection, choose your downloaded JSON file.
  3. Alternatively, open the file in a plain-text editor, copy its entire contents and paste into Or paste the complete service-account JSON. Use one method. Keep all braces, quotation marks and the private-key text intact; do not paste a screenshot or a link to the file.
  4. Leave Remove saved credentials unchecked. Click Save settings below the Chart lines table.
  5. After saving, confirm that the expected service-account email appears under Google API connection. Then follow the website guide below. Saving credentials alone does not prove that GA4 access works; Test connection on a saved website checks it.

You do not need to install Python, run Google’s example code, create a Cloud virtual machine, or install Trenscope separately on every monitored website. Trenscope handles the report requests.

2. Add a new website

If your Google connection is already saved, you normally reuse it. You do not need a new JSON file for every website.

A. Find the correct Property ID

  1. In Google Analytics, select the correct website’s property.
  2. Open Admin → Property details in the Property settings area. Google’s labels may vary slightly.
  3. Copy the number labelled Property ID. A fictional example is 123456789. Use the digits only in Trenscope.
  4. Do not use the G-... Measurement ID, a Stream ID, Google Cloud project number or an old UA-... tracking ID. [5]
  5. Check Property access management: your saved service-account email must have Viewer access to this property. If missing, complete step D above.

B. Add and complete the website row

  1. In Trenscope, open My Account → My Websites.
  2. Scroll to Websites and click Add website. A new editable row appears.
  3. Complete the fields below. The examples are fictional; use your own values.
FieldWhat to enterExample
NameA label for the dashboard. Required: rows with no name are not saved.My online shop
Website URLThe full address, including https://. This supplies the Open website link; it does not choose the GA4 data.https://www.example.com
GroupOptional category. Use the same spelling to put sites together. Blank becomes Ungrouped.Eshops
Property IDThe numeric GA4 Property ID. Required.123456789
Hostname filterOptional exact hostname as recorded by GA4. Useful if a property includes several websites. No https://, slash or path. Blank includes the entire property.www.example.com
Went onlineThe real website launch date, selected with the date picker. It cannot be in the future. If unknown, leave it blank.Your actual launch date
OrderA number controlling saved order. Lower numbers appear first within the group.10, 20, 30

Hostname example: example.com and www.example.com are different exact filters. If GA4 reports both, a filter for only one excludes the other. If the property is solely for this website, leaving the filter blank is usually appropriate.

C. Save and test

  1. Scroll below Chart lines — visible sorting and click Save settings. Adding a row alone does not save it.
  2. Confirm the website remains in My Websites after the page reloads.
  3. Open Dashboard. Find the website card and click Test connection, or use Refresh now to reload all sites.
  4. Check the website name, reporting dates and displayed values. Trenscope displays completed days, so today’s real-time traffic is not included.
  5. If a report fails or is empty, use the troubleshooting section below. A successful connection to an empty property does not create traffic data.

For the next website: grant the saved service-account email access to its GA4 property, copy its Property ID, add the row and save. Leave the credential upload and paste fields empty to keep the existing connection.

Edit or remove a website

Use Edit site on its dashboard card, or open My Websites. Change the row and click Save settings. To remove a row, click Delete, confirm, then Save settings. This removes it from Trenscope; it does not delete your website or your Google Analytics property. A launch date cannot create missing history: MA200 needs sufficient recorded data.

Optional video: Google service-account setup

Automate Google Analytics 4 (GA4) Reporting With Python | Step-By-Step Tutorial
Creator: Jie Jenn · Hosted on YouTube.

This independent tutorial includes service-account and GA4 access setup. It is not a Trenscope tutorial. Use the written instructions above for our buttons and current setup; the later Python installation and programming sections are not needed.

Watch the original creator’s tutorial.

Loading the player connects to YouTube. Nothing from YouTube is loaded until you click.

Watch on YouTube ↗

Relevant chapter: 06:33 — add the service account to the GA4 users list. The Python installation begins at 08:35; stop there for this setup. Video interfaces may differ from today’s Google screens.

Video credit and ownership: Jie Jenn. Embedded through YouTube, not copied or rehosted. No affiliation or endorsement is implied. If playback is unavailable here, use Watch on YouTube or follow the complete written guide.

Fix a connection problem

What you seeWhat to check
API disabled / API has not been used / HTTP 403Enable Google Analytics Data API in the project named by the error. It must be the project owning the uploaded service account. Allow the change time to take effect, then retry.
User does not have sufficient permissions / HTTP 403Compare the saved service-account email with the GA4 property’s Viewer entry. Confirm the Property ID belongs to that same property. Your personal access does not automatically give the service account access.
Invalid JSON or credentialsUse the original Google service-account JSON file. If pasting, include the entire file. A settings-export file is for Import settings, not Google API connection.
Key creation is disabledAsk your organisation’s Google Cloud administrator. The current Trenscope connection requires an authorised service-account JSON key.
Authentication fails after previously workingCheck whether the key was disabled/deleted or access was removed. If replacing a key, upload the new JSON, save and test before retiring the old working key.
Website disappears after savingCheck that Name was filled in, Property ID contains digits, and no validation error appeared. Remember to click Save settings.
No country rows or no trafficCheck GA4 collection, the requested dates and hostname filter. Confirm the property has processed data for completed days. Do not expect the live Realtime number to match this report.
MA20 / MA200 unavailableCheck the launch date and available history. A new website may not yet have a full moving-average window. Do not backdate launch to force an indicator.
Quota, timeout or network errorWait and retry. Avoid repeatedly forcing refresh. If persistent, contact support with the exact error and time; never include the private JSON key.

Copy, paste and transfer

  1. Save any edits on the source installation. Click Copy settings to another site to download a JSON file to your computer.
  2. Find that file in your browser downloads or the folder you chose.
  3. On the destination installation, open My Websites → Import the downloaded file → Choose File. Select the exported JSON file and click Import settings.
  4. Wait for the imported-and-saved confirmation, then open Dashboard. Import saves automatically; Save settings is only needed for later edits.

Export downloads your complete settings. Include Google API connection only when transferring your private key to another trusted installation. Upload or paste the transfer JSON to import. Import replaces your own settings, never another customer’s. Existing CK Analytics v1 transfer files are supported.

Reading the dashboard

World heatmap

The map uses the country table’s sessions and dates, even when the traffic chart is set to Page views or Daily active users. Darker green means more sessions; grey means no reported data. Each site has its own colour scale. Hover, tap or use keyboard focus to read country totals.

Publishing to the Blog

Website editors can use WordPress → Posts → Add New, write an article, optionally set a featured image, and Publish. It appears automatically in Blog. Drafts and scheduled posts appear only when published. Edit an existing post and click Update to change it.

Ulysses users can connect this WordPress website as a publishing account, authorise access, then publish a standard post. The same Blog displays it; no special Trenscope fields are needed. See the official Ulysses publishing guide. Writing and managing posts requires a WordPress author/editor account, not a customer subscription.

Official references and video credit

Setup references checked 9 October 2026. Google may change menu labels; the linked documentation is maintained by its publisher.

  1. Google Analytics Help — Add, edit, and delete Analytics users and user groups.
  2. Google for Developers — Google Analytics Data API quickstart. Developer code examples are not required for Trenscope.
  3. Google Cloud — Create service accounts.
  4. Google Cloud — Create and delete service account keys.
  5. Google for Developers — Property ID.
  6. Jie Jenn — Automate Google Analytics 4 (GA4) Reporting With Python | Step-By-Step Tutorial, YouTube. Creator’s channel.

Open My Websites Back to setup ↑