google-analytics

Ga Traffic Sources

Traffic by source/channel with AI-assistant referral detection.

Compares the last days window to the prior one and surfaces sessions from ChatGPT / Perplexity / Claude / Gemini / Copilot etc.

get/ga/traffic-sources

Request

  • Base URL: https://api.xeorank.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.xeorank.com/ga/traffic-sources
  • Auth: API key in header X-Agent-Key

Query parameters

emailstring required

Signed-in user email

site_idstring required

Site UUID

daysinteger

Window length in days (compared to the prior window)

start_datestring nullable

Start date (YYYY-MM-DD)

end_datestring nullable

End date (YYYY-MM-DD)

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.