Search
Google searches that brought visitors, from Search Console
Analytics → Search shows what people searched on Google before they came to your site: your queries and pages with their clicks, impressions, click-through rate and average position in Google Search. The numbers come from Google Search Console, so the site must be in your Search Console first.
Connect Google Search Console
You need the analytics.manage permission (owners and admins have it).
Connect Google
Open Analytics → Search, or Analytics settings → Search Console, and click Connect Google Search Console. Google asks you to pick an account and to let Viakite see your Search Console data. Viakite asks only to read it, and keeps the access encrypted.
Pick the property
Back in Viakite, pick the Search Console property to import and click Import this property. The list shows every property of the Google account; the ones covering the hostnames your visitors came to in the last 30 days come first, marked matches this project.
How the import works
Viakite imports Search Console a day at a time, every hour:
- first the last 5 days, so the page fills within the hour;
- then back as far as your plan keeps data, up to 16 months (all Google keeps), 30 days an hour, so the history is in within a day;
- after that, the last 5 days again once a day, since Google's numbers for a day settle two or three days later.
While the history comes in, the settings page shows the days imported so far. If Google says its quota is spent, or doesn't answer, the import waits and tries again later, longer each time, and the settings page shows why.
For each day Viakite keeps Google's totals for the site, and the rows by query, page, country and device (up to 100,000 a day). Google leaves out rare queries to protect searchers' privacy, so the rows can add up to fewer clicks than the totals.
What the page shows
- Clicks, Impressions, CTR (clicks ÷ impressions) and Average position (1 is the top result, weighed by impressions), against the comparison you pick in the filter row. A lower position is better, so its arrow is green when it goes down.
- Clicks from Google: the site's clicks on each day of the range.
- Top queries: switch to Pages, Countries or Devices. Each row has its clicks, their change against the comparison (or new), impressions, CTR and position. Countries are three-letter codes (USA, IND), as Google gives them.
- Export CSV downloads the rows shown, with the comparison's numbers when there is one.
The date range counts whole days in your project's time zone. The page's other filters and segments don't apply: Search Console doesn't know your visitors.
Disconnect
In Analytics settings → Search Console, click Disconnect Google. Viakite revokes its access at Google and stops importing. The data already imported stays, and is deleted with your other data when your plan's retention ends or the project is deleted.
If you revoke Viakite's access in your Google account instead, the next import notices, the page asks you to Connect Google again, and the data already imported stays.
In the API
GET /v1/projects/{project}/analytics/search returns the same report: dimension is query, page, country or device, with preset (or from and to), compare and limit (up to 1,000). GET /v1/projects/{project}/search-console says whether the project is connected and how far the import has got. See the API reference.