Google Analytics 4 (GA4) Setup

Finding Your GA4 Measurement ID

  1. Go to Google Analytics
  2. Click Admin (gear icon)
  3. Select your property
  4. Click Data Streams
  5. Select your web stream
  6. Copy the Measurement ID (starts with “G-“)

Required Configuration

Field Where to Find It
Measurement ID Data Streams → Web Stream
API Secret (for server-side) Data Streams → Measurement Protocol API secrets

Creating an API Secret (for Pro users)

  1. In your Data Stream, scroll to Measurement Protocol API secrets
  2. Click Create
  3. Name it “TrackShift”
  4. Copy the secret value
  5. Enter it in TrackShift → Integrations → GA4

Events Sent to GA4

TrackShift Event GA4 Event Name
page_viewed page_view
product_viewed view_item
product_added_to_cart add_to_cart
checkout_started begin_checkout
payment_info_submitted add_payment_info
checkout_completed purchase

Last updated: January 16, 2026