Add Google Analytics
Track visitor activity and conversions on your promotion pages with your own Google Analytics 4 account. When enabled, your GA4 tracking code will automatically load on all your public promotion pages.
Overview
Where Tracking Works
Your Google Analytics 4 tracking code will automatically load on:
/contest/...- Competition pages/promote/...- Landing pages/levelup/...- Gamification pages
Events
Events Tracked
| Event | When It Fires |
|---|---|
| PageView | Every time a visitor loads any of your promotion pages |
| Lead | When a visitor successfully signs up or logs in |
The PageView event helps you understand traffic patterns, while the Lead event tracks actual conversions (email signups and social logins).
Availability
Who Can Use This
This is a paid feature. Trial users will see the Analytics Integration section in Settings but won't be able to save tracking IDs until they upgrade. Once your subscription ends, tracking scripts are automatically disabled on your promotion pages.
Step 1
Find Your GA4 Measurement ID
- Go to Google Analytics
- Click Admin (gear icon)
- Under Property Settings, click Data Streams
- Click your web stream
- Copy the Measurement ID (format:
G-XXXXXXXXXX)
Step 2
Add Your ID in Dashboard
- Go to Dashboard → Settings → Profile
- Scroll to the "Analytics Integration" section
- Enter your Google Analytics 4 ID
- Click Save Changes
Step 3
Verify It's Working
- Open your promotion page in a browser
- Go to Google Analytics → Reports → Realtime
- You should see your visit appear within seconds
Validation
Format Requirements
The system validates your ID before saving:
| Field | Valid Format | Example |
|---|---|---|
| Google Analytics 4 ID | Starts with G- followed by letters/numbers | G-ABC123XYZ |
If you enter an invalid format, you'll see an error message and won't be able to save.
Troubleshooting
Common Issues
Scripts not appearing in page source?
This is expected. The tracking scripts load after the initial HTML is rendered. Use browser developer tools (Network tab) to verify they're loading correctly.
PageView not showing in analytics?
- Double-check that your ID is entered correctly
- Make sure you have an active paid subscription
- Try viewing your promotion page in an incognito window (ad blockers may interfere)
Lead event not firing?
- The Lead event only fires on successful signup/login
- Make sure you're testing on an actual promotion page, not the dashboard preview
- Check the browser console for any JavaScript errors
Analytics still working after subscription ended?
If you see tracking still active after your subscription ends, it may be cached. Wait a few minutes and try a hard refresh (Ctrl+Shift+R).
Privacy
Privacy Considerations
- You are responsible for complying with privacy regulations (GDPR, CCPA, etc.)
- Consider adding a cookie consent banner if required in your jurisdiction
- Google provides its own privacy controls and documentation
Need help with your analytics setup? Contact support@hyperstarter.com.
Meta Pixel Tracking
Set up Facebook/Meta Pixel tracking for your promotion pages.