INK / BY CODE+INK

Setup

Connecting Google Analytics

Two ways to let INK read your GA4 property, where to find the property ID, and how to test it.

Updated 14 October 2026

INK reads Google Analytics 4 for traffic, conversions and the live-users block. It needs two things: permission to read your property, and the property's ID.

Step 1: give INK access

There are two routes. Which one you see depends on how your developer installed the plugin.

Connect with your own Google account. Click Connect Google Analytics, sign in with an account that can at least view the property, and allow read-only access. INK keeps the resulting token in your own database. Before saving it, INK checks that the account can actually read the property you entered; if it can't, nothing is changed and you are told why.

Add the agency email as a Viewer. If an agency email is shown, copy it, then in Google Analytics go to Admin → Property Access Management → + Add users, paste the email, choose the role Viewer, untick "Notify by email", and add. INK then reads the property under that identity.

If both are offered, either works. The connected account takes precedence when both exist.

Step 2: the property ID

Paste the numeric property ID. Find it in Google Analytics under Admin → Property settings. It is a number such as 337097713.

The common mistake is pasting the measurement ID, which starts with "G-". That identifies a data stream, not a property, and INK will refuse it with a message saying so.

Step 3: test the connection

Click Test connection. A successful test reads seven days of sessions and shows the count: Connected — 4,210 sessions in last 7d. A failure shows the reason from Google, most often that the identity INK is using has no access to that property yet.

Access changes in Google Analytics can take a few minutes to propagate. If a test fails straight after you added the Viewer, wait and try again.

After setup

The connection has a permanent home at the foot of the Analytics tab, in the GA4 connection card. It shows which identity is in use, since when, and for which property.

  • Connect Google Analytics appears when INK is using agency-managed access. Use it to switch to your own account.
  • Disconnect appears when your own account is connected. It removes the token from your database and INK falls back to agency-managed access if that exists. To fully revoke access on Google's side as well, remove INK at myaccount.google.com/permissions.

If the connection breaks later

The Analytics tab shows the error from Google. The three usual causes:

  • The person whose account was connected has left or lost access to the property. Reconnect with another account.
  • The agency email was removed from the property. Add it back as a Viewer.
  • The property ID on the profile was edited to the wrong value. Check it against Admin → Property settings.