Skip to Content
QueryDeck Docs

Data sync

What QueryDeck imports from Search Console and GA4, the history windows available, and how progress, failures and quotas behave.

Syncs pull Google data into QueryDeck's own store. Reports, the keyword cloud, the REST API, the SDK and MCP all read that store, so a sync is what makes new days visible everywhere.

No scheduled sync yet

Syncs start only when someone selects a source and chooses Sync now. There is no nightly or hourly schedule today, and disconnecting Google does not delete data that was already imported.

Run a sync

  1. Open Data Sync.
  2. Select the row for one source: a Search Console property or a linked GA4 property.
  3. Pick a History window.
  4. Choose Sync now.

Progress streams into the row and the sync log: the current date range, rows stored and the final count. A property's last-sync badge changes to Up to date when the run succeeds, or Sync failed when it doesn't.

You can also sync from the per-property tables under Integrations → Search Console and Integrations → Google Analytics 4.

History windows

SourceWindowsWhat a run imports
Search Console7, 30, 90 or 180 daysDaily query and page rows, plus daily country and device totals
GA47, 30, 90, 180, 365 or 900 daysFive daily dimension sets: landing page × channel, landing pages, source/medium, events and conversions, and LLM referrals

Both sources stop at yesterday in UTC. Search Console windows are fetched one day at a time; GA4 windows are split into 30-day shards and walked dimension set by dimension set.

A larger window imports more history but takes longer and uses more Google quota. Start with 30 days, confirm the data looks right, then extend the window when you need the history.

Rules and limits

  • One run per property at a time. Starting a second sync for the same site returns a conflict until the first finishes.
  • Verified Search Console sites only. Unverified sites are listed but refused with a 403.
  • Owners and admins only. Editors and viewers can't start syncs.
  • Idempotent. Re-running a window refreshes those days instead of duplicating rows.
  • Background continuation. A long run can stop streaming before the whole window is stored. QueryDeck keeps working in the background and updates the source's last-sync status when the job finishes.
  • Connection required. If Google revoked or expired the credentials, the integration shows Reconnect required and syncs fail until you reconnect.

GA4 quota

The GA4 Data API gives each property a daily token allowance. QueryDeck stops a GA4 run cleanly once less than 10% of the day's tokens remain, rather than failing the whole job.

The rows fetched so far are kept. The page reports that quota was nearly exhausted and asks you to sync again later. After the daily tokens reset, run the same window again: stored days are refreshed as the sync fills in the rest.

Failures

A failed run marks the source Sync failed and records the error in the sync log. Common causes and fixes:

Message or symptomFix
Site is not verified in Search ConsoleVerify the property in Google Search Console, then refresh the integration
Not connected to Google Search ConsoleReconnect the Google account
Reconnect Google to grant Analytics accessReconnect once so the GA4 scope is granted
No GA4 property linked to this siteLink a property under Integrations → Google Analytics 4
Sync already in progressWait for the current run to finish
Interrupted by restartRun the sync again

Retries use backoff for transient Google errors. A restart marks any job that was still running as failed, so it never blocks the next run.

Freshness

Data Sync shows a freshness strip with the last completed sync per source and its status. Check it before comparing reports or sharing a dashboard, and remember that even a fresh sync ends at yesterday.

Notifications

If your organisation configured webhooks, QueryDeck fires sync.completed and sync.failed deliveries for finished runs. See Webhooks for the payload and signature check.

On this page