{
  "data": {
    "id": "lehKDXMvfBvIsFegP",
    "actId": "ru41d8uKLvsfRsZuN",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-12-01T05:11:21.196Z",
    "finishedAt": "2026-12-01T05:11:58.755Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Gemini AI Answer, Citation & Brand Mention Tracker Input\",\n  \"description\": \"Ask logged-out Gemini prompts and capture answers, headings, inline citations and sources, follow-ups, the model label and brand visibility. No Google account, cookie, API key or proxy setup is needed.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"sectionCaption\": \"Prompts and languages\",\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"`answers` asks every prompt once in the selected language. `languages` asks every prompt once per language in `languages` and returns one row per prompt-language pair.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"answers\",\n        \"languages\"\n      ],\n      \"enumTitles\": [\n        \"One answer per prompt\",\n        \"Prompt x language matrix\"\n      ],\n      \"default\": \"answers\",\n      \"prefill\": \"answers\"\n    },\n    \"prompts\": {\n      \"title\": \"Prompts\",\n      \"type\": \"array\",\n      \"description\": \"Questions or keywords to ask Gemini. Each prompt runs in a fresh logged-out chat and produces one row (or one row per language in languages mode).\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"best CRM tools for small businesses HubSpot Salesforce\"\n      ],\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"language\": {\n      \"title\": \"Language (mode=answers)\",\n      \"type\": \"string\",\n      \"description\": \"Interface language sent to Gemini as the `hl` parameter. The answer follows the language of your prompt; this setting changes the interface and the regional source mix. `Same as the prompt` leaves `hl` unset.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"auto\",\n        \"en\",\n        \"en-US\",\n        \"en-GB\",\n        \"en-AU\",\n        \"en-CA\",\n        \"en-IN\",\n        \"es\",\n        \"es-ES\",\n        \"es-MX\",\n        \"fr\",\n        \"fr-FR\",\n        \"fr-CA\",\n        \"de\",\n        \"de-DE\",\n        \"de-AT\",\n        \"de-CH\",\n        \"it\",\n        \"pt\",\n        \"pt-BR\",\n        \"pt-PT\",\n        \"nl\",\n        \"pl\",\n        \"tr\",\n        \"ru\",\n        \"uk\",\n        \"ar\",\n        \"he\",\n        \"hi\",\n        \"ur\",\n        \"bn\",\n        \"ta\",\n        \"te\",\n        \"id\",\n        \"ms\",\n        \"th\",\n        \"vi\",\n        \"ja\",\n        \"ko\",\n        \"zh-CN\",\n        \"zh-TW\",\n        \"zh-HK\",\n        \"sv\",\n        \"da\",\n        \"nb\",\n        \"fi\",\n        \"cs\",\n        \"sk\",\n        \"hu\",\n        \"ro\",\n        \"bg\",\n        \"el\"\n      ],\n      \"enumTitles\": [\n        \"Same as the prompt\",\n        \"English\",\n        \"English (United States)\",\n        \"English (United Kingdom)\",\n        \"English (Australia)\",\n        \"English (Canada)\",\n        \"English (India)\",\n        \"Spanish\",\n        \"Spanish (Spain)\",\n        \"Spanish (Mexico)\",\n        \"French\",\n        \"French (France)\",\n        \"French (Canada)\",\n        \"German\",\n        \"German (Germany)\",\n        \"German (Austria)\",\n        \"German (Switzerland)\",\n        \"Italian\",\n        \"Portuguese\",\n        \"Portuguese (Brazil)\",\n        \"Portuguese (Portugal)\",\n        \"Dutch\",\n        \"Polish\",\n        \"Turkish\",\n        \"Russian\",\n        \"Ukrainian\",\n        \"Arabic\",\n        \"Hebrew\",\n        \"Hindi\",\n        \"Urdu\",\n        \"Bengali\",\n        \"Tamil\",\n        \"Telugu\",\n        \"Indonesian\",\n        \"Malay\",\n        \"Thai\",\n        \"Vietnamese\",\n        \"Japanese\",\n        \"Korean\",\n        \"Chinese (Simplified)\",\n        \"Chinese (Traditional)\",\n        \"Chinese (Hong Kong)\",\n        \"Swedish\",\n        \"Danish\",\n        \"Norwegian\",\n        \"Finnish\",\n        \"Czech\",\n        \"Slovak\",\n        \"Hungarian\",\n        \"Romanian\",\n        \"Bulgarian\",\n        \"Greek\"\n      ],\n      \"default\": \"auto\",\n      \"prefill\": \"auto\"\n    },\n    \"languages\": {\n      \"title\": \"Languages (mode=languages)\",\n      \"type\": \"array\",\n      \"description\": \"Language codes to run for every prompt (for example `en`, `de`, `fr`, `ja`). Each code is sent as Gemini's `hl` parameter. One row is emitted per prompt-language pair.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [],\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum rows\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted answer rows. An optional aggregate row is extra.\",\n      \"editor\": \"number\",\n      \"default\": 20,\n      \"prefill\": 1,\n      \"minimum\": 1,\n      \"maximum\": 500\n    },\n    \"runLabel\": {\n      \"sectionCaption\": \"Tracking\",\n      \"title\": \"Run label\",\n      \"type\": \"string\",\n      \"description\": \"Optional label written to every row so you can compare runs over time (for example `2026-11-17 baseline`).\",\n      \"editor\": \"textfield\"\n    },\n    \"trackBrands\": {\n      \"title\": \"Brands or domains to track\",\n      \"type\": \"array\",\n      \"description\": \"Brand names such as `HubSpot` or domains such as `salesforce.com`. `Name | domain.com` is also accepted. Each row reports whether the brand is named, how often, where it first appears, the surrounding sentence, simple sentiment, and whether its domain is cited.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [\n        \"HubSpot\"\n      ],\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"trackDomains\": {\n      \"title\": \"Domains to watch\",\n      \"type\": \"array\",\n      \"description\": \"Domains whose citation status should be reported for every answer, for example `wikipedia.org` or `hubspot.com`.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [],\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"includeAggregates\": {\n      \"title\": \"Add a run aggregate row\",\n      \"type\": \"boolean\",\n      \"description\": \"Emit one extra `geminiRunAggregate` row per run with brand share of voice, prompt mention/citation rates and the most-cited domains.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"forceWebSearch\": {\n      \"sectionCaption\": \"Answer retrieval\",\n      \"title\": \"Ask Gemini to search the web\",\n      \"type\": \"boolean\",\n      \"description\": \"Append a short instruction asking Gemini to search the web and cite its sources. The exact prompt sent is recorded in `promptSent`. The answer and citations still depend on what Gemini decides to use.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"responseTimeoutSecs\": {\n      \"title\": \"Answer timeout (seconds)\",\n      \"type\": \"integer\",\n      \"description\": \"How long to wait for the answer text before marking the row TIMEOUT.\",\n      \"editor\": \"number\",\n      \"default\": 150,\n      \"prefill\": 150,\n      \"minimum\": 30,\n      \"maximum\": 300\n    },\n    \"retries\": {\n      \"title\": \"Retries per prompt\",\n      \"type\": \"integer\",\n      \"description\": \"Extra fresh-chat attempts when Gemini returns no answer or times out.\",\n      \"editor\": \"number\",\n      \"default\": 1,\n      \"prefill\": 1,\n      \"minimum\": 0,\n      \"maximum\": 3\n    },\n    \"proxyConfiguration\": {\n      \"sectionCaption\": \"Connection\",\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"Optional. The actor works without a proxy and retries through Apify's automatic datacenter proxy only if Google blocks the container IP. Provide a proxy only if you want to route the browser yourself.\",\n      \"editor\": \"proxy\"\n    }\n  },\n  \"required\": [\n    \"prompts\"\n  ]\n}",
    "readme": "# Gemini AI Answer, Citation & Brand Mention Tracker\n\nAsk **Google Gemini** a list of prompts and get a structured record of what Gemini answered, how the answer is organised, which pages it cited, which follow-ups it suggested, and whether your brand or a competitor appeared or was cited. No Google account, cookie, API key or proxy setup is required.\n\nThis is an answer-visibility tracker for the logged-out Gemini web experience. It keeps the full answer as plain text and Markdown, keeps every inline citation chip and its source cards, and turns brand mentions into comparable flags so you can measure generative search visibility over time.\n\n## What this actor does\n\n- **Fresh logged-out chat per prompt** — every prompt is asked in its own Gemini chat, so one answer cannot influence the next.\n- **Full answer in two formats** — readable `answerText`, faithful `answerMarkdown`, word/character counts, and `answerSections` with headings.\n- **Citation-level detail** — every inline citation chip, its position in the answer, the sentence it supports, the exact supporting text Gemini highlights, and every source card with title, URL, domain and snippet.\n- **Follow-up intelligence** — Gemini's suggested next prompts, the conditional follow-up question, and its action buttons when shown.\n- **Brand and domain visibility** — for each tracked brand: mentioned, mention count, first position, surrounding sentence, simple sentiment, and whether the brand's domain is among the cited sources.\n- **Prompt × language matrix** — ask the same prompts across several interface languages in one run.\n- **Optional run aggregate** — one extra row with brand share of voice, mention/citation rates and the most-cited domains.\n- **Empty fields are omitted** — never `null`, `\"\"`, `[]` or `{}` in a record.\n\n## Output per answer\n\nOne row per prompt (or per prompt-language pair) with `recordType: \"geminiAnswer\"`.\n\n- `prompt`, `promptSent` — your prompt and the exact text sent to Gemini, including the optional search instruction.\n- `mode`, `language`, `runLabel` — the mode, the `hl` language code used, and your run label.\n- `status` — `ANSWERED`, `EMPTY_ANSWER`, `BLOCKED`, `TIMEOUT` or `ERROR`.\n- `error` — a short reason when the row is not `ANSWERED`.\n- `modelLabel` — the model name Gemini shows to logged-out users (for example `Flash-Lite`).\n- `webSearchTriggered` — whether Gemini showed inline citations for this answer.\n- `answerText`, `answerMarkdown` — the full answer as plain text and Markdown with headings, lists and tables.\n- `answerWordCount`, `answerCharCount`, `answerSections[]` — size and section breakdown.\n- `citations[]` — one object per inline citation chip: `position`, `chipLabel`, `ariaLabel`, `firstCitedAtChar`, `firstCitedAtPct`, `sentence`, `sourceCount`, `sources[]`.\n- `sources[]` — the unique source cards in first-citation order: `position`, `title`, `url`, `domain`, `site`, `snippet`, `supportingText`, `firstCitedAtChar`, `firstCitedAtPct`, `citedInCitations[]`.\n- `sourceCount`, `citationCount`, `citedDomains[]` — source totals and unique cited domains.\n- `followUpSuggestions[]`, `followUpQuestion`, `followUpActions[]` — Gemini's suggested next steps, when it offers them.\n- `trackedBrands[]` — per brand or domain: `brand`, `domain`, `kind`, `mentioned`, `mentionCount`, `firstMentionAtChar`, `firstMentionPositionPct`, `firstMentionSentence`, `firstMentionParagraph`, `sentiment`, `sentimentScore`, `cited`, `citedDomainMatch`, `citedPosition`, `citedUrls[]`.\n- `trackedDomainCitations[]` — per watched domain: `domain`, `cited`, `citationCount`, `positions[]`, `sourceUrls[]`.\n- `conversationUrl`, `sourceUrl` — the public Gemini conversation URL and the traceability URL.\n- `responseTimeSeconds`, `scrapedAt` — timing and UTC timestamp.\n\n## Output per run aggregate\n\nWhen `includeAggregates` is on, the run also emits one row with `recordType: \"geminiRunAggregate\"`.\n\n- `runLabel`, `promptCount`, `answeredCount`, `failedCount`\n- `brandShareOfVoice[]` — `brand`, `domain`, `kind`, `mentions`, `promptsMentioned`, `promptsCited`, `citationMatches`, `promptMentionRate`, `promptCitationRate`, `visibilityScore`, `shareOfMentions`, `shareOfCitationMatches`\n- `topCitedDomains[]` — `domain`, `citationCount`, `sourceCount`, `shareOfAnsweredPrompts`\n- `trackedDomainCitations[]`, `modelLabels[]`, `languages[]`\n- `totalSources`, `uniqueDomains`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `answers` | `answers` (one row per prompt) or `languages` (prompt × language matrix) |\n| `prompts` | array | – | Questions or keywords to ask Gemini |\n| `language` | string | `auto` | Interface language sent as `hl` (mode=answers) |\n| `languages` | array | – | Language codes for the matrix (mode=languages), for example `en`, `de`, `ja` |\n| `maxItems` | integer | `20` | Hard cap on answer rows (1–500) |\n| `runLabel` | string | – | Label written to every row for time-series comparisons |\n| `trackBrands` | array | – | Brand names, domains, or `Name \\| domain.com` |\n| `trackDomains` | array | – | Domains whose citation status should be reported |\n| `includeAggregates` | boolean | `false` | Emit one run aggregate row |\n| `forceWebSearch` | boolean | `true` | Ask Gemini to search the web and cite its sources |\n| `responseTimeoutSecs` | integer | `150` | Answer timeout in seconds (30–300) |\n| `retries` | integer | `1` | Extra fresh-chat attempts on an empty answer (0–3) |\n| `proxyConfiguration` | object | – | Optional; no proxy is needed to run the actor |\n\nThe daily test prefill asks one CRM question with one tracked brand and a cap of one row, so it is the smallest run that still produces a useful record.\n\n## Examples\n\n### Example: single-brand visibility check\n\n```json\n{\n  \"mode\": \"answers\",\n  \"prompts\": [\"best CRM tools for small businesses HubSpot Salesforce\"],\n  \"maxItems\": 1,\n  \"trackBrands\": [\"HubSpot | hubspot.com\", \"Salesforce | salesforce.com\"],\n  \"trackDomains\": [\"hubspot.com\", \"salesforce.com\"],\n  \"runLabel\": \"daily-crm-check\"\n}\n```\n\n### Example: compare three languages with a run aggregate\n\n```json\n{\n  \"mode\": \"languages\",\n  \"prompts\": [\"best project management tools for startups\"],\n  \"languages\": [\"en\", \"de\", \"ja\"],\n  \"maxItems\": 3,\n  \"trackBrands\": [\"Notion\", \"Asana\", \"Monday.com\"],\n  \"includeAggregates\": true,\n  \"runLabel\": \"2026-11-17 multi-market\"\n}\n```\n\n### Example: a small prompt set with per-domain citation watch\n\n```json\n{\n  \"mode\": \"answers\",\n  \"prompts\": [\n    \"best accounting software for freelancers\",\n    \"how do I choose an accounting tool\",\n    \"compare QuickBooks and FreshBooks\"\n  ],\n  \"maxItems\": 3,\n  \"trackBrands\": [\"QuickBooks | quickbooks.intuit.com\", \"FreshBooks | freshbooks.com\"],\n  \"trackDomains\": [\"wikipedia.org\", \"nerdwallet.com\", \"forbes.com\"],\n  \"includeAggregates\": true,\n  \"runLabel\": \"accounting-baseline\"\n}\n```\n\n## Use cases\n\n- **GEO and AEO reporting** — track whether Gemini names your brand, how early, in what context, and whether it cites your site.\n- **Citation research** — see which pages Gemini relies on for a topic and the exact sentence each citation supports.\n- **Competitive share of voice** — compare your brand with competitors across the same prompt set and languages.\n- **Answer monitoring** — schedule the same prompts and compare dated answer, citation and sentiment changes.\n- **Content gap analysis** — find the pages that win citations and the claims they support.\n- **LLM evaluation datasets** — export structured answers, sections, citations and follow-ups for analysis.\n\n## FAQ\n\n### Do I need a Google account, cookie or API key?\n\nNo. The actor uses the public logged-out Gemini web experience and the prompt is sent exactly as a signed-out visitor would send it. No account, cookie or API key is used.\n\n### Do I need to configure a proxy?\n\nNo. The actor works without a proxy. If Google blocks the container's network location, the actor can retry through Apify's automatic datacenter proxy. You only need the optional proxy input if you want to route the browser yourself.\n\n### Why does a row sometimes have no citations?\n\nGemini decides when to search the web. `forceWebSearch` appends an explicit request to search and cite, which usually produces citations, but it cannot force Gemini's hidden tool choice. Every row reports `webSearchTriggered` and `citationCount` honestly instead of pretending a model-only answer was grounded.\n\n### What does `language` change?\n\nIt sets Gemini's interface language through the `hl` parameter and changes the regional source mix. The answer itself follows the language of your prompt. To get a German answer, write a German prompt and set `language` to `de`.\n\n### Why are follow-ups missing on some rows?\n\nGemini shows suggested follow-ups and the conditional follow-up question only when it decides they are useful. The fields are omitted when Gemini does not show them.\n\n### Why is the model label sometimes different?\n\nLogged-out Gemini can be served by different models or modes. The actor records the label Gemini displays, it does not choose or hardcode a model.\n\n### Are sources deduplicated?\n\nYes. Inline chips keep their own source list, while the top-level `sources[]` list is unique by cleaned URL and keeps every chip position in `citedInCitations[]`. Tracking parameters and citation text fragments are removed from `url`; the highlighted text is kept in `supportingText`.\n\n### What is `visibilityScore`?\n\nIt is a 0–100 score from the aggregate row: half the share of answered prompts where the brand is mentioned, plus half the share where its domain is cited. It is a simple summary, not a ranking of answer quality.\n\n### Is this affiliated with Google?\n\nNo. This is an independent third-party actor that reads publicly available logged-out Gemini answers. Gemini and Google are trademarks of Google LLC.\n\n## Data source\n\nPublic logged-out Gemini web at `gemini.google.com`. The actor reads only what the public page returns for the prompts you supply. It does not use a Google account, cookies, the Gemini API, or any paid third-party answer API.\n\n## Limitations\n\n- **Gemini's web search is model-decided.** A row can be a complete answer with no citations; the status fields make that visible.\n- **Logged-out UI only.** Image generation, app connectors, Drive files, personalisation and other sign-in-only features are out of scope.\n- **Follow-ups are conditional.** Gemini shows them for some answers and not others.\n- **Multi-source chips** are expanded by opening each citation chip. If Gemini's source card does not open, the primary source from the chip metadata is still recorded and `sourceCount` reflects what was visible.\n- **Model selection is not an input.** The actor records the model Gemini serves; the logged-out model picker is not exposed as a setting.\n- **Answers vary.** The same prompt can produce different wording, sources and citations on different runs; the row records exactly what was returned at that moment.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "gemini-answer-tracker",
      "title": "Gemini AI Answer, Citation & Brand Mention Tracker",
      "description": "Ask Google Gemini logged-out web prompts and record the full answer, sections, inline citations and sources, follow-up suggestions, the model label, and per-brand visibility so teams can track how generative search answers change.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Gemini AI Answer, Citation & Brand Mention Tracker\n\nAsk **Google Gemini** a list of prompts and get a structured record of what Gemini answered, how the answer is organised, which pages it cited, which follow-ups it suggested, and whether your brand or a competitor appeared or was cited. No Google account, cookie, API key or proxy setup is required.\n\nThis is an answer-visibility tracker for the logged-out Gemini web experience. It keeps the full answer as plain text and Markdown, keeps every inline citation chip and its source cards, and turns brand mentions into comparable flags so you can measure generative search visibility over time.\n\n## What this actor does\n\n- **Fresh logged-out chat per prompt** — every prompt is asked in its own Gemini chat, so one answer cannot influence the next.\n- **Full answer in two formats** — readable `answerText`, faithful `answerMarkdown`, word/character counts, and `answerSections` with headings.\n- **Citation-level detail** — every inline citation chip, its position in the answer, the sentence it supports, the exact supporting text Gemini highlights, and every source card with title, URL, domain and snippet.\n- **Follow-up intelligence** — Gemini's suggested next prompts, the conditional follow-up question, and its action buttons when shown.\n- **Brand and domain visibility** — for each tracked brand: mentioned, mention count, first position, surrounding sentence, simple sentiment, and whether the brand's domain is among the cited sources.\n- **Prompt × language matrix** — ask the same prompts across several interface languages in one run.\n- **Optional run aggregate** — one extra row with brand share of voice, mention/citation rates and the most-cited domains.\n- **Empty fields are omitted** — never `null`, `\"\"`, `[]` or `{}` in a record.\n\n## Output per answer\n\nOne row per prompt (or per prompt-language pair) with `recordType: \"geminiAnswer\"`.\n\n- `prompt`, `promptSent` — your prompt and the exact text sent to Gemini, including the optional search instruction.\n- `mode`, `language`, `runLabel` — the mode, the `hl` language code used, and your run label.\n- `status` — `ANSWERED`, `EMPTY_ANSWER`, `BLOCKED`, `TIMEOUT` or `ERROR`.\n- `error` — a short reason when the row is not `ANSWERED`.\n- `modelLabel` — the model name Gemini shows to logged-out users (for example `Flash-Lite`).\n- `webSearchTriggered` — whether Gemini showed inline citations for this answer.\n- `answerText`, `answerMarkdown` — the full answer as plain text and Markdown with headings, lists and tables.\n- `answerWordCount`, `answerCharCount`, `answerSections[]` — size and section breakdown.\n- `citations[]` — one object per inline citation chip: `position`, `chipLabel`, `ariaLabel`, `firstCitedAtChar`, `firstCitedAtPct`, `sentence`, `sourceCount`, `sources[]`.\n- `sources[]` — the unique source cards in first-citation order: `position`, `title`, `url`, `domain`, `site`, `snippet`, `supportingText`, `firstCitedAtChar`, `firstCitedAtPct`, `citedInCitations[]`.\n- `sourceCount`, `citationCount`, `citedDomains[]` — source totals and unique cited domains.\n- `followUpSuggestions[]`, `followUpQuestion`, `followUpActions[]` — Gemini's suggested next steps, when it offers them.\n- `trackedBrands[]` — per brand or domain: `brand`, `domain`, `kind`, `mentioned`, `mentionCount`, `firstMentionAtChar`, `firstMentionPositionPct`, `firstMentionSentence`, `firstMentionParagraph`, `sentiment`, `sentimentScore`, `cited`, `citedDomainMatch`, `citedPosition`, `citedUrls[]`.\n- `trackedDomainCitations[]` — per watched domain: `domain`, `cited`, `citationCount`, `positions[]`, `sourceUrls[]`.\n- `conversationUrl`, `sourceUrl` — the public Gemini conversation URL and the traceability URL.\n- `responseTimeSeconds`, `scrapedAt` — timing and UTC timestamp.\n\n## Output per run aggregate\n\nWhen `includeAggregates` is on, the run also emits one row with `recordType: \"geminiRunAggregate\"`.\n\n- `runLabel`, `promptCount`, `answeredCount`, `failedCount`\n- `brandShareOfVoice[]` — `brand`, `domain`, `kind`, `mentions`, `promptsMentioned`, `promptsCited`, `citationMatches`, `promptMentionRate`, `promptCitationRate`, `visibilityScore`, `shareOfMentions`, `shareOfCitationMatches`\n- `topCitedDomains[]` — `domain`, `citationCount`, `sourceCount`, `shareOfAnsweredPrompts`\n- `trackedDomainCitations[]`, `modelLabels[]`, `languages[]`\n- `totalSources`, `uniqueDomains`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `answers` | `answers` (one row per prompt) or `languages` (prompt × language matrix) |\n| `prompts` | array | – | Questions or keywords to ask Gemini |\n| `language` | string | `auto` | Interface language sent as `hl` (mode=answers) |\n| `languages` | array | – | Language codes for the matrix (mode=languages), for example `en`, `de`, `ja` |\n| `maxItems` | integer | `20` | Hard cap on answer rows (1–500) |\n| `runLabel` | string | – | Label written to every row for time-series comparisons |\n| `trackBrands` | array | – | Brand names, domains, or `Name \\| domain.com` |\n| `trackDomains` | array | – | Domains whose citation status should be reported |\n| `includeAggregates` | boolean | `false` | Emit one run aggregate row |\n| `forceWebSearch` | boolean | `true` | Ask Gemini to search the web and cite its sources |\n| `responseTimeoutSecs` | integer | `150` | Answer timeout in seconds (30–300) |\n| `retries` | integer | `1` | Extra fresh-chat attempts on an empty answer (0–3) |\n| `proxyConfiguration` | object | – | Optional; no proxy is needed to run the actor |\n\nThe daily test prefill asks one CRM question with one tracked brand and a cap of one row, so it is the smallest run that still produces a useful record.\n\n## Examples\n\n### Example: single-brand visibility check\n\n```json\n{\n  \"mode\": \"answers\",\n  \"prompts\": [\"best CRM tools for small businesses HubSpot Salesforce\"],\n  \"maxItems\": 1,\n  \"trackBrands\": [\"HubSpot | hubspot.com\", \"Salesforce | salesforce.com\"],\n  \"trackDomains\": [\"hubspot.com\", \"salesforce.com\"],\n  \"runLabel\": \"daily-crm-check\"\n}\n```\n\n### Example: compare three languages with a run aggregate\n\n```json\n{\n  \"mode\": \"languages\",\n  \"prompts\": [\"best project management tools for startups\"],\n  \"languages\": [\"en\", \"de\", \"ja\"],\n  \"maxItems\": 3,\n  \"trackBrands\": [\"Notion\", \"Asana\", \"Monday.com\"],\n  \"includeAggregates\": true,\n  \"runLabel\": \"2026-11-17 multi-market\"\n}\n```\n\n### Example: a small prompt set with per-domain citation watch\n\n```json\n{\n  \"mode\": \"answers\",\n  \"prompts\": [\n    \"best accounting software for freelancers\",\n    \"how do I choose an accounting tool\",\n    \"compare QuickBooks and FreshBooks\"\n  ],\n  \"maxItems\": 3,\n  \"trackBrands\": [\"QuickBooks | quickbooks.intuit.com\", \"FreshBooks | freshbooks.com\"],\n  \"trackDomains\": [\"wikipedia.org\", \"nerdwallet.com\", \"forbes.com\"],\n  \"includeAggregates\": true,\n  \"runLabel\": \"accounting-baseline\"\n}\n```\n\n## Use cases\n\n- **GEO and AEO reporting** — track whether Gemini names your brand, how early, in what context, and whether it cites your site.\n- **Citation research** — see which pages Gemini relies on for a topic and the exact sentence each citation supports.\n- **Competitive share of voice** — compare your brand with competitors across the same prompt set and languages.\n- **Answer monitoring** — schedule the same prompts and compare dated answer, citation and sentiment changes.\n- **Content gap analysis** — find the pages that win citations and the claims they support.\n- **LLM evaluation datasets** — export structured answers, sections, citations and follow-ups for analysis.\n\n## FAQ\n\n### Do I need a Google account, cookie or API key?\n\nNo. The actor uses the public logged-out Gemini web experience and the prompt is sent exactly as a signed-out visitor would send it. No account, cookie or API key is used.\n\n### Do I need to configure a proxy?\n\nNo. The actor works without a proxy. If Google blocks the container's network location, the actor can retry through Apify's automatic datacenter proxy. You only need the optional proxy input if you want to route the browser yourself.\n\n### Why does a row sometimes have no citations?\n\nGemini decides when to search the web. `forceWebSearch` appends an explicit request to search and cite, which usually produces citations, but it cannot force Gemini's hidden tool choice. Every row reports `webSearchTriggered` and `citationCount` honestly instead of pretending a model-only answer was grounded.\n\n### What does `language` change?\n\nIt sets Gemini's interface language through the `hl` parameter and changes the regional source mix. The answer itself follows the language of your prompt. To get a German answer, write a German prompt and set `language` to `de`.\n\n### Why are follow-ups missing on some rows?\n\nGemini shows suggested follow-ups and the conditional follow-up question only when it decides they are useful. The fields are omitted when Gemini does not show them.\n\n### Why is the model label sometimes different?\n\nLogged-out Gemini can be served by different models or modes. The actor records the label Gemini displays, it does not choose or hardcode a model.\n\n### Are sources deduplicated?\n\nYes. Inline chips keep their own source list, while the top-level `sources[]` list is unique by cleaned URL and keeps every chip position in `citedInCitations[]`. Tracking parameters and citation text fragments are removed from `url`; the highlighted text is kept in `supportingText`.\n\n### What is `visibilityScore`?\n\nIt is a 0–100 score from the aggregate row: half the share of answered prompts where the brand is mentioned, plus half the share where its domain is cited. It is a simple summary, not a ranking of answer quality.\n\n### Is this affiliated with Google?\n\nNo. This is an independent third-party actor that reads publicly available logged-out Gemini answers. Gemini and Google are trademarks of Google LLC.\n\n## Data source\n\nPublic logged-out Gemini web at `gemini.google.com`. The actor reads only what the public page returns for the prompts you supply. It does not use a Google account, cookies, the Gemini API, or any paid third-party answer API.\n\n## Limitations\n\n- **Gemini's web search is model-decided.** A row can be a complete answer with no citations; the status fields make that visible.\n- **Logged-out UI only.** Image generation, app connectors, Drive files, personalisation and other sign-in-only features are out of scope.\n- **Follow-ups are conditional.** Gemini shows them for some answers and not others.\n- **Multi-source chips** are expanded by opening each citation chip. If Gemini's source card does not open, the primary source from the chip metadata is still recorded and `sourceCount` reflects what was visible.\n- **Model selection is not an input.** The actor records the model Gemini serves; the logged-out model picker is not exposed as a setting.\n- **Answers vary.** The same prompt can produce different wording, sources and citations on different runs; the row records exactly what was returned at that moment.\n",
      "input": {
        "title": "Gemini AI Answer, Citation & Brand Mention Tracker Input",
        "description": "Ask logged-out Gemini prompts and capture answers, headings, inline citations and sources, follow-ups, the model label and brand visibility. No Google account, cookie, API key or proxy setup is needed.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "sectionCaption": "Prompts and languages",
            "title": "Mode",
            "type": "string",
            "description": "`answers` asks every prompt once in the selected language. `languages` asks every prompt once per language in `languages` and returns one row per prompt-language pair.",
            "editor": "select",
            "enum": [
              "answers",
              "languages"
            ],
            "enumTitles": [
              "One answer per prompt",
              "Prompt x language matrix"
            ],
            "default": "answers",
            "prefill": "answers"
          },
          "prompts": {
            "title": "Prompts",
            "type": "array",
            "description": "Questions or keywords to ask Gemini. Each prompt runs in a fresh logged-out chat and produces one row (or one row per language in languages mode).",
            "editor": "stringList",
            "prefill": [
              "best CRM tools for small businesses HubSpot Salesforce"
            ],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language (mode=answers)",
            "type": "string",
            "description": "Interface language sent to Gemini as the `hl` parameter. The answer follows the language of your prompt; this setting changes the interface and the regional source mix. `Same as the prompt` leaves `hl` unset.",
            "editor": "select",
            "enum": [
              "auto",
              "en",
              "en-US",
              "en-GB",
              "en-AU",
              "en-CA",
              "en-IN",
              "es",
              "es-ES",
              "es-MX",
              "fr",
              "fr-FR",
              "fr-CA",
              "de",
              "de-DE",
              "de-AT",
              "de-CH",
              "it",
              "pt",
              "pt-BR",
              "pt-PT",
              "nl",
              "pl",
              "tr",
              "ru",
              "uk",
              "ar",
              "he",
              "hi",
              "ur",
              "bn",
              "ta",
              "te",
              "id",
              "ms",
              "th",
              "vi",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW",
              "zh-HK",
              "sv",
              "da",
              "nb",
              "fi",
              "cs",
              "sk",
              "hu",
              "ro",
              "bg",
              "el"
            ],
            "enumTitles": [
              "Same as the prompt",
              "English",
              "English (United States)",
              "English (United Kingdom)",
              "English (Australia)",
              "English (Canada)",
              "English (India)",
              "Spanish",
              "Spanish (Spain)",
              "Spanish (Mexico)",
              "French",
              "French (France)",
              "French (Canada)",
              "German",
              "German (Germany)",
              "German (Austria)",
              "German (Switzerland)",
              "Italian",
              "Portuguese",
              "Portuguese (Brazil)",
              "Portuguese (Portugal)",
              "Dutch",
              "Polish",
              "Turkish",
              "Russian",
              "Ukrainian",
              "Arabic",
              "Hebrew",
              "Hindi",
              "Urdu",
              "Bengali",
              "Tamil",
              "Telugu",
              "Indonesian",
              "Malay",
              "Thai",
              "Vietnamese",
              "Japanese",
              "Korean",
              "Chinese (Simplified)",
              "Chinese (Traditional)",
              "Chinese (Hong Kong)",
              "Swedish",
              "Danish",
              "Norwegian",
              "Finnish",
              "Czech",
              "Slovak",
              "Hungarian",
              "Romanian",
              "Bulgarian",
              "Greek"
            ],
            "default": "auto",
            "prefill": "auto"
          },
          "languages": {
            "title": "Languages (mode=languages)",
            "type": "array",
            "description": "Language codes to run for every prompt (for example `en`, `de`, `fr`, `ja`). Each code is sent as Gemini's `hl` parameter. One row is emitted per prompt-language pair.",
            "editor": "stringList",
            "default": [],
            "prefill": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum rows",
            "type": "integer",
            "description": "Hard cap on emitted answer rows. An optional aggregate row is extra.",
            "editor": "number",
            "default": 20,
            "prefill": 1,
            "minimum": 1,
            "maximum": 500
          },
          "runLabel": {
            "sectionCaption": "Tracking",
            "title": "Run label",
            "type": "string",
            "description": "Optional label written to every row so you can compare runs over time (for example `2026-11-17 baseline`).",
            "editor": "textfield"
          },
          "trackBrands": {
            "title": "Brands or domains to track",
            "type": "array",
            "description": "Brand names such as `HubSpot` or domains such as `salesforce.com`. `Name | domain.com` is also accepted. Each row reports whether the brand is named, how often, where it first appears, the surrounding sentence, simple sentiment, and whether its domain is cited.",
            "editor": "stringList",
            "default": [],
            "prefill": [
              "HubSpot"
            ],
            "items": {
              "type": "string"
            }
          },
          "trackDomains": {
            "title": "Domains to watch",
            "type": "array",
            "description": "Domains whose citation status should be reported for every answer, for example `wikipedia.org` or `hubspot.com`.",
            "editor": "stringList",
            "default": [],
            "prefill": [],
            "items": {
              "type": "string"
            }
          },
          "includeAggregates": {
            "title": "Add a run aggregate row",
            "type": "boolean",
            "description": "Emit one extra `geminiRunAggregate` row per run with brand share of voice, prompt mention/citation rates and the most-cited domains.",
            "default": false,
            "prefill": false
          },
          "forceWebSearch": {
            "sectionCaption": "Answer retrieval",
            "title": "Ask Gemini to search the web",
            "type": "boolean",
            "description": "Append a short instruction asking Gemini to search the web and cite its sources. The exact prompt sent is recorded in `promptSent`. The answer and citations still depend on what Gemini decides to use.",
            "default": true,
            "prefill": true
          },
          "responseTimeoutSecs": {
            "title": "Answer timeout (seconds)",
            "type": "integer",
            "description": "How long to wait for the answer text before marking the row TIMEOUT.",
            "editor": "number",
            "default": 150,
            "prefill": 150,
            "minimum": 30,
            "maximum": 300
          },
          "retries": {
            "title": "Retries per prompt",
            "type": "integer",
            "description": "Extra fresh-chat attempts when Gemini returns no answer or times out.",
            "editor": "number",
            "default": 1,
            "prefill": 1,
            "minimum": 0,
            "maximum": 3
          },
          "proxyConfiguration": {
            "sectionCaption": "Connection",
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. The actor works without a proxy and retries through Apify's automatic datacenter proxy only if Google blocks the container IP. Provide a proxy only if you want to route the browser yourself.",
            "editor": "proxy"
          }
        },
        "required": [
          "prompts"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Gemini AI Answer, Citation & Brand Mention Tracker Output",
        "description": "One row per prompt with the Gemini answer, sections, citations, sources, follow-up suggestions, model label and tracked-brand visibility.",
        "properties": {
          "answers": {
            "type": "string",
            "title": "Gemini answers",
            "description": "Dataset containing one row per asked prompt.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultMemoryMbytes": 2048,
      "minMemoryMbytes": 2048,
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Answers",
              "transformation": {
                "fields": [
                  "prompt",
                  "status",
                  "answerText",
                  "modelLabel",
                  "citedDomains"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.8",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}