Google Analytics 4 Integration
Connect GA4 to view traffic metrics directly in your WordPress dashboard
Overview
Google Analytics 4 (GA4) is Google's next-generation analytics platform that provides comprehensive insights into user behavior across your website.
ProRank SEO integrates with GA4 to inject the tracking script and display key metrics in your WordPress dashboard.
Pro+ Required
Setup Instructions
Step 1: Create GA4 Property
- Go to Google Analytics
- Click Admin (gear icon) in the bottom left
- Click "Create Property"
- Enter your website details
- Select your business information
- Accept the terms of service
Step 2: Ensure a GA4 Property Exists
Make sure you have a GA4 property and web data stream set up in Google Analytics. You will need the Measurement ID (starts with G-) for the tracking setup below.
Step 3: Enable GA4 Tracking Script
To output the GA4 tracking script on your site's frontend:
- Navigate to ProRank SEO → Analytics → Settings
- Toggle "Enable Google Analytics 4" on
- Enter your Measurement ID (G-XXXXXXXXXX)
- Optionally enable "Anonymize IP" and "Track Downloads"
- Pro+ only: enable "Consent Mode" and configure "Custom Dimensions"
- Save settings
Step 4: Connect Analytics Dashboard (Optional)
To view GA4 metrics inside ProRank's Analytics dashboard:
- Navigate to ProRank SEO → Analytics → Integrations Setup
- Click "Connect Google Analytics"
- Authorise via the ProRank OAuth proxy (opens a Google consent screen)
- Select your GA4 property from the dropdown (saves automatically on change)
Analytics Dashboard and Tracking Features
Dashboard Metrics
- Sessions
- Pageviews
- Users
- Top Pages
Tracking Script Features
- File Download Tracking
- Custom Dimensions
- Consent Mode Integration
- IP Anonymisation
GA4 Tracking Script
Privacy & Compliance
GDPR Compliance
ProRank SEO integrates with third-party consent plugins (Cookiebot, Complianz, WP Consent API) and supports IP anonymisation to help with GDPR compliance.
Data Retention
Data retention periods are configured in your Google Analytics 4 admin panel (Admin → Data Settings → Data Retention). ProRank SEO does not store analytics data locally.