/aeo-toolkit:aeo-ai-referral-analyticsfrom AEO Toolkit
Measures traffic from AI assistants (ChatGPT, Perplexity, Claude) using Google Analytics 4. Covers GA4 queries, referrer regex matching, landing page analysis, and explains why counts are always undercounts.
Ships in AEO Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
AI assistants send some visitors with a referrer or a utm_source tag, and GA4 records
them. That subset is measurable. It is a floor, not the total: most AI influence never
produces a tagged click. Report it as "at least N sessions", never as the size of AI impact.
aeo-visibility-tracking.list_ga4_properties, confirm the property with the user. Don't guess the ID.ga4_run_report takes propertyId, dateRanges,
dimensions, metrics and limit only: there is no filter argument. So request
a broad grouping and filter the returned rows:
sessionSource, sessionMedium (add landingPage for step 4)sessions, engagedSessions, keyEvents (use only metric names GA4 accepts for
the property; if a call errors, drop the metric rather than guessing)limit: high (e.g. 10000) so the long tail of sources is not truncated.
Use a range of at least 28 days. Keep the same length when comparing periods.references/ga4-setup.md to sessionSource.
Also list sources that almost match and any unfamiliar source containing ai, gpt,
chat or claude, and show them to the user: new assistants appear faster than any
list. Do not silently drop or add rows.landingPage and sessionSource, filter to the AI
sources, rank pages by sessions. These are the pages assistants actually send people to.
Compare against pages you expected; mismatches are the useful finding.date + sessionSource weekly if the volume supports it.utm_source=chatgpt.com to links it sends, and
that this tracking depends on the site allowing OAI-SearchBot. Verified via an excerpt
of that FAQ; OpenAI's help pages block automated fetching, so re-read it before quoting.sessionSource, sessionMedium, sessionDefaultChannelGroup,
landingPage and pageReferrer exist in the Data API schema (verified 2026-11-13).
pageReferrer is the full previous URL, per page, not per session.Do not "correct" for undercounting with a multiplier. There is no verified one.
direct growth as AI traffic with no other evidence.utm_source=chatgpt.com), verified 2026-11-13 via search excerpt only.ga4_run_report definition, verified 2026-11-13.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub advance-labs/aeo-toolkit --plugin aeo-toolkit25 skills in this plugin
/aeoEntry point for making a website show up and get cited in AI answers (ChatGPT, Claude, Perplexity, Gemini, Google AI Overviews, Copilot). Use when someone asks to "do AEO" on a site, improve AI search visibility, get recommended by ChatGPT, audit a site for answer engines, or fix a list of AEO audit findings, and it is not yet clear which specific fix applies. Runs or reads an audit, groups the failures, orders them by impact, and hands each group to the skill that owns it. Uses the aeo-toolkit MCP server if connected; works without it./aeo-ai-crawler-accessCheck and fix whether AI crawlers can reach a site, and decide which ones to allow. Use when someone asks "why isn't ChatGPT or Perplexity citing my site", "should I block GPTBot", "allow AI crawlers", "AI bots blocked", "robots.txt for AI", "Cloudflare is blocking AI bots", or when the audit fails aeo.ai-bots-allowed or tech.robots-present. Covers training bots vs search and user-fetch bots, robots.txt, and CDN/WAF blocking that overrides robots.txt. Uses the aeo-toolkit MCP server if connected; works without it./aeo-answer-first-contentRestructure existing pages so an answer engine can lift a clean answer out of them, without wrecking the author's voice. Use when someone asks why ChatGPT, Perplexity or Google AI Overviews don't quote their page, how to write for AI answers, how to structure a post for featured snippets, whether to add FAQ-style or question headings, why a page is flagged as thin, has no headings, has two H1s or skips heading levels, or when an audit fails aeo.question-headings, aeo.answerable-content, aeo.content-extractability, tech.content-not-thin, tech.single-h1 or tech.heading-hierarchy. Uses the aeo-toolkit MCP server if connected; works without it./aeo-article-author-schemaMark up articles and blog posts with Article, BlogPosting or TechArticle JSON-LD whose author is a real Person linked to an author page, with datePublished, dateModified and a publisher that points at the organization. Use when someone asks to add article schema, author markup, byline or author bio schema, fix "article and author schema missing", "author not identified" or "Person schema" audit findings, or improve E-E-A-T attribution for blog and docs content. Covers aeo.article-author-schema, eeat.expertise.person-schema and eeat.expertise.article-markup. Uses the aeo-toolkit MCP server if connected; works without it./aeo-citation-earningEarn the off-site mentions and links that make a site more likely to be cited by AI answer engines - find where competitors are cited or linked, turn unlinked brand mentions into links, prospect relevant sites, draft honest outreach, and confirm links went live. Use when someone asks about "backlinks", "link building", "who links to my competitor", "unlinked mentions", "guest post prospects", "digital PR", "how do I get cited by ChatGPT or Perplexity", or "did my link go live". Uses the aeo-toolkit MCP server (find_prospects, find_mentions, extract_contact_info, check_page_history, generate_outreach_email, verify_page_links, find_competitor_link_sources, check_ai_visibility)./aeo-content-freshnessMake a site's "last updated" signals honest and consistent, and decide which pages are worth a real refresh. Use when someone asks about dateModified, datePublished, "last updated" dates on posts, whether to bump dates to look fresh, sitemap lastmod values, a sitemap where every URL has today's date, future dates in a sitemap, or why an audit fails aeo.content-freshness or tech.sitemap-lastmod-trustworthy. Hands off to seo-content-decay to choose which pages to refresh. Uses the aeo-toolkit MCP server if connected; works without it.