--- title: "Eureka SDK Campaign Implementation" slug: "eureka-sdk-campaign-implementation" description: "Explains end-to-end Eureka SDK campaign implementation: the ready event, control group check, fetch and render, and log collection and event captures." updated: 2026-03-27T15:22:38Z published: 2026-03-27T15:22:42Z canonical: "academy.insiderone.com/eureka-sdk-campaign-implementation" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Eureka SDK Campaign Implementation This document describes the end-to-end implementation of the Eureka SDK campaign type. You can use it as an implementation guide ## Overview Eureka SDK campaigns enable you to integrate Insider One’s AI-powered product recommendation and search engine directly into your listing pages and to perform A/B tests between Insider One's data and your own data sources. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-VUMZRCLP.png) ## The JavaScript SDK campaign lifecycle 1. **Campaign created:** The JavaScript SDK campaign is configured in the Insider One’s InOne panel. 2. **Campaign ready event triggers:** Once all conditions are satisfied, rules and segment steps are valid, the SDK dispatches the eureka:sdk:campaign:ready event. 3. Eureka requires you to **catch the event and details:** Listen for the event. The event already contains the resolved control group and variant assignment. You must perform a control-group check at this point: if the user is in the control group, use your own data source; otherwise, continue fetching. 4. Eureka requires you to **fetch & render UI:** Call the SDK fetch methods to retrieve campaign data, and render the search-listing, category-listing, and brand-listing pages in your UI. 5. Eureka requires you to **track & log collection****.** To run A/B tests and monitor page performance, you should use the SDK track methods for data collection. You will be sending only page-view and click events. Other events will be auto-collected. 6. **Insider One: auto event collection:** Add-to-cart and purchase events on the PDP are captured automatically by Insider One; no additional instrumentation is required for conversion tracking. > [!NOTE] > Log collection for popup campaigns is already handled by the InOnw platform; logs must not be triggered via the SDK for popup variations. For further details, check the following steps: - [JavaScript SDK Campaign Creation Flow](https://academy.insiderone.com/docs/javascript-sdk-eureka-campaign-flow) - [SDK Fetch Methods](https://academy.insiderone.com/docs/eureka-sdk-fetch-methods) - [SDK Log Collection Methods](https://academy.insiderone.com/docs/eureka-sdk-log-collection-methods) - [Full Integration Examples]( https://academy.insiderone.com/docs/eureka-sdk-full-integration-examples) - [Timing](https://academy.insiderone.com/docs/eureka-sdk-full-integration-timing)