Context
Use this when onboarding a new SEO client or when analytics data doesn't match GSC observations. GA4 is the primary tool for understanding what organic and AI-referred visitors do after landing. Proper configuration ensures SEO work is measurable and attributable, and that AI referral traffic from ChatGPT, Perplexity, and Gemini is tracked separately.
Procedure
- Verify GA4 tag installation: correct property, all pages tagged, no duplicate tags.
- Audit channel groupings: confirm "Organic Search" captures all search engine traffic correctly.
- Configure AI referral tracking: add ChatGPT (chat.openai.com), Perplexity (perplexity.ai), Gemini (gemini.google.com), and Claude (claude.ai) as recognized referral sources in a custom channel group.
- Map conversion events: identify which GA4 events correspond to SEO-relevant business goals (form submissions, calls, purchases, sign-ups).
- Verify landing page reporting: ensure URL parameters are handled correctly and not creating false page variations.
- Check consent mode and data collection settings for privacy compliance.
- Build or recommend a reporting dashboard for organic + AI traffic with conversion attribution.
Output Format
# GA4 SEO Audit: [Property Name]
## Installation Check
| Check | Status | Issue | Fix |
|-------|--------|-------|-----|
| Tag on all pages | OK/Issue | | |
| No duplicate tags | OK/Issue | | |
| Correct property ID | OK/Issue | | |
| Consent mode configured | OK/Issue | | |
## Channel Grouping
| Channel | Current Config | Issue | Recommended |
|---------|---------------|-------|-------------|
| Organic Search | | | |
| AI Referral (custom) | Not configured | Missing | Add custom group |
| Paid Search | | | |
## AI Referral Source Configuration
| Source Domain | Platform | Recommended Channel | Status |
|-------------|----------|-------------------|--------|
| chat.openai.com | ChatGPT | AI Referral | [Add/OK] |
| perplexity.ai | Perplexity | AI Referral | [Add/OK] |
| gemini.google.com | Gemini | AI Referral | [Add/OK] |
| claude.ai | Claude | AI Referral | [Add/OK] |
## Conversion Events
| Business Goal | GA4 Event | Configured? | Fix |
|-------------|----------|------------|-----|
| Form submission | | Yes/No | |
| Phone call click | | Yes/No | |
| Purchase | | Yes/No | |
## Dashboard Template
- Organic sessions (MoM trend)
- AI referral sessions by source (MoM trend)
- Top landing pages by organic traffic
- Conversion rate by channel (Organic vs AI Referral vs Direct)
- Top queries driving conversions (requires GSC linking)
QA Rubric (scored)
- Installation accuracy (0-5): tag verified on all pages, no duplicates, correct property.
- AI tracking coverage (0-5): all major AI referral sources configured and grouped.
- Conversion mapping (0-5): events match real business goals and are firing correctly.
- Reporting utility (0-5): dashboard template provides actionable organic and AI traffic insights.
Examples (good/bad)
- Good: "AI referral traffic from chat.openai.com currently grouped under 'Referral' along with 200 other sources. Fix: create custom 'AI Referral' channel group capturing ChatGPT, Perplexity, Gemini, and Claude domains. This separates AI-driven visits for GEO reporting."
- Bad: "Set up Google Analytics on your site." (no audit, no specific configuration, no AI tracking)
Variants
- Setup variant: fresh GA4 configuration for a new site with SEO and GEO tracking from day one.
- Audit variant: review existing GA4 implementation, fix issues, and add AI referral tracking.