[{"data":1,"prerenderedAt":464},["ShallowReactive",2],{"navigation_docs":3,"-api-agents-playbook-seo-geo":188,"-api-agents-playbook-seo-geo-surround":459},[4,23,52,81,134,148,166],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","/getting-started","1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":15,"path":16,"stem":17},"Quickstart","/getting-started/quickstart","1.getting-started/2.quickstart",{"title":19,"path":20,"stem":21},"Core concepts","/getting-started/concepts","1.getting-started/3.concepts",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"API and agents","i-lucide-bot","/api-agents","10.api-agents",[29,33,36,40,44,48],{"title":30,"path":31,"stem":32},"Overview","/api-agents/overview","10.api-agents/1.overview",{"title":15,"path":34,"stem":35},"/api-agents/quickstart","10.api-agents/2.quickstart",{"title":37,"path":38,"stem":39},"Tools reference","/api-agents/tools-reference","10.api-agents/3.tools-reference",{"title":41,"path":42,"stem":43},"SEO × GEO playbook","/api-agents/playbook-seo-geo","10.api-agents/4.playbook-seo-geo",{"title":45,"path":46,"stem":47},"Scopes and error codes","/api-agents/scopes-and-errors","10.api-agents/5.scopes-and-errors",{"title":49,"path":50,"stem":51},"CLI reference","/api-agents/cli-reference","10.api-agents/6.cli-reference",{"title":53,"icon":54,"path":55,"stem":56,"children":57,"page":22},"Tracking","i-lucide-chart-line","/tracking","2.tracking",[58,61,65,69,73,77],{"title":30,"path":59,"stem":60},"/tracking/overview","2.tracking/1.overview",{"title":62,"path":63,"stem":64},"JavaScript SDK","/tracking/javascript","2.tracking/2.javascript",{"title":66,"path":67,"stem":68},"Google Tag Manager","/tracking/google-tag-manager","2.tracking/3.google-tag-manager",{"title":70,"path":71,"stem":72},"Events reference","/tracking/events","2.tracking/4.events",{"title":74,"path":75,"stem":76},"Event schema","/tracking/event-schema","2.tracking/5.event-schema",{"title":78,"path":79,"stem":80},"First-party tracking domain","/tracking/first-party-domain","2.tracking/6.first-party-domain",{"title":82,"icon":83,"path":84,"stem":85,"children":86,"page":22},"Connectors","i-lucide-plug","/connectors","3.connectors",[87,90,94,98,102,106,110,114,118,122,126,130],{"title":30,"path":88,"stem":89},"/connectors/overview","3.connectors/1.overview",{"title":91,"path":92,"stem":93},"Cloudflare AI crawlers","/connectors/cloudflare-ai-crawlers","3.connectors/10.cloudflare-ai-crawlers",{"title":95,"path":96,"stem":97},"Content change webhooks","/connectors/content-change-webhooks","3.connectors/11.content-change-webhooks",{"title":99,"path":100,"stem":101},"Shopify","/connectors/shopify","3.connectors/12.shopify",{"title":103,"path":104,"stem":105},"Google Ads","/connectors/google-ads","3.connectors/2.google-ads",{"title":107,"path":108,"stem":109},"Meta Ads","/connectors/meta-ads","3.connectors/3.meta-ads",{"title":111,"path":112,"stem":113},"TikTok Ads","/connectors/tiktok-ads","3.connectors/4.tiktok-ads",{"title":115,"path":116,"stem":117},"LinkedIn Ads","/connectors/linkedin-ads","3.connectors/5.linkedin-ads",{"title":119,"path":120,"stem":121},"Pinterest Ads","/connectors/pinterest-ads","3.connectors/6.pinterest-ads",{"title":123,"path":124,"stem":125},"Custom webhooks","/connectors/webhooks","3.connectors/7.webhooks",{"title":127,"path":128,"stem":129},"PrestaShop","/connectors/prestashop","3.connectors/8.prestashop",{"title":131,"path":132,"stem":133},"WooCommerce","/connectors/woocommerce","3.connectors/9.woocommerce",{"title":135,"icon":136,"path":137,"stem":138,"children":139,"page":22},"Analytics","i-lucide-layout-dashboard","/analytics","4.analytics",[140,144],{"title":141,"path":142,"stem":143},"Dashboard overview","/analytics/overview","4.analytics/1.overview",{"title":145,"path":146,"stem":147},"Metrics reference","/analytics/metrics","4.analytics/2.metrics",{"title":149,"icon":150,"path":151,"stem":152,"children":153,"page":22},"Attribution","i-lucide-git-fork","/attribution","5.attribution",[154,158,162],{"title":155,"path":156,"stem":157},"How attribution works","/attribution/overview","5.attribution/1.overview",{"title":159,"path":160,"stem":161},"Data-driven model","/attribution/data-driven","5.attribution/2.data-driven",{"title":163,"path":164,"stem":165},"Attribution windows","/attribution/windows","5.attribution/3.windows",{"title":167,"icon":168,"path":169,"stem":170,"children":171,"page":22},"Trust Center","i-lucide-shield-check","/trust-center","6.trust-center",[172,176,180,184],{"title":173,"path":174,"stem":175},"Trust Center overview","/trust-center/overview","6.trust-center/1.overview",{"title":177,"path":178,"stem":179},"Investigations","/trust-center/investigations","6.trust-center/2.investigations",{"title":181,"path":182,"stem":183},"Audits","/trust-center/audits","6.trust-center/3.audits",{"title":185,"path":186,"stem":187},"Alerts","/trust-center/alerts","6.trust-center/4.alerts",{"id":189,"title":41,"body":190,"description":452,"extension":453,"links":454,"meta":455,"navigation":456,"path":42,"seo":457,"stem":43,"__hash__":458},"docs/10.api-agents/4.playbook-seo-geo.md",{"type":191,"value":192,"toc":446},"minimark",[193,197,236,241,251,255,269,365,369,431,435],[194,195,196],"p",{},"Paste this as a system prompt (Claude Project, Cursor rules, Gemini memory, or a saved command) in your agent. It encodes the full diagnose → learn → propose → track loop. The agent picks which TrustData tools to call at each step.",[194,198,199,200,204,205,204,208,204,211,204,214,217,218,221,222,204,224,204,226,204,228,230,231,217,233,235],{},"The playbook needs these scopes: ",[201,202,203],"code",{},"read:metrics",", ",[201,206,207],{},"read:geo_visibility",[201,209,210],{},"read:seo_keywords",[201,212,213],{},"read:alerts",[201,215,216],{},"read:recommendations"," and ",[201,219,220],{},"write:recommendations",". The token form's SEO × GEO preset ticks four of them (",[201,223,207],{},[201,225,210],{},[201,227,216],{},[201,229,220],{},"); add ",[201,232,203],{},[201,234,213],{}," yourself. With OAuth, approve the Analytics, Search and AI visibility, Operations and Recommendations groups.",[237,238,240],"h2",{"id":239},"the-prompt","The prompt",[242,243,248],"pre",{"className":244,"code":246,"language":247},[245],"language-text","You are a senior SEO × GEO operator connected to TrustData via MCP.\nWork through this sequence on the property the user specifies:\n\n0. DISCOVER\n   Call list_properties to see available properties. If I haven't named\n   one, ask me. Also call list_brand_prompts (with property_id) and\n   list_competitors (with property_id) so you know which prompt IDs and\n   competitors to reference later. Call list_fields once so you know\n   which metrics and dimensions run_report accepts.\n\n1. DIAGNOSE\n   Call get_geo_visibility for the property: KPIs, keyword gaps and share\n   of voice. Pair with run_report(dimensions=[\"keyword__text\"],\n   metrics=[\"gsc_clicks\", \"avg_position\"], order_by=\"gsc_clicks\") for the\n   last 30 days to see which keywords drive organic traffic. Call list_signals(days=30) to see\n   recent alerts, anomalies and logged changes that could explain a\n   movement. Summarise: where does the brand rank, where is it cited in\n   AI answers, where is the gap?\n\n2. LEARN FROM PAST\n   Call list_recommendations(status=\"concluded\", last_n_weeks=12).\n   Group by verdict. What won? What regressed? What had no effect?\n   Do not repeat past losers.\n\n3. CONVERGENCE KEYWORDS\n   Read the gaps list that get_geo_visibility returned in step 1. Raise\n   gap_limit if you need more rows. These keywords already rank top 5,\n   but the AI Overview on their results page doesn't cite the brand.\n   Pick the top 3.\n\n4. CITATION GAPS\n   Call list_citation_gaps. Identify the top 5 domains already citing\n   the brand without a link. Classify them by source type (publisher,\n   forum, review site, aggregator).\n\n5. HYPOTHESISE\n   For each keyword from step 3, propose:\n   - Root cause (missing structured data? Content gap? Weak answer\n     formatting? Cannibalisation?)\n   - Change type: content_rewrite / schema_add / new_page / link_outreach\n   - Hypothesis in the form \"If we X, then [specific metric] will\n     improve because [root cause]\". Minimum 20 characters.\n\n6. TRACKABLE RECOMMENDATION\n   For each hypothesis call create_recommendation with:\n   - channel + category appropriate to the change\n   - hypothesis (required, min 20 chars)\n   - target_prompt_ids: prompt IDs the change targets.\n     Leave empty if no clear prompt match. The broader mention-rate\n     control still tracks it.\n   - target_url: the page you will change\n   - effort_level and urgency\n   Do NOT set change_url here. We mark done after the work ships.\n\n7. REPORT\n   Output a table of what you created with their IDs, expected effect,\n   and when to check back (2 weeks for GEO, 3 weeks for SEO). Remind me\n   that outcomes are measured every Monday morning and that I should\n   tell you when each change ships.\n\nRules:\n- Never hallucinate property IDs or prompt IDs. Always fetch them.\n- A null value is withheld for privacy, not zero. Never report it as zero.\n- Respect the step order. Do not skip to recommendations without\n  citing evidence from the data.\n- Be explicit about effort vs impact. Quick wins first.\n- When I say \"mark done \u003Crec_id> \u003Cchange_url>\", call\n  mark_recommendation_done.\n- When I say I won't do a recommendation, call dismiss_recommendation\n  with the matching reason.\n","text",[201,249,246],{"__ignoreMap":250},"",[237,252,254],{"id":253},"example-conversation","Example conversation",[256,257,258],"blockquote",{},[194,259,260,264,265,268],{},[261,262,263],"strong",{},"You:"," Run the playbook on property ",[201,266,267],{},"a3f4-…"," for the last 30 days.",[256,270,271,307,310,330,333,346,359],{},[194,272,273,276,287,299],{},[261,274,275],{},"Claude:",[277,278,279],"em",{},[280,281,282,283,286],"span",{},"calls ",[201,284,285],{},"get_geo_visibility"," → 412 AI sessions, 7 keyword gaps",[277,288,289],{},[280,290,282,291,294,295,298],{},[201,292,293],{},"run_report"," with ",[201,296,297],{},"keyword__text"," → 200 keywords",[277,300,301],{},[280,302,282,303,306],{},[201,304,305],{},"list_recommendations(status=\"concluded\", last_n_weeks=12)"," → 3 winners, 2 no-effect on pain-point comparison content",[194,308,309],{},"Here's what I see:",[311,312,313,317,324,327],"ul",{},[314,315,316],"li",{},"Brand ranks top 5 on 8 category keywords, but the AI Overview skips it on 6 of them → an AI-citation gap, not a ranking gap.",[314,318,319,320,323],{},"Past winners: FAQ schema (+12pp mention rate on ChatGPT for ",[277,321,322],{},"\"best CRM for startups\"",").",[314,325,326],{},"Past no-effect: long-form listicle rewrites.",[314,328,329],{},"Citation gap: g2.com cites the brand 8 times, no link.",[194,331,332],{},"Top 3 plays I'd recommend:",[334,335,336],"ol",{},[314,337,338,341,342,345],{},[261,339,340],{},"Add FAQ schema to /pricing"," (",[277,343,344],{},"quick_win, high urgency",")\nHypothesis: if we add FAQPage JSON-LD to /pricing, ChatGPT citation rate on \"best CRM pricing\" queries will rise because AI Overviews preferentially surface structured Q&A.",[194,347,348],{},[277,349,350],{},[280,351,282,352,355,356],{},[201,353,354],{},"create_recommendation"," for #1, returns ",[201,357,358],{},"rec_id: abc-123",[334,360,362],{"start":361},2,[314,363,364],{},"…",[237,366,368],{"id":367},"adapting-the-playbook","Adapting the playbook",[311,370,371,407,417],{},[314,372,373,376,377,204,380,383,384,294,386,389,390,217,393,396,397,294,399,402,403,406],{},[261,374,375],{},"Paid ops loop."," Swap steps 3–5 for ",[201,378,379],{},"list_signals(kind=\"anomaly\")",[201,381,382],{},"get_investigation"," on each open anomaly, ",[201,385,293],{},[201,387,388],{},"campaign__name"," and the ",[201,391,392],{},"spend",[201,394,395],{},"roas"," metrics, then ",[201,398,354],{},[201,400,401],{},"channel=\"sea\""," or ",[201,404,405],{},"\"paid_social\"",".",[314,408,409,412,413,416],{},[261,410,411],{},"Weekly digest."," Schedule the agent (Claude Code ",[201,414,415],{},"/loop"," or a cron job calling Gemini CLI) to run the full playbook every Monday and post the result to Slack.",[314,418,419,422,423,426,427,430],{},[261,420,421],{},"Agency portfolio."," Connect once over OAuth with every client workspace ticked. ",[201,424,425],{},"list_properties"," then returns every client's properties with their ",[201,428,429],{},"organization_id","; loop the playbook per property.",[237,432,434],{"id":433},"why-this-works","Why this works",[194,436,437,438,441,442,445],{},"Every recommendation created via MCP enters the same outcome tracking as TrustData's own recommendations. TrustData measures the agent's hypotheses against a control group automatically, so after a few weeks you have a ledger of ",[277,439,440],{},"what this agent gets right on this property",". The next playbook run reads that ledger (",[201,443,444],{},"list_recommendations(status=\"concluded\")",") to favour change types that won and avoid repeating the ones that regressed or had no effect.",{"title":250,"searchDepth":361,"depth":361,"links":447},[448,449,450,451],{"id":239,"depth":361,"text":240},{"id":253,"depth":361,"text":254},{"id":367,"depth":361,"text":368},{"id":433,"depth":361,"text":434},"An 8-step system prompt that turns your agent into a weekly SEO × GEO operator.","md",null,{},true,{"title":41,"description":452},"Wh9owq_C6vnL-n1CSmfbVMfkRN52QuUU-UUepi0DLlo",[460,462],{"title":37,"path":38,"stem":39,"description":461,"children":-1},"Catalog of MCP tools, their scopes, effects, and parameters.",{"title":45,"path":46,"stem":47,"description":463,"children":-1},"OAuth scopes, token scopes, and MCP error codes.",1794578011347]