Read how the site does in Google Search
get_search_performanceRetrieve Google search clicks, impressions, click-through rate, and average position for your site over a date range, with optional ranking by query or page to identify top performers.
Instructions
Clicks, impressions, click-through rate and average position of the active project's site in ordinary Google results, with the daily timeline behind them.
Pass by to rank the period instead of totalling it: query for the phrases people found the site with, page for the pages Google sends them to. A ranking is built by adding the period up, so it answers with the strongest entries rather than a list to walk to the end of — raise limit to see further down.
Google's figures answer a different question from everything else here: visibility counts the answers that named the brand, and this counts the people who then arrived. Search Console covers ordinary Google results — ctr is a rate between 0 and 1, and position counts from 1, so lower is better. AI traffic is Google Analytics sessions whose referrer was recognised as an assistant, which undercounts by design: an assistant that names the brand without linking it sends nobody, and somebody who reads an answer and then types the domain arrives as direct traffic. Read a rise here as people acting on the answers, never as how often the brand is named. Mind the two senses of the phrase: the aiTraffic field on a prompt is the demand behind that question, while get_ai_traffic counts sessions that reached the site.
Both integrations are bound to the project in the PromptEye app. A project with nothing bound answers with zeros and empty lists, which reads exactly like a site nobody visits — so call get_google_status before reporting a zero as a finding, and say which of the two it was.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Rank the period along this axis instead of reporting its totals. | |
| limit | No | How many entries to return, at most 200. Ignored without `by`. | |
| endDate | No | Last day to report on, inclusive. Defaults to today, and must be within 366 days of startDate. | |
| startDate | No | First day to report on, inclusive. Defaults to 30 days before today. |