How do I set up a scheduled data export from Google Analytics 4 into a CSV file for my weekly retirement business reports?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
How do I set up a scheduled data export from Google Analytics 4 into a CSV file for my weekly retirement business reports?
3 real searches · 1 real-search pass
Google Analytics 4 Data API scheduled report CSV Google Apps Script official documentationGoogle ↗
OBSERVEDInstruction
GA4 Data API runReport quota dimensions metrics official documentationGoogle ↗
OBSERVEDInstruction
Google Apps Script time-driven triggers Drive createFile CSV official documentationGoogle ↗
OBSERVEDInstruction
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
ChatGPT real searches (3)
Classes come from the query-classifier (a local Laya model). 3 of 3 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT3 real searches · gpt-6
Google Analytics 4 Data API scheduled report CSV Google Apps Script official documentation Google ↗
GA4 Data API runReport quota dimensions metrics official documentation Google ↗
Google Apps Script time-driven triggers Drive createFile CSV official documentation Google ↗
- Google Analytics · analytics.google.com
- Google Apps Script · script.google.com
- Analytics Data Service | Apps Script | Google for Developers · developers.google.com
- Google Analytics Data API overview | Google for Developers · developers.google.com
- Create a report | Google Analytics | Google for Developers · developers.google.com
- Method: properties.runReport | Google Analytics | Google for Developers · developers.google.com
- Installable Triggers | Apps Script | Google for Developers · developers.google.com
- Installable Triggers | Apps Script | Google for Developers · developers.google.com
Queries
3 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
Google Analytics 4 Data API scheduled report CSV Google Apps Script official documentation OBSERVED | Google ↗ AI Mode ↗ | — | Instruction | — | — | 1x of 1 | |
GA4 Data API runReport quota dimensions metrics official documentation OBSERVED | Google ↗ AI Mode ↗ | — | Instruction | — | — | 1x of 1 | |
Google Apps Script time-driven triggers Drive createFile CSV official documentation OBSERVED | Google ↗ AI Mode ↗ | — | Instruction | — | — | 1x of 1 |