Google Analytics 4
Saobraćaj bilo koje Google Analytics 4 property.
What you get
Section titled “What you get”| Metric | Meaning in Google Analytics | Period value |
|---|---|---|
| Visitors | Total users | Exact unique users for the whole period |
| Visits | Sessions | Sum of the days |
| Page views | Views (page and screen views) | Sum of the days |
Dani u property reporting timezone. Poslednja tri dana provisional — Google može revidirati.
Before you start
Section titled “Before you start”- Editor ili Administrator na property (add user).
- Google Cloud project za service account. Besplatan Google nalog OK.
Service account = Google nalog za softver. Viewer na property; Metribay se prijavljuje kao on. Reuse za properties i Search Console.
Step 1: Create a service account
Section titled “Step 1: Create a service account”-
Google Cloud console — project ili nov „Metribay“.
-
APIs & Services → Library — enable Google Analytics Data API i Google Analytics Admin API.
-
IAM & Admin → Service Accounts → Create service account, npr.
metribay-reader. Preskoči project roles → Done. -
Service account → Keys → Add key → Create new key → JSON. Download — čuvaj.
-
Kopiraj email (
…iam.gserviceaccount.com).
Step 2: Give it access to your property
Section titled “Step 2: Give it access to your property”-
Google Analytics → Admin.
-
Property → Property access management (ili Account access management za sve properties).
-
+ → Add users, paste service account email, Viewer. Untick email notification OK.
-
Add.
Step 3: Connect it in Metribay
Section titled “Step 3: Connect it in Metribay”-
Project page → Add data source → Google Analytics 4.
-
Connect an account with your own credentials → paste ceo JSON u Service account JSON.
-
Save account and continue — provera key-a.
-
Property sa liste. Reporting timezone auto.
-
Add and start import.
Obriši lokalni JSON posle — Metribay drži šifrovanu kopiju.
Enter the property by hand
Section titled “Enter the property by hand”Enter it manually:
- Property ID: broj pod Admin → Property details, npr.
412345678. NeG-measurement ID. - Property reporting timezone: Admin → Property details — mora da se slaže.
Advanced: OAuth refresh token
Section titled “Advanced: OAuth refresh token”Use OAuth credentials instead: Client Id, Client Secret, Refresh Token sa analytics.readonly. Prazan Service account JSON. Samo ako vodiš OAuth app.
If collection fails
Section titled “If collection fails”Property isn’t listed. Nije dodat na property ili Admin API off. Korak 2, sačekaj, Refresh list.
Needs attention after success. Pristup uklonjen ili key obrisan. Ponovo dodaj ili nov key → update connected account.
Sampled/thresholded data. Metribay ne čuva procene. Admin → Reporting identity → Device-based često rešava.