ShipKit.one
Analytics

Google Analytics

Set up Google Analytics (GA4).

Overview

Google Analytics (GA4) tracks traffic and user behavior.

Quick start

1) Create a GA4 property

  1. Sign in to Google Analytics.
  2. Create a GA4 property and copy the Measurement ID.

2) Configure the app

Set the environment variable:

NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX

shipkit loads GA4 automatically when this variable is present.

3) Verify

After deployment, check the Realtime view in Google Analytics.

References

On this page