Back
Building with AI

GA4 prompts to track AI referral traffic and conversions

Eight GA4 prompts to track visits from AI assistants: build a referrer list, set up a channel group, report landing pages and key events, and explain data gaps.
December 4, 2026
•
AirOps Team

Summary

  • Visits from AI assistants show up in GA4, but they are easy to miss inside referral traffic, which makes answer engine optimization (AEO) results hard to show.
  • Eight prompts help you build a list of AI assistant referrers, set up a channel group, and report landing pages and key events.
  • A gap prompt explains why some AI visits arrive with no referrer, so the numbers are read with care.
  • The work stops at GA4; CRM attribution is a separate step.
  • Confirm each setting in your own GA4 property before you rely on the report.

When someone clicks a link in an AI answer, the visit can reach GA4 as referral traffic from the assistant's domain. Without a setup step, those visits sit among other referrals, and nobody can say how many there were or what they did next.

These eight prompts help a Head of SEO set up and read AI assistant traffic in GA4: build and maintain a referrer list, create a channel group, report landing pages and key events, compare with organic search, explain data gaps, and write a monthly readout.

GA4 menus and features change, so check each step against your property and Google's current help pages. For the term itself, see the AI referral traffic definition.

What GA4 can and cannot show

  • Can show: visits with an AI assistant referrer, their landing pages, engagement, and key events.
  • Cannot show reliably: visits where the referrer is missing, such as some app or copied-link visits.
  • Not in GA4: pipeline and revenue in your CRM. For that step, see the HubSpot AI lead attribution prompts.

Setup checklist

  • A maintained list of AI assistant referrer domains.
  • A channel group or segment that uses the list.
  • Key events defined for the actions that matter.
  • An owner who reviews the list each quarter.

8 prompts

1. Referrer list prompt

The Prompt:

Here are referral sources from our GA4 property for [period]: [paste source and medium list]. Identify the sources that are AI assistants or AI search products, such as chatgpt.com or perplexity.ai, and list each domain with the product name. Mark any source you are unsure about.

When to Use It: At setup, and each quarter to catch new sources.

Variations:

  • "Return the list as a regex pattern I can paste into GA4."
  • "Flag sources that may be browser extensions rather than assistants."

Additional Information Required: A GA4 referral source export.

2. Channel group setup prompt

The Prompt:

Write step-by-step instructions to create a custom channel group in GA4 that puts these AI assistant referrers: [list or regex] into a channel named 'AI assistants', placed above the referral channel. Note anything I should confirm in the current GA4 interface.

When to Use It: When setting up AI traffic reporting for the first time.

Variations:

  • "Write the steps for a property with an existing custom channel group."
  • "Add a test to confirm the channel works."

Additional Information Required: The referrer list and admin access to GA4.

3. Landing page report prompt

The Prompt:

Here is GA4 data for the AI assistants channel: [landing page, sessions, engagement, key events]. Summarize which pages receive AI assistant visits, how those visits engage compared with organic search visits to the same pages: [paste], and which pages to review.

When to Use It: Monthly, once the channel exists.

Variations:

  • "Group pages by content type."
  • "List pages with visits but no key events."

Additional Information Required: Landing page data for AI assistant and organic channels.

4. Key event check prompt

The Prompt:

List the key events in our GA4 property: [paste]. Suggest which ones matter for visits from AI assistants, such as demo requests, sign-ups, or pricing page views, and flag events that are missing or badly defined.

When to Use It: During setup, before you report conversions.

Variations:

  • "Add events for content downloads."
  • "Write the definitions for the analytics owner."

Additional Information Required: Your key event list and business goals.

5. Organic comparison prompt

The Prompt:

Compare AI assistant visits with organic search visits for [period]: [paste both]. Show differences in landing pages, engagement, and key event rates. Note where the AI assistant sample is too small to compare.

When to Use It: Quarterly, to see how AI visits differ from search visits.

Variations:

  • "Limit it to the pricing and product pages."
  • "Add a chart description for the report."

Additional Information Required: Channel data for both sources.

6. Data gap explanation prompt

The Prompt:

Explain, for a leadership audience, why GA4 may undercount visits from AI assistants: missing referrers, app traffic, copied links, and privacy settings. Then list what we can do about each, and what we should say in reports.

When to Use It: Before you share AI traffic numbers with leadership.

Variations:

  • "Write it as a two-sentence footnote."
  • "Add ideas to estimate the missing share, marked as estimates."

Additional Information Required: Your setup notes.

8. Monthly AI traffic readout prompt

The Prompt:

Write a monthly readout of AI assistant traffic from GA4: [paste data for two months]. Include visits, landing pages ranked by visits, key events, changes, and data gaps. Keep it to five sentences and separate facts from interpretation.

When to Use It: Monthly.

Variations:

  • "Write it for the CMO."
  • "Add the next steps for the content team."

Additional Information Required: Two months of GA4 data.

How AirOps fits this work

AirOps is an enterprise AEO platform and expert partner for marketing leaders, connecting AI search intelligence, coordinated action across channels, and measurement tied to growth. AirOps Analytics reports page clicks, impressions, and AI citations, and tracks mentions and citations across up to 9 engines, and it connects to GA4, so Pages shows traffic, engagement, and selected key events next to each page's AI citations. For pipeline attribution, see the AI pipeline attribution prompts. For more on this topic, see our answer engine optimization hub. To build prompting skills, take a course at AirOps University. Related: AirOps for enterprise.

FAQ

Does GA4 show traffic from ChatGPT?

Visits with a ChatGPT referrer can appear as referral traffic. A custom channel group makes them easier to report. Prompts 1 and 2 cover setup.

Why are AI assistant numbers low in GA4?

Some visits arrive with no referrer, for example from apps or copied links. Prompt 6 explains the gaps for leadership.

Which AI referrers should we include?

Those in your own referral data that belong to AI assistants or AI search products. Review the list each quarter.

Can GA4 show pipeline from AI visits?

GA4 shows key events. Pipeline and revenue sit in your CRM; see the HubSpot AI lead attribution prompts.

What is AI referral traffic?

See the AI referral traffic definition.

Run the AEO strategy that wins AI discovery

AirOps works with you to set and execute the right AI search strategy to drive growth for your brand.
Start Growing

Turn the AI-first buyer shift into a category advantage

Whether you’re starting from square one with AI discovery or ramping a successful program, our team will meet you where you are to drive results.