Analytics
Google Analytics
Set up Google Analytics (GA4).
Overview
Google Analytics (GA4) tracks traffic and user behavior.
Quick start
1) Create a GA4 property
- Sign in to Google Analytics.
- Create a GA4 property and copy the Measurement ID.
2) Configure the app
Set the environment variable:
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXXshipkit loads GA4 automatically when this variable is present.
3) Verify
After deployment, check the Realtime view in Google Analytics.