devtune_get_ai_referrals
Get complete paginated AI-referral landing pages (including engagement and page value), overview, and the complete engines breakdown with selected-provider sessions, distinct selected conversions, provider provenance, coverage gaps and native metrics for the same fixed window. Selected conversion events with no site visit, such as server-sent events, are reported as noSiteVisitOccurrences and are not coverage gaps. conversionDefinitions gives, per selected PostHog event or action that occurred in the same window (ones with no occurrences are omitted), occurrences with no site visit and occurrences tied to a site visit, with windowComplete; one with no site-visit occurrences in a complete window cannot be credited to AI. GA4 key events are omitted because they are always session-scoped. Also returns visitorShare: AI-referral sessions over all sessions from the selected analytics provider for the same window (0 to 1), whenever the provider imported every day and recorded sessions. Sessions that may be AI referrals but could not be traced (unknown source or site) are not counted as AI; unattributedSessions counts them and partial is true when there are any; priorShare appears only when both windows have a share, with priorPartial. With no provider, a day not imported or no sessions, the share is null with a reason, never 0. Also returns pageComparison: for each landing page in this page of results, engagement, bounce and conversion rates for AI-referral sessions against every other session on the same page over the same window. Rates appear only when status is compared, meaning the provider imported every day, no AI-referral session that could belong to the page is untraced, at most 2% of the page's other traffic is untraced (untracedShare gives the share on every compared page), and both sides have minimumSessions; otherwise reason says why (incomplete_import, needs_reauth, incomplete_attribution, too_few_ai_sessions, too_few_other_sessions). A compared page with no conversion rate has conversionReason no_key_events or incomplete_attribution. gap names a project-level gap (no_source, disconnected, needs_reauth, incomplete_import, no_key_events). Conversions with no site visit are left out of both sides and counted in noSiteVisitConversions. Sessions are not people; conversion rates are events per session. Missing provider measurements remain null.
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": "devtune_get_ai_referrals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The same setting as pageSize. Send either. | |
| cursor | No | Opaque cursor from the previous response; cursors expire after ~48 hours. | |
| pageSize | No | Results per page (1-100). Defaults to 25. | |
| windowDays | No | Fixed rolling window in days: 7, 30, or 90. Defaults to 30. |