Matomo setup

Matomo: the AI Assistant channel type and the Channel Type Is ai segment

Matomo has an AI Assistant channel type: Matomo Cloud first, and Matomo On-Premise from version 5.5.0. It recognizes ChatGPT, Copilot, Gemini, Claude, Le Chat, Meta AI, iAsk and Perplexity. To isolate the visits, add the segment condition Channel Type Is ai. It applies only to data collected after the update.

Updated Last checked How we check

On this page

Copy the filter for Matomo

Assistants

Hostnames

Only hostnames with a test or a vendor source.

UTM variants

For hand-made tags such as utm_source=chatgpt.

7 values for matomo.

Segment: native channel type (Matomo 5.5.0 and later, or Matomo Cloud)
Channel Type Is ai

Add this condition in the segment editor.

Segment: by referrer URL (works on older versions)
referrerUrl=@chatgpt.com,referrerUrl=@perplexity.ai,referrerUrl=@claude.ai,referrerUrl=@gemini.google.com,referrerUrl=@copilot.microsoft.com,referrerUrl=@www.meta.ai,referrerUrl=@chat.mistral.ai

=@ means contains, a comma means OR. Because it is a contains match, it also hits lookalike hosts such as notchatgpt.com. It misses visits that only carry a utm_source.

Syntax partly documented7 values

  • The native channel is documented by Matomo; the referrerUrl segment follows Matomo's segment syntax and is our recipe, so test it in the segment editor.
  • The native channel only applies to data collected after the update; earlier visits keep their old channel.
  • The list holds exact hostnames. A www. variant (for example www.chatgpt.com) is recognized by the referrer checker but is not in this pattern; add it if your reports show it.

Built from the referrer list (checked ). Settings are not saved; the page works offline once loaded.

Versions and what changed

MatomoAI Assistant channel typeWhat to do
CloudAvailable after the Cloud update is applied; the FAQ gives no dateUse the native segment
On-Premise 5.5.0 and laterAvailableUse the native segment
On-Premise before 5.5.0Not documented in the FAQ we readUpdate, or use the referrerUrl segment below

Assistants named in Matomo's FAQ: ChatGPT, Copilot, Gemini, Claude, Le Chat, Meta AI, iAsk and Perplexity. Grok, DeepSeek and You.com are not named there. On-Premise runs on PHP, so if you update Matomo, also read what self-hosters should patch for PHP2Shell.

Segments

In the segment editor, add the condition Channel Type Is ai (documented by Matomo). For older versions, or to check a single hostname, the generator also prints a referrerUrl=@hostname segment. That form follows Matomo's segment syntax (=@ means contains, a comma means OR); it is our recipe, not a line from Matomo's FAQ, so test it in the segment editor first. Because it is a contains match, it also hits lookalike hosts such as notchatgpt.com.

  1. Open the segment editor and create a segment.
  2. Add the condition Channel Type Is ai, or paste the referrerUrl expression from the generator.
  3. Apply it to the Referrers report and look at the visits per source.
  4. Compare the numbers of both segments. The referrerUrl segment misses visits that only carry a utm_source.

Retroactivity

Matomo says the new channel type only applies to data collected after the Cloud update is applied. Earlier visits stay under their original channels, such as Referral or Direct, and the detailed channel reports and row evolution are not available for historical data. The FAQ adds that the AI Assistants report may still show past data, based on internal filtering of known AI referrers. The practical reading: do not compare the AI channel across the update date, and remember that some AI clicks still arrive as Direct.

Follow-up questions

Is the Matomo list the same as GA4's?

No. Matomo names eight assistants including Le Chat, Meta AI and iAsk; GA4's sources differ. See the GA4 comparison.

Does a utm_source make a visit an AI Assistant visit?

Matomo's AI FAQ describes a channel type based on recognized AI referrers and says nothing about tags. Matomo's separate campaign FAQ says it detects Google Analytics campaign parameters and that utm_source, utm_medium and utm_campaign feed the Campaign name dimension in the core install. Use the referrer checker to see what a tag-only visit looks like to a referrer-based rule.

Where do I see the raw utm_source values of AI visits?

In the campaign reports, not in the AI channel segment. Separate source and medium reports need Matomo's MarketingCampaignsReporting plugin. Gemini is reported to add UTM tags to its links; the check guide explains how to read what actually arrives.

Sources

Read on . Links lead to the original pages.