[{"data":1,"prerenderedAt":1729},["ShallowReactive",2],{"navigation_docs":3,"-integrations-analytics-amplitude":367,"-integrations-analytics-amplitude-surround":1724},[4,10,71,102,272,348],{"title":5,"path":6,"stem":7,"icon":8,"exact":9},"Introduction","\u002F","0.index","i-lucide-book-open",true,{"title":11,"icon":12,"modifiedAt":13,"path":14,"stem":15,"children":16,"page":12},"Getting Started",false,"2026-04-30T19:15:33.000Z","\u002Fgetting-started","1.getting-started",[17,22,27,32,37,42,47,61,66],{"title":18,"path":19,"stem":20,"icon":21},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F1.quickstart","i-lucide-fast-forward",{"title":23,"path":24,"stem":25,"icon":26},"Core Concepts","\u002Fgetting-started\u002Fcore-concepts","1.getting-started\u002F2.core-concepts","i-lucide-workflow",{"title":28,"path":29,"stem":30,"icon":31},"Configs Anatomy","\u002Fgetting-started\u002Fconfigs","1.getting-started\u002F3.configs","i-lucide-file-cog",{"title":33,"path":34,"stem":35,"icon":36},"Architecture","\u002Fgetting-started\u002Farchitecture","1.getting-started\u002F4.architecture","i-lucide-layers",{"title":38,"path":39,"stem":40,"icon":41},"JSON Schema Validation","\u002Fgetting-started\u002Fjson-schema-validation","1.getting-started\u002F5.json-schema-validation","i-lucide-braces",{"title":43,"path":44,"stem":45,"icon":46},"Testing Rules","\u002Fgetting-started\u002Ftesting-targeting-rules","1.getting-started\u002F6.testing-targeting-rules","i-lucide-flask-conical",{"title":48,"modifiedAt":49,"icon":50,"defaultOpen":12,"path":51,"stem":52,"children":53},"Experiments","2026-11-10T01:16:18.000Z","i-lucide-flask-round","\u002Fgetting-started\u002Fexperiments","1.getting-started\u002F7.experiments\u002Findex",[54,56],{"title":55,"path":51,"stem":52,"icon":8},"Overview",{"title":57,"path":58,"stem":59,"icon":60},"How results are computed","\u002Fgetting-started\u002Fexperiments\u002Fhow-results-are-computed","1.getting-started\u002F7.experiments\u002F1.how-results-are-computed","i-lucide-sigma",{"title":62,"path":63,"stem":64,"icon":65},"Segments","\u002Fgetting-started\u002Fsegments","1.getting-started\u002F8.segments","i-lucide-squares-intersect",{"title":67,"path":68,"stem":69,"icon":70},"Pricing & Billing","\u002Fgetting-started\u002Fpricing-and-billing","1.getting-started\u002F9.pricing-and-billing","i-lucide-credit-card",{"title":72,"modifiedAt":73,"defaultOpen":9,"path":74,"stem":75,"children":76,"page":12},"Monitoring","2026-09-24T23:33:20.000Z","\u002Fmonitoring","2.monitoring",[77,82,87,92,97],{"title":78,"path":79,"stem":80,"icon":81},"Activity","\u002Fmonitoring\u002Factivity","2.monitoring\u002F1.activity","i-lucide-activity",{"title":83,"path":84,"stem":85,"icon":86},"Lifecycle","\u002Fmonitoring\u002Flifecycle","2.monitoring\u002F2.lifecycle","i-lucide-recycle",{"title":88,"path":89,"stem":90,"icon":91},"Alerts","\u002Fmonitoring\u002Falerts","2.monitoring\u002F3.alerts","i-lucide-bell",{"title":93,"path":94,"stem":95,"icon":96},"Dynamic Detection","\u002Fmonitoring\u002Fdynamic-detection","2.monitoring\u002F4.dynamic-detection","i-lucide-hat-glasses",{"title":98,"path":99,"stem":100,"icon":101},"Audit log","\u002Fmonitoring\u002Faudit-log","2.monitoring\u002F5.audit-log","i-lucide-logs",{"title":103,"modifiedAt":73,"defaultOpen":9,"path":104,"stem":105,"children":106,"page":12},"SDKs","\u002Fsdks","3.sdks",[107,112,133,158,174,215,267],{"title":108,"path":109,"stem":110,"icon":111},"Available SDKs","\u002Fsdks\u002Favailable-sdks","3.sdks\u002F1.available-sdks","i-lucide-list",{"title":113,"modifiedAt":73,"icon":114,"defaultOpen":12,"path":115,"stem":116,"children":117,"page":12},"Browser SDKs","i-lucide-monitor","\u002Fsdks\u002Fbrowser","3.sdks\u002F2.browser",[118,123,128],{"title":119,"path":120,"stem":121,"icon":122},"Javascript","\u002Fsdks\u002Fbrowser\u002Fjavascript","3.sdks\u002F2.browser\u002F1.javascript","cd-logos-javascript",{"title":124,"path":125,"stem":126,"icon":127},"React","\u002Fsdks\u002Fbrowser\u002Freact","3.sdks\u002F2.browser\u002F2.react","cd-logos-react-light",{"title":129,"path":130,"stem":131,"icon":132},"Vue","\u002Fsdks\u002Fbrowser\u002Fvue","3.sdks\u002F2.browser\u002F3.vue","cd-logos-vue",{"title":134,"modifiedAt":73,"icon":135,"defaultOpen":12,"path":136,"stem":137,"children":138,"page":12},"Mobile SDKs","i-lucide-smartphone","\u002Fsdks\u002Fmobile","3.sdks\u002F3.mobile",[139,143,148,153],{"title":140,"path":141,"stem":142,"icon":127},"React Native","\u002Fsdks\u002Fmobile\u002Freact-native","3.sdks\u002F3.mobile\u002F1.react-native",{"title":144,"path":145,"stem":146,"icon":147},"Flutter","\u002Fsdks\u002Fmobile\u002Fflutter","3.sdks\u002F3.mobile\u002F2.flutter","cd-logos-flutter",{"title":149,"path":150,"stem":151,"icon":152},"Swift","\u002Fsdks\u002Fmobile\u002Fswift","3.sdks\u002F3.mobile\u002F3.swift","cd-logos-swift",{"title":154,"path":155,"stem":156,"icon":157},"Android","\u002Fsdks\u002Fmobile\u002Fandroid","3.sdks\u002F3.mobile\u002F4.android","cd-logos-android",{"title":159,"modifiedAt":73,"icon":160,"defaultOpen":12,"path":161,"stem":162,"children":163,"page":12},"Meta-framework SDKs","i-lucide-monitor-smartphone","\u002Fsdks\u002Fmeta","3.sdks\u002F4.meta",[164,169],{"title":165,"path":166,"stem":167,"icon":168},"Next.js","\u002Fsdks\u002Fmeta\u002Fnextjs","3.sdks\u002F4.meta\u002F1.nextjs","cd-logos-nextjs",{"title":170,"path":171,"stem":172,"icon":173},"Nuxt","\u002Fsdks\u002Fmeta\u002Fnuxt","3.sdks\u002F4.meta\u002F2.nuxt","cd-logos-nuxt",{"title":175,"modifiedAt":73,"icon":176,"defaultOpen":12,"path":177,"stem":178,"children":179,"page":12},"Server SDKs","i-lucide-server","\u002Fsdks\u002Fserver","3.sdks\u002F5.server",[180,185,190,195,200,205,210],{"title":181,"path":182,"stem":183,"icon":184},"Node.js","\u002Fsdks\u002Fserver\u002Fnode-js","3.sdks\u002F5.server\u002F1.node-js","cd-logos-nodejs",{"title":186,"path":187,"stem":188,"icon":189},"Python","\u002Fsdks\u002Fserver\u002Fpython","3.sdks\u002F5.server\u002F2.python","cd-logos-python",{"title":191,"path":192,"stem":193,"icon":194},"Java","\u002Fsdks\u002Fserver\u002Fjava","3.sdks\u002F5.server\u002F3.java","cd-logos-java",{"title":196,"path":197,"stem":198,"icon":199},".NET","\u002Fsdks\u002Fserver\u002Fdotnet","3.sdks\u002F5.server\u002F4.dotnet","cd-logos-dotnet",{"title":201,"path":202,"stem":203,"icon":204},"Go","\u002Fsdks\u002Fserver\u002Fgo","3.sdks\u002F5.server\u002F5.go","cd-logos-go",{"title":206,"path":207,"stem":208,"icon":209},"PHP","\u002Fsdks\u002Fserver\u002Fphp","3.sdks\u002F5.server\u002F6.php","cd-logos-php",{"title":211,"path":212,"stem":213,"icon":214},"Ruby","\u002Fsdks\u002Fserver\u002Fruby","3.sdks\u002F5.server\u002F7.ruby","cd-logos-ruby",{"title":216,"modifiedAt":73,"icon":217,"defaultOpen":12,"path":218,"stem":219,"children":220},"OpenFeature Providers","cd-logos-openfeature","\u002Fsdks\u002Fopenfeature","3.sdks\u002F6.openfeature\u002Findex",[221,222,227,231,235,239,243,247,251,255,259,263],{"title":55,"path":218,"stem":219,"icon":217},{"title":223,"path":224,"stem":225,"icon":217,"icons":226},"Web","\u002Fsdks\u002Fopenfeature\u002Fweb","3.sdks\u002F6.openfeature\u002F1.web",[217,122],{"title":149,"path":228,"stem":229,"icon":217,"icons":230},"\u002Fsdks\u002Fopenfeature\u002Fswift","3.sdks\u002F6.openfeature\u002F2.swift",[217,152],{"title":154,"path":232,"stem":233,"icon":217,"icons":234},"\u002Fsdks\u002Fopenfeature\u002Fandroid","3.sdks\u002F6.openfeature\u002F3.android",[217,157],{"title":144,"path":236,"stem":237,"icon":217,"icons":238},"\u002Fsdks\u002Fopenfeature\u002Fflutter","3.sdks\u002F6.openfeature\u002F4.flutter",[217,147],{"title":181,"path":240,"stem":241,"icon":217,"icons":242},"\u002Fsdks\u002Fopenfeature\u002Fnode-js","3.sdks\u002F6.openfeature\u002F5.node-js",[217,184],{"title":186,"path":244,"stem":245,"icon":217,"icons":246},"\u002Fsdks\u002Fopenfeature\u002Fpython","3.sdks\u002F6.openfeature\u002F6.python",[217,189],{"title":191,"path":248,"stem":249,"icon":217,"icons":250},"\u002Fsdks\u002Fopenfeature\u002Fjava","3.sdks\u002F6.openfeature\u002F7.java",[217,194],{"title":196,"path":252,"stem":253,"icon":217,"icons":254},"\u002Fsdks\u002Fopenfeature\u002Fdotnet","3.sdks\u002F6.openfeature\u002F8.dotnet",[217,199],{"title":201,"path":256,"stem":257,"icon":217,"icons":258},"\u002Fsdks\u002Fopenfeature\u002Fgo","3.sdks\u002F6.openfeature\u002F9.go",[217,204],{"title":206,"path":260,"stem":261,"icon":217,"icons":262},"\u002Fsdks\u002Fopenfeature\u002Fphp","3.sdks\u002F6.openfeature\u002F90.php",[217,209],{"title":211,"path":264,"stem":265,"icon":217,"icons":266},"\u002Fsdks\u002Fopenfeature\u002Fruby","3.sdks\u002F6.openfeature\u002F91.ruby",[217,214],{"title":268,"path":269,"stem":270,"icon":271},"Maven Repository","\u002Fsdks\u002Fmaven-repository","3.sdks\u002F7.maven-repository","i-lucide-package",{"title":273,"modifiedAt":73,"defaultOpen":9,"path":274,"stem":275,"children":276,"page":12},"Integrations","\u002Fintegrations","4.integrations",[277,282,287,292,297,301,306,343],{"title":278,"path":279,"stem":280,"icon":281},"MCP","\u002Fintegrations\u002Fmcp","4.integrations\u002F1.mcp","cd-logos-mcp",{"title":283,"path":284,"stem":285,"icon":286},"Agent Skills","\u002Fintegrations\u002Fagents","4.integrations\u002F2.agents","i-lucide-bot",{"title":288,"path":289,"stem":290,"icon":291},"CLI","\u002Fintegrations\u002Fcli","4.integrations\u002F3.cli","cd-logos-cli",{"title":293,"path":294,"stem":295,"icon":296},"Terraform","\u002Fintegrations\u002Fterraform","4.integrations\u002F4.terraform","cd-logos-terraform",{"title":298,"path":299,"stem":300,"icon":41},"Admin API","\u002Fintegrations\u002Fadmin-api","4.integrations\u002F5.admin-api",{"title":302,"path":303,"stem":304,"icon":305},"Webhooks","\u002Fintegrations\u002Fwebhooks","4.integrations\u002F6.webhooks","i-lucide-webhook",{"title":307,"modifiedAt":308,"icon":309,"defaultOpen":12,"path":310,"stem":311,"children":312},"Analytics","2026-11-08T17:10:01.000Z","i-lucide-chart-line","\u002Fintegrations\u002Fanalytics","4.integrations\u002F7.analytics\u002Findex",[313,315,319,323,327,331,335,339],{"title":55,"path":310,"stem":311,"icon":314},"i-lucide-blocks",{"title":316,"path":317,"stem":318,"icon":309},"Amplitude","\u002Fintegrations\u002Fanalytics\u002Famplitude","4.integrations\u002F7.analytics\u002F1.amplitude",{"title":320,"path":321,"stem":322,"icon":309},"Datadog","\u002Fintegrations\u002Fanalytics\u002Fdatadog","4.integrations\u002F7.analytics\u002F2.datadog",{"title":324,"path":325,"stem":326,"icon":309},"Google Analytics 4","\u002Fintegrations\u002Fanalytics\u002Fga4","4.integrations\u002F7.analytics\u002F3.ga4",{"title":328,"path":329,"stem":330,"icon":309},"Grafana","\u002Fintegrations\u002Fanalytics\u002Fgrafana","4.integrations\u002F7.analytics\u002F4.grafana",{"title":332,"path":333,"stem":334,"icon":309},"Mixpanel","\u002Fintegrations\u002Fanalytics\u002Fmixpanel","4.integrations\u002F7.analytics\u002F5.mixpanel",{"title":336,"path":337,"stem":338,"icon":309},"PostHog","\u002Fintegrations\u002Fanalytics\u002Fposthog","4.integrations\u002F7.analytics\u002F6.posthog",{"title":340,"path":341,"stem":342,"icon":309},"Segment","\u002Fintegrations\u002Fanalytics\u002Fsegment","4.integrations\u002F7.analytics\u002F7.segment",{"title":344,"path":345,"stem":346,"icon":347},"Slack","\u002Fintegrations\u002Fslack","4.integrations\u002F8.slack","i-simple-icons-slack",{"title":349,"modifiedAt":350,"defaultOpen":9,"path":351,"stem":352,"children":353,"page":12},"Migration Guides","2026-10-16T17:57:49.000Z","\u002Fmigration-guides","5.migration-guides",[354,359,363],{"title":355,"path":356,"stem":357,"icon":358},"From LaunchDarkly","\u002Fmigration-guides\u002Flaunchdarkly","5.migration-guides\u002F1.launchdarkly","i-lucide-baggage-claim",{"title":360,"path":361,"stem":362,"icon":358},"From Firebase Remote Config","\u002Fmigration-guides\u002Ffirebase-remote-config","5.migration-guides\u002F2.firebase-remote-config",{"title":364,"path":365,"stem":366,"icon":358},"From Firebase A\u002FB Testing","\u002Fmigration-guides\u002Ffirebase-ab-testing","5.migration-guides\u002F3.firebase-ab-testing",{"id":368,"title":316,"body":369,"description":1715,"extension":1716,"links":1717,"meta":1718,"navigation":1719,"path":317,"seo":1720,"stem":318,"__hash__":1723},"docs\u002F4.integrations\u002F7.analytics\u002F1.amplitude.md",{"type":370,"value":371,"toc":1700},"minimark",[372,376,380,409,412,415,420,478,482,539,547,551,571,593,596,602,605,609,621,668,679,683,699,1118,1129,1139,1151,1155,1161,1586,1598,1602,1605,1620,1624,1627,1636,1678,1693,1696],[373,374,5],"h2",{"id":375},"introduction",[377,378,379],"p",{},"ConfigDirector works with Amplitude in two ways, and you can use either or both:",[381,382,383,400],"ul",{},[384,385,386,395,396,399],"li",{},[387,388,389,394],"strong",{},[390,391,393],"a",{"href":392},"#mark-experiment-runs-on-your-charts","Mark experiment runs on your charts","."," ConfigDirector posts a marker to Amplitude when an ",[390,397,398],{"href":51},"experiment","'s run starts, its split changes, a variation is shipped or the run is stopped. You set this up in the dashboard, with no code.",[384,401,402,408],{},[387,403,404,394],{},[390,405,407],{"href":406},"#send-exposures-from-your-application","Send exposures from your application"," Your application tells Amplitude which variation each user saw, so you can compare the variations next to the events you already track there. You add a handler to your code once.",[373,410,393],{"id":411},"mark-experiment-runs-on-your-charts",[377,413,414],{},"An Amplitude integration posts a marker for each run event. The marker shows on every chart of the Amplitude project: its label is the config key and the environment name, and its details say what happened and who did it.",[416,417,419],"h3",{"id":418},"settings","Settings",[421,422,423,436],"table",{},[424,425,426],"thead",{},[427,428,429,433],"tr",{},[430,431,432],"th",{},"Setting",[430,434,435],{},"Value",[437,438,439,457],"tbody",{},[427,440,441,447],{},[442,443,444],"td",{},[387,445,446],{},"Data center",[442,448,449,452,453,456],{},[387,450,451],{},"US",", or ",[387,454,455],{},"EU"," when the Amplitude project lives in the EU data center",[427,458,459,468],{},[442,460,461,464,465],{},[387,462,463],{},"API key"," and ",[387,466,467],{},"Secret key",[442,469,470,471,473,474,477],{},"The project's, from ",[387,472,419],{}," > ",[387,475,476],{},"Projects"," > your project in Amplitude",[416,479,481],{"id":480},"create-the-integration","Create the integration",[483,484,485,495,498,501,514,521,524],"ol",{},[384,486,487,488,490,491,494],{},"Open ",[387,489,273],{}," at the bottom of the dashboard's navigation and pick the tool, or click ",[387,492,493],{},"Add integration"," when you already have one.",[384,496,497],{},"Give the integration a name, or keep the tool's name.",[384,499,500],{},"Fill in the settings above and paste the credential you created in the tool. Credentials are stored encrypted and never shown again.",[384,502,503,504,506,507,464,510,513],{},"Narrow it down with the ",[387,505,476],{},", ",[387,508,509],{},"Environments",[387,511,512],{},"Tags"," filters, or leave them empty to mark every run. A run is marked when its project, its environment and its config's tags pass every filter you set; an empty filter lets everything through. An integration filtered to Production marks Production runs only.",[384,515,516,517,520],{},"Keep ",[387,518,519],{},"Enabled"," on. A disabled integration marks nothing, and runs that start or end while it is disabled are not marked later.",[384,522,523],{},"Save. The integration's page shows the tool's settings and the address it posts to.",[384,525,526,527,530,531,534,535,538],{},"Click ",[387,528,529],{},"Send test marker"," and confirm. A marker titled ",[387,532,533],{},"ConfigDirector test"," is posted to the tool right away, at the current time, and shows under ",[387,536,537],{},"Deliveries"," with the tool's response, so you can see where run markers will land.",[377,540,541,542,546],{},"The ",[390,543,545],{"href":544},"\u002Fintegrations\u002Fanalytics#mark-experiment-runs-on-your-charts","Analytics overview"," explains what each marker says, how deliveries are retried and what happens when the tool stops accepting markers.",[416,548,550],{"id":549},"what-configdirector-posts","What ConfigDirector posts",[377,552,553,554,452,558,561,562,566,567,570],{},"The integration posts to ",[555,556,557],"code",{},"https:\u002F\u002Famplitude.com\u002Fapi\u002F3\u002Fannotations",[555,559,560],{},"https:\u002F\u002Fanalytics.eu.amplitude.com\u002Fapi\u002F3\u002Fannotations"," on the EU data center, authenticated with the two keys as HTTP Basic credentials. Set an ",[390,563,565],{"href":564},"\u002Fintegrations\u002Fanalytics#endpoint-url-override","endpoint URL"," under ",[387,568,569],{},"Advanced"," only to post somewhere else.",[377,572,573,574,577,578,581,582,585,586,394],{},"The body sent is ",[555,575,576],{},"{ \"label\", \"start\", \"details\" }",", with ",[555,579,580],{},"start"," in ISO 8601; no ",[555,583,584],{},"chart_id"," is sent, so the annotation is project-wide. Amplitude's documentation: ",[390,587,592],{"href":588,"rel":589,"target":591},"https:\u002F\u002Famplitude.com\u002Fdocs\u002Fapis\u002Fanalytics\u002Fchart-annotations",[590],"noopener","_blank","Chart Annotations API",[373,594,407],{"id":595},"send-exposures-from-your-application",[377,597,598,599,601],{},"To compare an ",[390,600,398],{"href":51},"'s variations in Amplitude, your application tells Amplitude which variation each user saw. You add a handler once, and Amplitude joins those exposures to the events you already send it.",[377,603,604],{},"These exposures go straight from your application to Amplitude, so nothing passes through ConfigDirector.",[416,606,608],{"id":607},"what-amplitude-reads","What Amplitude reads",[377,610,611,612,620],{},"Amplitude's experiment analysis reads an ",[390,613,616,619],{"href":614,"rel":615,"target":591},"https:\u002F\u002Famplitude.com\u002Fdocs\u002Ffeature-experiment\u002Funder-the-hood\u002Fevent-tracking#exposure-events",[590],[555,617,618],{},"$exposure"," event"," with two properties:",[421,622,623,636],{},[424,624,625],{},[427,626,627,630,633],{},[430,628,629],{},"Property",[430,631,632],{},"What you send",[430,634,635],{},"Example",[437,637,638,653],{},[427,639,640,645,648],{},[442,641,642],{},[555,643,644],{},"flag_key",[442,646,647],{},"The config key",[442,649,650],{},[555,651,652],{},"checkout-cta-copy",[427,654,655,660,663],{},[442,656,657],{},[555,658,659],{},"variant",[442,661,662],{},"The variation's name",[442,664,665],{},[555,666,667],{},"treatment-a",[377,669,670,671,674,675,678],{},"When it receives the event, Amplitude renames it ",[555,672,673],{},"[Experiment] Exposure"," and sets the user property ",[555,676,677],{},"[Experiment] checkout-cta-copy"," to the variation's name.",[416,680,682],{"id":681},"add-the-handler","Add the handler",[377,684,685,686,689,690,694,695,698],{},"Add a handler for the ",[555,687,688],{},"configEvaluated"," hook where you create the client, in the ",[390,691,693],{"href":692},"\u002Fsdks\u002Fbrowser\u002Fjavascript#hooks","browser"," or in ",[390,696,181],{"href":697},"\u002Fsdks\u002Fserver\u002Fnode-js#hooks",":",[700,701,702,941],"code-group",{},[703,704,710],"pre",{"className":705,"code":706,"filename":707,"language":708,"meta":709,"style":709},"language-ts shiki shiki-themes github-light-high-contrast github-light github-dark","import * as amplitude from \"@amplitude\u002Fanalytics-browser\";\nimport { createClient } from \"@configdirector\u002Fclient-sdk\";\n\namplitude.init(\"YOUR-AMPLITUDE-API-KEY\");\n\nexport const client = createClient(\"YOUR-CLIENT-SDK-KEY\", {\n  hooks: {\n    configEvaluated: ({ evaluation }) => {\n      const variationName = evaluation.variation?.name;\n      if (!variationName) return;\n\n      amplitude.track(\"$exposure\", { flag_key: evaluation.key, variant: variationName });\n    },\n  },\n});\n\nawait client.initialize({ id: \"user-42\" });\n","Browser","ts","",[555,711,712,742,757,763,782,787,813,819,841,855,875,880,897,903,909,915,920],{"__ignoreMap":709},[713,714,717,721,725,728,732,735,739],"span",{"class":715,"line":716},"line",1,[713,718,720],{"class":719},"sLDKn","import",[713,722,724],{"class":723},"sxMNI"," *",[713,726,727],{"class":719}," as",[713,729,731],{"class":730},"sbRM4"," amplitude ",[713,733,734],{"class":719},"from",[713,736,738],{"class":737},"suztq"," \"@amplitude\u002Fanalytics-browser\"",[713,740,741],{"class":730},";\n",[713,743,745,747,750,752,755],{"class":715,"line":744},2,[713,746,720],{"class":719},[713,748,749],{"class":730}," { createClient } ",[713,751,734],{"class":719},[713,753,754],{"class":737}," \"@configdirector\u002Fclient-sdk\"",[713,756,741],{"class":730},[713,758,760],{"class":715,"line":759},3,[713,761,762],{"emptyLinePlaceholder":9},"\n",[713,764,766,769,773,776,779],{"class":715,"line":765},4,[713,767,768],{"class":730},"amplitude.",[713,770,772],{"class":771},"sEIia","init",[713,774,775],{"class":730},"(",[713,777,778],{"class":737},"\"YOUR-AMPLITUDE-API-KEY\"",[713,780,781],{"class":730},");\n",[713,783,785],{"class":715,"line":784},5,[713,786,762],{"emptyLinePlaceholder":9},[713,788,790,793,796,799,802,805,807,810],{"class":715,"line":789},6,[713,791,792],{"class":719},"export",[713,794,795],{"class":719}," const",[713,797,798],{"class":723}," client",[713,800,801],{"class":719}," =",[713,803,804],{"class":771}," createClient",[713,806,775],{"class":730},[713,808,809],{"class":737},"\"YOUR-CLIENT-SDK-KEY\"",[713,811,812],{"class":730},", {\n",[713,814,816],{"class":715,"line":815},7,[713,817,818],{"class":730},"  hooks: {\n",[713,820,822,825,828,832,835,838],{"class":715,"line":821},8,[713,823,824],{"class":771},"    configEvaluated",[713,826,827],{"class":730},": ({ ",[713,829,831],{"class":830},"syyZu","evaluation",[713,833,834],{"class":730}," }) ",[713,836,837],{"class":719},"=>",[713,839,840],{"class":730}," {\n",[713,842,844,847,850,852],{"class":715,"line":843},9,[713,845,846],{"class":719},"      const",[713,848,849],{"class":723}," variationName",[713,851,801],{"class":719},[713,853,854],{"class":730}," evaluation.variation?.name;\n",[713,856,858,861,864,867,870,873],{"class":715,"line":857},10,[713,859,860],{"class":719},"      if",[713,862,863],{"class":730}," (",[713,865,866],{"class":719},"!",[713,868,869],{"class":730},"variationName) ",[713,871,872],{"class":719},"return",[713,874,741],{"class":730},[713,876,878],{"class":715,"line":877},11,[713,879,762],{"emptyLinePlaceholder":9},[713,881,883,886,889,891,894],{"class":715,"line":882},12,[713,884,885],{"class":730},"      amplitude.",[713,887,888],{"class":771},"track",[713,890,775],{"class":730},[713,892,893],{"class":737},"\"$exposure\"",[713,895,896],{"class":730},", { flag_key: evaluation.key, variant: variationName });\n",[713,898,900],{"class":715,"line":899},13,[713,901,902],{"class":730},"    },\n",[713,904,906],{"class":715,"line":905},14,[713,907,908],{"class":730},"  },\n",[713,910,912],{"class":715,"line":911},15,[713,913,914],{"class":730},"});\n",[713,916,918],{"class":715,"line":917},16,[713,919,762],{"emptyLinePlaceholder":9},[713,921,923,926,929,932,935,938],{"class":715,"line":922},17,[713,924,925],{"class":719},"await",[713,927,928],{"class":730}," client.",[713,930,931],{"class":771},"initialize",[713,933,934],{"class":730},"({ id: ",[713,936,937],{"class":737},"\"user-42\"",[713,939,940],{"class":730}," });\n",[703,942,944],{"className":705,"code":943,"filename":181,"language":708,"meta":709,"style":709},"import { init, track } from \"@amplitude\u002Fanalytics-node\";\nimport { createClient } from \"@configdirector\u002Fserver-sdk\";\n\ninit(\"YOUR-AMPLITUDE-API-KEY\");\n\nexport const client = createClient(\"YOUR-SERVER-SDK-KEY\", {\n  hooks: {\n    configEvaluated: ({ evaluation }) => {\n      const variationName = evaluation.variation?.name;\n      const userId = evaluation.context?.id;\n      if (!variationName || !userId) return;\n\n      track(\"$exposure\", { flag_key: evaluation.key, variant: variationName }, { user_id: userId });\n    },\n  },\n});\n\nawait client.initialize();\n",[555,945,946,960,973,977,987,991,1010,1014,1028,1038,1050,1074,1078,1090,1094,1098,1102,1106],{"__ignoreMap":709},[713,947,948,950,953,955,958],{"class":715,"line":716},[713,949,720],{"class":719},[713,951,952],{"class":730}," { init, track } ",[713,954,734],{"class":719},[713,956,957],{"class":737}," \"@amplitude\u002Fanalytics-node\"",[713,959,741],{"class":730},[713,961,962,964,966,968,971],{"class":715,"line":744},[713,963,720],{"class":719},[713,965,749],{"class":730},[713,967,734],{"class":719},[713,969,970],{"class":737}," \"@configdirector\u002Fserver-sdk\"",[713,972,741],{"class":730},[713,974,975],{"class":715,"line":759},[713,976,762],{"emptyLinePlaceholder":9},[713,978,979,981,983,985],{"class":715,"line":765},[713,980,772],{"class":771},[713,982,775],{"class":730},[713,984,778],{"class":737},[713,986,781],{"class":730},[713,988,989],{"class":715,"line":784},[713,990,762],{"emptyLinePlaceholder":9},[713,992,993,995,997,999,1001,1003,1005,1008],{"class":715,"line":789},[713,994,792],{"class":719},[713,996,795],{"class":719},[713,998,798],{"class":723},[713,1000,801],{"class":719},[713,1002,804],{"class":771},[713,1004,775],{"class":730},[713,1006,1007],{"class":737},"\"YOUR-SERVER-SDK-KEY\"",[713,1009,812],{"class":730},[713,1011,1012],{"class":715,"line":815},[713,1013,818],{"class":730},[713,1015,1016,1018,1020,1022,1024,1026],{"class":715,"line":821},[713,1017,824],{"class":771},[713,1019,827],{"class":730},[713,1021,831],{"class":830},[713,1023,834],{"class":730},[713,1025,837],{"class":719},[713,1027,840],{"class":730},[713,1029,1030,1032,1034,1036],{"class":715,"line":843},[713,1031,846],{"class":719},[713,1033,849],{"class":723},[713,1035,801],{"class":719},[713,1037,854],{"class":730},[713,1039,1040,1042,1045,1047],{"class":715,"line":857},[713,1041,846],{"class":719},[713,1043,1044],{"class":723}," userId",[713,1046,801],{"class":719},[713,1048,1049],{"class":730}," evaluation.context?.id;\n",[713,1051,1052,1054,1056,1058,1061,1064,1067,1070,1072],{"class":715,"line":877},[713,1053,860],{"class":719},[713,1055,863],{"class":730},[713,1057,866],{"class":719},[713,1059,1060],{"class":730},"variationName ",[713,1062,1063],{"class":719},"||",[713,1065,1066],{"class":719}," !",[713,1068,1069],{"class":730},"userId) ",[713,1071,872],{"class":719},[713,1073,741],{"class":730},[713,1075,1076],{"class":715,"line":882},[713,1077,762],{"emptyLinePlaceholder":9},[713,1079,1080,1083,1085,1087],{"class":715,"line":899},[713,1081,1082],{"class":771},"      track",[713,1084,775],{"class":730},[713,1086,893],{"class":737},[713,1088,1089],{"class":730},", { flag_key: evaluation.key, variant: variationName }, { user_id: userId });\n",[713,1091,1092],{"class":715,"line":905},[713,1093,902],{"class":730},[713,1095,1096],{"class":715,"line":911},[713,1097,908],{"class":730},[713,1099,1100],{"class":715,"line":917},[713,1101,914],{"class":730},[713,1103,1104],{"class":715,"line":922},[713,1105,762],{"emptyLinePlaceholder":9},[713,1107,1109,1111,1113,1115],{"class":715,"line":1108},18,[713,1110,925],{"class":719},[713,1112,928],{"class":730},[713,1114,931],{"class":771},[713,1116,1117],{"class":730},"();\n",[377,1119,1120,1121,1125,1126,1128],{},"Only an experiment's evaluations carry a variation, so the check skips every other config, along with the in-code default value. It also skips a variation without a name, so ",[390,1122,1124],{"href":1123},"\u002Fgetting-started\u002Fexperiments#create-the-experiment","name each one",". Never send an exposure without a ",[555,1127,659],{},", because Amplitude takes that user out of the experiment.",[377,1130,1131,1132,1135,1136,1138],{},"In the browser, Amplitude attaches the exposure to the user you have identified to it. In Node.js, the handler passes the context's ",[555,1133,1134],{},"id"," as the user ID, so it has to be the ID your other Amplitude events use. A context without an ",[555,1137,1134],{}," is skipped, since it does not take part in the split on a server.",[377,1140,1141,1142,1145,1146,1150],{},"The handler needs version 1.11.0 or later of the JavaScript SDK, or 1.13.0 or later of the Node.js SDK. React, Vue and React Native take the same handler in their ",[555,1143,1144],{},"hooks",". The ",[390,1147,1149],{"href":1148},"\u002Fgetting-started\u002Fexperiments#send-exposures-to-your-analytics-tool","Experiments guide"," lists the hook for every other SDK.",[416,1152,1154],{"id":1153},"with-openfeature","With OpenFeature",[377,1156,1157,1158,1160],{},"In an OpenFeature application, a hook does the same job, with the ",[555,1159,659],{}," as the variation's name. Every config has a variant, not only experiments: on any other config it is ConfigDirector's ID for the value. So attach the hook to the reads of your experiments instead of registering it for every read:",[700,1162,1163,1367],{},[703,1164,1166],{"className":705,"code":1165,"filename":223,"language":708,"meta":709,"style":709},"import * as amplitude from \"@amplitude\u002Fanalytics-browser\";\nimport { OpenFeature, type Hook } from \"@openfeature\u002Fweb-sdk\";\n\namplitude.init(\"YOUR-AMPLITUDE-API-KEY\");\n\nconst reportExposure: Hook = {\n  after: (hookContext, details) => {\n    if (!details.variant) return;\n\n    amplitude.track(\"$exposure\", { flag_key: hookContext.flagKey, variant: details.variant });\n  },\n};\n\nconst client = OpenFeature.getClient();\n\nconst buttonLabel = client.getStringValue(\"checkout-cta-copy\", \"Start free trial\", {\n  hooks: [reportExposure],\n});\n",[555,1167,1168,1184,1204,1208,1220,1224,1242,1265,1281,1285,1299,1303,1308,1312,1328,1332,1358,1363],{"__ignoreMap":709},[713,1169,1170,1172,1174,1176,1178,1180,1182],{"class":715,"line":716},[713,1171,720],{"class":719},[713,1173,724],{"class":723},[713,1175,727],{"class":719},[713,1177,731],{"class":730},[713,1179,734],{"class":719},[713,1181,738],{"class":737},[713,1183,741],{"class":730},[713,1185,1186,1188,1191,1194,1197,1199,1202],{"class":715,"line":744},[713,1187,720],{"class":719},[713,1189,1190],{"class":730}," { OpenFeature, ",[713,1192,1193],{"class":719},"type",[713,1195,1196],{"class":730}," Hook } ",[713,1198,734],{"class":719},[713,1200,1201],{"class":737}," \"@openfeature\u002Fweb-sdk\"",[713,1203,741],{"class":730},[713,1205,1206],{"class":715,"line":759},[713,1207,762],{"emptyLinePlaceholder":9},[713,1209,1210,1212,1214,1216,1218],{"class":715,"line":765},[713,1211,768],{"class":730},[713,1213,772],{"class":771},[713,1215,775],{"class":730},[713,1217,778],{"class":737},[713,1219,781],{"class":730},[713,1221,1222],{"class":715,"line":784},[713,1223,762],{"emptyLinePlaceholder":9},[713,1225,1226,1229,1232,1234,1238,1240],{"class":715,"line":789},[713,1227,1228],{"class":719},"const",[713,1230,1231],{"class":723}," reportExposure",[713,1233,698],{"class":719},[713,1235,1237],{"class":1236},"sA9AF"," Hook",[713,1239,801],{"class":719},[713,1241,840],{"class":730},[713,1243,1244,1247,1250,1253,1255,1258,1261,1263],{"class":715,"line":815},[713,1245,1246],{"class":771},"  after",[713,1248,1249],{"class":730},": (",[713,1251,1252],{"class":830},"hookContext",[713,1254,506],{"class":730},[713,1256,1257],{"class":830},"details",[713,1259,1260],{"class":730},") ",[713,1262,837],{"class":719},[713,1264,840],{"class":730},[713,1266,1267,1270,1272,1274,1277,1279],{"class":715,"line":821},[713,1268,1269],{"class":719},"    if",[713,1271,863],{"class":730},[713,1273,866],{"class":719},[713,1275,1276],{"class":730},"details.variant) ",[713,1278,872],{"class":719},[713,1280,741],{"class":730},[713,1282,1283],{"class":715,"line":843},[713,1284,762],{"emptyLinePlaceholder":9},[713,1286,1287,1290,1292,1294,1296],{"class":715,"line":857},[713,1288,1289],{"class":730},"    amplitude.",[713,1291,888],{"class":771},[713,1293,775],{"class":730},[713,1295,893],{"class":737},[713,1297,1298],{"class":730},", { flag_key: hookContext.flagKey, variant: details.variant });\n",[713,1300,1301],{"class":715,"line":877},[713,1302,908],{"class":730},[713,1304,1305],{"class":715,"line":882},[713,1306,1307],{"class":730},"};\n",[713,1309,1310],{"class":715,"line":899},[713,1311,762],{"emptyLinePlaceholder":9},[713,1313,1314,1316,1318,1320,1323,1326],{"class":715,"line":905},[713,1315,1228],{"class":719},[713,1317,798],{"class":723},[713,1319,801],{"class":719},[713,1321,1322],{"class":730}," OpenFeature.",[713,1324,1325],{"class":771},"getClient",[713,1327,1117],{"class":730},[713,1329,1330],{"class":715,"line":911},[713,1331,762],{"emptyLinePlaceholder":9},[713,1333,1334,1336,1339,1341,1343,1346,1348,1351,1353,1356],{"class":715,"line":917},[713,1335,1228],{"class":719},[713,1337,1338],{"class":723}," buttonLabel",[713,1340,801],{"class":719},[713,1342,928],{"class":730},[713,1344,1345],{"class":771},"getStringValue",[713,1347,775],{"class":730},[713,1349,1350],{"class":737},"\"checkout-cta-copy\"",[713,1352,506],{"class":730},[713,1354,1355],{"class":737},"\"Start free trial\"",[713,1357,812],{"class":730},[713,1359,1360],{"class":715,"line":922},[713,1361,1362],{"class":730},"  hooks: [reportExposure],\n",[713,1364,1365],{"class":715,"line":1108},[713,1366,914],{"class":730},[703,1368,1370],{"className":705,"code":1369,"filename":181,"language":708,"meta":709,"style":709},"import { init, track } from \"@amplitude\u002Fanalytics-node\";\nimport { OpenFeature, type Hook } from \"@openfeature\u002Fserver-sdk\";\n\ninit(\"YOUR-AMPLITUDE-API-KEY\");\n\nconst reportExposure: Hook = {\n  after: (hookContext, details) => {\n    const userId = hookContext.context.targetingKey;\n    if (!details.variant || !userId) return;\n\n    track(\"$exposure\", { flag_key: hookContext.flagKey, variant: details.variant }, { user_id: userId });\n  },\n};\n\nconst client = OpenFeature.getClient();\n\nconst buttonLabel = await client.getStringValue(\n  \"checkout-cta-copy\",\n  \"Start free trial\",\n  { targetingKey: \"user-42\" },\n  { hooks: [reportExposure] },\n);\n",[555,1371,1372,1384,1401,1405,1415,1419,1433,1451,1463,1484,1488,1500,1504,1508,1512,1526,1530,1548,1556,1564,1575,1581],{"__ignoreMap":709},[713,1373,1374,1376,1378,1380,1382],{"class":715,"line":716},[713,1375,720],{"class":719},[713,1377,952],{"class":730},[713,1379,734],{"class":719},[713,1381,957],{"class":737},[713,1383,741],{"class":730},[713,1385,1386,1388,1390,1392,1394,1396,1399],{"class":715,"line":744},[713,1387,720],{"class":719},[713,1389,1190],{"class":730},[713,1391,1193],{"class":719},[713,1393,1196],{"class":730},[713,1395,734],{"class":719},[713,1397,1398],{"class":737}," \"@openfeature\u002Fserver-sdk\"",[713,1400,741],{"class":730},[713,1402,1403],{"class":715,"line":759},[713,1404,762],{"emptyLinePlaceholder":9},[713,1406,1407,1409,1411,1413],{"class":715,"line":765},[713,1408,772],{"class":771},[713,1410,775],{"class":730},[713,1412,778],{"class":737},[713,1414,781],{"class":730},[713,1416,1417],{"class":715,"line":784},[713,1418,762],{"emptyLinePlaceholder":9},[713,1420,1421,1423,1425,1427,1429,1431],{"class":715,"line":789},[713,1422,1228],{"class":719},[713,1424,1231],{"class":723},[713,1426,698],{"class":719},[713,1428,1237],{"class":1236},[713,1430,801],{"class":719},[713,1432,840],{"class":730},[713,1434,1435,1437,1439,1441,1443,1445,1447,1449],{"class":715,"line":815},[713,1436,1246],{"class":771},[713,1438,1249],{"class":730},[713,1440,1252],{"class":830},[713,1442,506],{"class":730},[713,1444,1257],{"class":830},[713,1446,1260],{"class":730},[713,1448,837],{"class":719},[713,1450,840],{"class":730},[713,1452,1453,1456,1458,1460],{"class":715,"line":821},[713,1454,1455],{"class":719},"    const",[713,1457,1044],{"class":723},[713,1459,801],{"class":719},[713,1461,1462],{"class":730}," hookContext.context.targetingKey;\n",[713,1464,1465,1467,1469,1471,1474,1476,1478,1480,1482],{"class":715,"line":843},[713,1466,1269],{"class":719},[713,1468,863],{"class":730},[713,1470,866],{"class":719},[713,1472,1473],{"class":730},"details.variant ",[713,1475,1063],{"class":719},[713,1477,1066],{"class":719},[713,1479,1069],{"class":730},[713,1481,872],{"class":719},[713,1483,741],{"class":730},[713,1485,1486],{"class":715,"line":857},[713,1487,762],{"emptyLinePlaceholder":9},[713,1489,1490,1493,1495,1497],{"class":715,"line":877},[713,1491,1492],{"class":771},"    track",[713,1494,775],{"class":730},[713,1496,893],{"class":737},[713,1498,1499],{"class":730},", { flag_key: hookContext.flagKey, variant: details.variant }, { user_id: userId });\n",[713,1501,1502],{"class":715,"line":882},[713,1503,908],{"class":730},[713,1505,1506],{"class":715,"line":899},[713,1507,1307],{"class":730},[713,1509,1510],{"class":715,"line":905},[713,1511,762],{"emptyLinePlaceholder":9},[713,1513,1514,1516,1518,1520,1522,1524],{"class":715,"line":911},[713,1515,1228],{"class":719},[713,1517,798],{"class":723},[713,1519,801],{"class":719},[713,1521,1322],{"class":730},[713,1523,1325],{"class":771},[713,1525,1117],{"class":730},[713,1527,1528],{"class":715,"line":917},[713,1529,762],{"emptyLinePlaceholder":9},[713,1531,1532,1534,1536,1538,1541,1543,1545],{"class":715,"line":922},[713,1533,1228],{"class":719},[713,1535,1338],{"class":723},[713,1537,801],{"class":719},[713,1539,1540],{"class":719}," await",[713,1542,928],{"class":730},[713,1544,1345],{"class":771},[713,1546,1547],{"class":730},"(\n",[713,1549,1550,1553],{"class":715,"line":1108},[713,1551,1552],{"class":737},"  \"checkout-cta-copy\"",[713,1554,1555],{"class":730},",\n",[713,1557,1559,1562],{"class":715,"line":1558},19,[713,1560,1561],{"class":737},"  \"Start free trial\"",[713,1563,1555],{"class":730},[713,1565,1567,1570,1572],{"class":715,"line":1566},20,[713,1568,1569],{"class":730},"  { targetingKey: ",[713,1571,937],{"class":737},[713,1573,1574],{"class":730}," },\n",[713,1576,1578],{"class":715,"line":1577},21,[713,1579,1580],{"class":730},"  { hooks: [reportExposure] },\n",[713,1582,1584],{"class":715,"line":1583},22,[713,1585,781],{"class":730},[377,1587,1588,1589,1593,1594,394],{},"A variation without a name also has ConfigDirector's ID for the value as its variant, so name each one. The hook needs version 1.11.0 or later of the ",[390,1590,1592],{"href":1591},"\u002Fsdks\u002Fopenfeature\u002Fweb#evaluation-details-and-hooks","Web provider",", or 1.13.0 or later of the ",[390,1595,1597],{"href":1596},"\u002Fsdks\u002Fopenfeature\u002Fnode-js#evaluation-details-and-hooks","Node.js provider",[416,1599,1601],{"id":1600},"when-the-handler-runs","When the handler runs",[377,1603,1604],{},"The handler runs once per evaluation, whenever your application reads the config. So read an experiment where the user reaches the change rather than at startup, or users who never see it count as exposed.",[377,1606,1607,1608,1613,1614,1619],{},"A config read on every render sends an event each time. That does not skew the results or add to your bill: ",[390,1609,1612],{"href":1610,"rel":1611,"target":591},"https:\u002F\u002Famplitude.com\u002Fdocs\u002Ffeature-experiment\u002Fadvanced-techniques\u002Fcumulative-exposure-change-slope",[590],"Amplitude counts each user once per variant",", and ",[390,1615,1618],{"href":1616,"rel":1617,"target":591},"https:\u002F\u002Famplitude.com\u002Fdocs\u002Ffeature-experiment\u002Funder-the-hood\u002Fevent-tracking",[590],"exposure events do not count"," toward your event volume or Monthly Tracked Users.",[416,1621,1623],{"id":1622},"compare-the-variations","Compare the variations",[377,1625,1626],{},"The outcomes you compare are the events your application already sends to Amplitude, so there is nothing more to add to your code.",[377,1628,1629,1630,1635],{},"An ",[390,1631,1634],{"href":1632,"rel":1633,"target":591},"https:\u002F\u002Famplitude.com\u002Fdocs\u002Fanalytics\u002Fcharts\u002Fexperiment-results\u002Fexperiment-results-dig-deeper",[590],"Experiment Results chart",", available on Amplitude's Growth and Enterprise plans, compares them per variation:",[483,1637,1638,1650,1657,1670],{},[384,1639,1640,1641,473,1644,473,1647,394],{},"Go to ",[387,1642,1643],{},"Create",[387,1645,1646],{},"Chart",[387,1648,1649],{},"Experiment Results",[384,1651,1652,1653,1656],{},"In the ",[387,1654,1655],{},"Metrics"," module, add the event you want to compare.",[384,1658,1652,1659,1662,1663,1665,1666,1669],{},[387,1660,1661],{},"Exposure"," module, add ",[555,1664,673],{},", where ",[555,1667,1668],{},"[Experiment] Flag Key"," is your config key.",[384,1671,1652,1672,1675,1676,394],{},[387,1673,1674],{},"Variants performed by"," module, add a variant for each variation, using the user property ",[555,1677,677],{},[377,1679,1680,1681,1688,1689,1692],{},"The handler also runs outside the split: before the run starts, after you ship and when a conditional rule serves a variation. So set the chart to the dates of the run, which the ",[390,1682,1684,1687],{"href":1683},"\u002Fgetting-started\u002Fexperiments#read-the-exposures",[387,1685,1686],{},"Experiment"," tab"," lists. A conditional rule above the split can still make Amplitude's numbers higher than the ",[387,1690,1691],{},"Exposures"," card, which counts only the contexts the split served.",[377,1694,1695],{},"Keep each variation's name for the length of the run, because Amplitude treats a new name as a new variant.",[1697,1698,1699],"style",{},"html pre.shiki code .sLDKn, html code.shiki .sLDKn{--shiki-light:#A0111F;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sxMNI, html code.shiki .sxMNI{--shiki-light:#023B95;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sbRM4, html code.shiki .sbRM4{--shiki-light:#0E1116;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .suztq, html code.shiki .suztq{--shiki-light:#032563;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sEIia, html code.shiki .sEIia{--shiki-light:#622CBC;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .syyZu, html code.shiki .syyZu{--shiki-light:#702C00;--shiki-default:#E36209;--shiki-dark:#FFAB70}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);}html pre.shiki code .sA9AF, html code.shiki .sA9AF{--shiki-light:#702C00;--shiki-default:#6F42C1;--shiki-dark:#B392F0}",{"title":709,"searchDepth":744,"depth":744,"links":1701},[1702,1703,1708],{"id":375,"depth":744,"text":5},{"id":411,"depth":744,"text":393,"children":1704},[1705,1706,1707],{"id":418,"depth":759,"text":419},{"id":480,"depth":759,"text":481},{"id":549,"depth":759,"text":550},{"id":595,"depth":744,"text":407,"children":1709},[1710,1711,1712,1713,1714],{"id":607,"depth":759,"text":608},{"id":681,"depth":759,"text":682},{"id":1153,"depth":759,"text":1154},{"id":1600,"depth":759,"text":1601},{"id":1622,"depth":759,"text":1623},"Mark every experiment run on your Amplitude charts, and report experiment exposures to Amplitude from your application so you can compare the variations next to the events you already track there.","md",null,{"modifiedAt":308},{"title":316,"icon":309},{"title":1721,"description":1722},"Analyze Experiments in Amplitude","Mark ConfigDirector experiment runs on your Amplitude charts with an integration, and send experiment exposures to Amplitude as $exposure events from the browser, Node.js or an OpenFeature hook to compare the variations in an Experiment Results chart.","oUmhManvXVCFwkgt1QtYR7BvRstKIb5qcWh-lRd7kmk",[1725,1727],{"title":55,"path":310,"stem":311,"description":1726,"icon":314,"children":-1},"Use ConfigDirector with your analytics tool. Send exposures from your application to compare an experiment's variations there, and mark every experiment run on the tool's charts. Which tools support which, what a marker says, delivery, and what happens when a tool stops accepting the markers.",{"title":320,"path":321,"stem":322,"description":1728,"icon":309,"children":-1},"Mark every experiment run in Datadog with a ConfigDirector integration. The settings it needs, how to create it, and where the markers appear.",1796089719547]