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

EventWhen It Fires
PageViewEvery time a visitor loads any of your promotion pages
LeadWhen 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

  1. Go to Google Analytics
  2. Click Admin (gear icon)
  3. Under Property Settings, click Data Streams
  4. Click your web stream
  5. Copy the Measurement ID (format: G-XXXXXXXXXX)

Step 2

Add Your ID in Dashboard

  1. Go to Dashboard → Settings → Profile
  2. Scroll to the "Analytics Integration" section
  3. Enter your Google Analytics 4 ID
  4. Click Save Changes

Step 3

Verify It's Working

  1. Open your promotion page in a browser
  2. Go to Google Analytics → Reports → Realtime
  3. You should see your visit appear within seconds

Validation

Format Requirements

The system validates your ID before saving:

FieldValid FormatExample
Google Analytics 4 IDStarts with G- followed by letters/numbersG-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.

Next