[{"data":1,"prerenderedAt":348},["ShallowReactive",2],{"navigation_docs_en":3,"-en-chat-sdk-troubleshooting":135,"-en-chat-sdk-troubleshooting-surround":343},[4,18,47,60,69,102,131],{"title":5,"path":6,"stem":7,"children":8,"page":17},"Getting Started","\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[9,13],{"title":10,"path":11,"stem":12},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F1.installation",{"title":14,"path":15,"stem":16},"Configuration","\u002Fen\u002Fgetting-started\u002Fconfiguration","en\u002F1.getting-started\u002F2.configuration",false,{"title":19,"path":20,"stem":21,"children":22,"page":17},"Features","\u002Fen\u002Ffeatures","en\u002F2.features",[23,27,31,35,39,43],{"title":24,"path":25,"stem":26},"Page View Tracking","\u002Fen\u002Ffeatures\u002Fpageview-tracking","en\u002F2.features\u002F1.pageview-tracking",{"title":28,"path":29,"stem":30},"Conversion Tracking","\u002Fen\u002Ffeatures\u002Fconversion-tracking","en\u002F2.features\u002F2.conversion-tracking",{"title":32,"path":33,"stem":34},"SPA Support","\u002Fen\u002Ffeatures\u002Fspa-support","en\u002F2.features\u002F3.spa-support",{"title":36,"path":37,"stem":38},"React & Next.js","\u002Fen\u002Ffeatures\u002Freact-integration","en\u002F2.features\u002F4.react-integration",{"title":40,"path":41,"stem":42},"Vue & Nuxt","\u002Fen\u002Ffeatures\u002Fvue-integration","en\u002F2.features\u002F5.vue-integration",{"title":44,"path":45,"stem":46},"Google Tag Manager","\u002Fen\u002Ffeatures\u002Fgtm-integration","en\u002F2.features\u002F6.gtm-integration",{"title":48,"path":49,"stem":50,"children":51,"page":17},"Api","\u002Fen\u002Fapi","en\u002F3.api",[52,56],{"title":53,"path":54,"stem":55},"API Reference","\u002Fen\u002Fapi\u002Freference","en\u002F3.api\u002F1.reference",{"title":57,"path":58,"stem":59},"Events Reference","\u002Fen\u002Fapi\u002Fevents-reference","en\u002F3.api\u002F2.events-reference",{"title":61,"path":62,"stem":63,"children":64,"page":17},"Privacy","\u002Fen\u002Fprivacy","en\u002F4.privacy",[65],{"title":66,"path":67,"stem":68},"Data Collection & Privacy","\u002Fen\u002Fprivacy\u002Fdata-collection","en\u002F4.privacy\u002F1.data-collection",{"title":70,"path":71,"stem":72,"children":73,"page":17},"Chat SDK","\u002Fen\u002Fchat-sdk","en\u002F5.chat-sdk",[74,78,82,86,90,94,98],{"title":75,"path":76,"stem":77},"Chat SDK Getting Started","\u002Fen\u002Fchat-sdk\u002Fgetting-started","en\u002F5.chat-sdk\u002F1.getting-started",{"title":79,"path":80,"stem":81},"Vue Non-chat Integration","\u002Fen\u002Fchat-sdk\u002Fvue-non-chat","en\u002F5.chat-sdk\u002F2.vue-non-chat",{"title":83,"path":84,"stem":85},"React Integration","\u002Fen\u002Fchat-sdk\u002Freact-integration","en\u002F5.chat-sdk\u002F3.react-integration",{"title":87,"path":88,"stem":89},"AI SDK Middleware","\u002Fen\u002Fchat-sdk\u002Fai-sdk-middleware","en\u002F5.chat-sdk\u002F4.ai-sdk-middleware",{"title":91,"path":92,"stem":93},"Ad Formats","\u002Fen\u002Fchat-sdk\u002Fad-formats","en\u002F5.chat-sdk\u002F5.ad-formats",{"title":95,"path":96,"stem":97},"Tracking and Attribution","\u002Fen\u002Fchat-sdk\u002Ftracking-and-attribution","en\u002F5.chat-sdk\u002F6.tracking-and-attribution",{"title":99,"path":100,"stem":101},"Troubleshooting","\u002Fen\u002Fchat-sdk\u002Ftroubleshooting","en\u002F5.chat-sdk\u002F7.troubleshooting",{"title":103,"path":104,"stem":105,"children":106,"page":17},"Advertiser API","\u002Fen\u002Fadvertiser-api","en\u002F6.advertiser-api",[107,111,115,119,123,127],{"title":108,"path":109,"stem":110},"Overview","\u002Fen\u002Fadvertiser-api\u002Foverview","en\u002F6.advertiser-api\u002F1.overview",{"title":112,"path":113,"stem":114},"Read","\u002Fen\u002Fadvertiser-api\u002Fread","en\u002F6.advertiser-api\u002F2.read",{"title":116,"path":117,"stem":118},"Write","\u002Fen\u002Fadvertiser-api\u002Fwrite","en\u002F6.advertiser-api\u002F3.write",{"title":120,"path":121,"stem":122},"Conversions API","\u002Fen\u002Fadvertiser-api\u002Fconversions","en\u002F6.advertiser-api\u002F4.conversions",{"title":124,"path":125,"stem":126},"MCP server","\u002Fen\u002Fadvertiser-api\u002Fmcp","en\u002F6.advertiser-api\u002F5.mcp",{"title":128,"path":129,"stem":130},"Estimate","\u002Fen\u002Fadvertiser-api\u002Festimate","en\u002F6.advertiser-api\u002F6.estimate",{"title":132,"path":133,"stem":134},"Start Here","\u002Fen\u002Fstart-here","en\u002Fstart-here",{"id":136,"title":99,"body":137,"description":336,"extension":337,"links":338,"meta":339,"navigation":340,"path":100,"seo":341,"stem":101,"__hash__":342},"docs_en\u002Fen\u002F5.chat-sdk\u002F7.troubleshooting.md",{"type":138,"value":139,"toc":330},"minimark",[140,144,149,153,188,192,213,217,233,237,240,326],[141,142,99],"h1",{"id":143},"troubleshooting",[145,146,148],"h2",{"id":147},"no-ad-returned","No ad returned",[150,151,152],"p",{},"Check:",[154,155,156,167,173],"ul",{},[157,158,159,163,164],"li",{},[160,161,162],"code",{},"apiKey"," starts with ",[160,165,166],{},"idl_pk_",[157,168,169,172],{},[160,170,171],{},"sessionId"," is provided",[157,174,175,176,179,180,183,184,187],{},"at least one of ",[160,177,178],{},"rawText",", ",[160,181,182],{},"contentText",", or ",[160,185,186],{},"context.topics"," is available",[145,189,191],{"id":190},"wrong-method-for-the-use-case","Wrong method for the use case",[154,193,194,204],{},[157,195,196,197,200,201],{},"Chat messages: ",[160,198,199],{},"fetchAd"," \u002F ",[160,202,203],{},"getAd",[157,205,206,207,200,210],{},"Non-chat UI blocks: ",[160,208,209],{},"fetchAdForContent",[160,211,212],{},"getAdForContent",[145,214,216],{"id":215},"clicks-not-visible","Clicks not visible",[154,218,219,230],{},[157,220,221,222,225,226,229],{},"Ensure ",[160,223,224],{},"trackClick"," is bound to the same link\u002Fbutton that opens ",[160,227,228],{},"ctaUrl",".",[157,231,232],{},"Avoid navigation that bypasses click handlers before tracking can fire.",[145,234,236],{"id":235},"debug-logs","Debug logs",[150,238,239],{},"Enable SDK debug mode:",[241,242,247],"pre",{"className":243,"code":244,"language":245,"meta":246,"style":246},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const ads = new IdlenChatAds({\n  apiKey: 'idl_pk_...',\n  debug: true\n});\n","ts","",[160,248,249,279,302,314],{"__ignoreMap":246},[250,251,254,258,262,266,269,273,276],"span",{"class":252,"line":253},"line",1,[250,255,257],{"class":256},"spNyl","const",[250,259,261],{"class":260},"sTEyZ"," ads ",[250,263,265],{"class":264},"sMK4o","=",[250,267,268],{"class":264}," new",[250,270,272],{"class":271},"s2Zo4"," IdlenChatAds",[250,274,275],{"class":260},"(",[250,277,278],{"class":264},"{\n",[250,280,282,286,289,292,296,299],{"class":252,"line":281},2,[250,283,285],{"class":284},"swJcz","  apiKey",[250,287,288],{"class":264},":",[250,290,291],{"class":264}," '",[250,293,295],{"class":294},"sfazB","idl_pk_...",[250,297,298],{"class":264},"'",[250,300,301],{"class":264},",\n",[250,303,305,308,310],{"class":252,"line":304},3,[250,306,307],{"class":284},"  debug",[250,309,288],{"class":264},[250,311,313],{"class":312},"sfNiH"," true\n",[250,315,317,320,323],{"class":252,"line":316},4,[250,318,319],{"class":264},"}",[250,321,322],{"class":260},")",[250,324,325],{"class":264},";\n",[327,328,329],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":246,"searchDepth":281,"depth":281,"links":331},[332,333,334,335],{"id":147,"depth":281,"text":148},{"id":190,"depth":281,"text":191},{"id":215,"depth":281,"text":216},{"id":235,"depth":281,"text":236},"Fix common Chat SDK integration issues","md",null,{},true,{"title":99,"description":336},"ZWm3YI50WT9Q2lq_SKMqJ8-Rdlwuy4hWcdHRzCwQKB8",[344,346],{"title":95,"path":96,"stem":97,"description":345,"children":-1},"Understand impression and click tracking with the Chat SDK",{"title":108,"path":109,"stem":110,"description":347,"children":-1},"Authentication, scopes, rate limit, and errors for the Idlen Advertiser API",1793864625615]