Get the GA4 pattern for AI traffic
get_ai_traffic_setupGet the regular expression that matches visits sent by AI assistants (ChatGPT, Perplexity, Claude, Gemini, Copilot and others) for Google Analytics 4, with the steps to add an AI channel and what the numbers miss. Answers from what you send alone: nothing is fetched or stored.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_ai_traffic_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Other AI sites to include. Host names, separated by commas. Leave empty for the standard list. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| toolUrl | Yes |