Skip to main content
This article answers common questions about prompt-based experimentation (PBX).
PBX uses GPT 5.2 high as its thinking model.
Kameleoon integrates with OpenAI gpt-image-1 to generate images using AI.
Yes, all images that Kameleoon AI generates are free for commercial use. Kameleoon automatically uploads them to your Image Library within the platform for easy access.
Yes, you can edit code directly from the prompt-based interface. When you save the code, Kameleoon automatically generates a new version of your variant.
No, you cannot use the Graphic editor on AI-generated variants. Although some edge cases might benefit from it, prompt-based experimentation handles all scenarios that the Graphic editor covers. To prevent conflicts, Kameleoon disables the visual tool for AI-generated experiments.
You can create any variant that you manage with front-end code. However, Kameleoon cannot generate code for prompts that require backend logic or server-side changes. A developer familiar with your backend system must handle such cases.
Yes, you can prompt changes across multiple pages. Navigate to your chosen pages and apply prompts directly. Kameleoon automatically combines the code into a single variation.However, test the complete experience using Simulation mode to ensure that the code on different pages does not conflict.
Yes, provided the page’s DOM contains the HTML code for the hover-triggered element. If JavaScript injects the element dynamically after the hover interaction, Kameleoon’s AI might not detect or modify it accurately.For best results, verify that:
  • The hover element exists in the initial HTML, even if hidden.
  • The structure is stable and does not generate asynchronously.
After you create a variation on the first product page, navigate to the next product page. This action re-executes the AI-generated code.Alternatively, use Simulation mode to test the experience across all relevant pages and ensure consistent behavior.
Technical users can use general-purpose AI coding tools to generate JavaScript, CSS, or HTML and paste it into a Kameleoon experiment. PBX targets experimentation specifically and differs from those tools in several important ways.PBX targets experimentation, not just code generationBuilding an A/B test differs from building a standard website feature. Experiment code must be cautious, non-disruptive, dynamic, performant, and reliable across different page states. Kameleoon trained and optimized PBX on thousands of experimentation scenarios, so it performs more like a developer who specializes in A/B testing than a generic coding assistant.PBX provides richer page context to the modelWith a direct Claude or Codex workflow, you must manually explain the page, the DOM, the expected change, the constraints, and the technical setup. PBX automatically provides much richer context, including site-level information, real-time DOM analysis, page screenshots for visual understanding, and direct Figma imports where relevant.PBX applies Kameleoon-specific experimentation logicPBX generates code that works with the Kameleoon JavaScript API, including methods such as runWhenElementPresent() and enableDynamicRefresh(). These methods listen to DOM mutation observers and help manage complex dynamic websites, single-page applications (SPAs), DOM changes, rerendering behavior, and flicker. Code that a general-purpose assistant generates may work in some cases, but it typically requires more manual adaptation, QA, and maintenance to remain robust in an experimentation context.PBX guides you through a human-in-the-loop workflowPBX does more than generate code from a single prompt. The interface asks follow-up questions, guides you through design and implementation choices, and lets you validate at multiple steps before you launch a variation. This approach makes the experience well-suited to building experiments.PBX integrates into the full Kameleoon workflowA general-purpose AI workflow typically fragments the process across multiple steps: prompt creation, code generation, technical review, manual insertion into Kameleoon, troubleshooting, and then separate configuration of targeting, goals, launch, and analysis. PBX integrates directly into the experimentation workflow, making the process faster, safer, and more scalable for product, marketing, and technical teams.

Supporting developer-led workflows

You do not have to choose between the two approaches. For technical teams that prefer to work with Claude, Codex, Cursor, or similar tools, the Kameleoon MCP server lets you connect those tools directly to Kameleoon and integrate them into your existing workflow.Summary: A general-purpose AI tool requires more effort, more QA, more maintenance, and greater dependency on technical users—which ultimately increases costs. PBX provides a dedicated experimentation tool that makes the process easier, safer, and more scalable within Kameleoon.
Our AI explores many possible ways to fulfill your request, so it does not produce a fixed result. The same prompt can yield different outputs each time.This occurs because of:
  • Controlled randomness: The model varies its answers to avoid repetition and encourage creativity.
  • Prompt interpretation: Minor context differences can prompt the model to focus on different details.
  • Training diversity: The model draws on patterns from varied training datasets.
To get more consistent results, add constraints. Provide a mockup, design file, or define a Master Prompt that sets overarching rules and brand context for all your generations.
You can use PBX on most websites, including single-page applications. Each time you submit a prompt, Kameleoon sends page context, such as HTML code or screenshots, to help the AI interpret the content. However, the AI might not properly handle context within iframes or a shadow DOM. If you frequently experience this issue, contact your Customer Success Manager.
The Kameleoon PBX extension supports Chromium-based browsers, including Google Chrome, Brave, Arc, and Microsoft Edge.
PBX excels at tasks such as:
  • Text or content changes, including headlines, CTAs, and disclaimers.
  • Style updates, like colors, fonts, and layout tweaks.
  • Banners and content insertions.
  • Simple interactive changes, including button repositioning, links, and modals.
You can also use PBX for multi-step flows, galleries, or custom interactive elements. For advanced cases, use a hybrid approach. First, let PBX generate the initial implementation, then refine it manually. This method combines the speed of automation with the precision of custom development.
PBX generates clean, secure, responsive, and accessible code. It often creates more robust solutions than manual coding, particularly for modern websites and single-page applications (SPAs). PBX follows QA best practices, such as cross-browser testing and visual checks.The generated code also respects your project configurations:
  • PBX applies SPA settings and custom attributes automatically.
  • It honors exclusion rules.
These considerations ensure that generated code integrates smoothly with your setup and adheres to the rules for manually coded experiments.
No. PBX relies on the context of the page you are viewing. It cannot browse other URLs to retrieve content or code.However, if you provide an endpoint or web service in your prompt, PBX can generate a variant to load and display that data. For instance, if you want an urgency tooltip showing recent purchases and you supply the endpoint, PBX can generate the necessary code.PBX cannot automatically fetch logic from another page. For example, it cannot fetch the “Add to Cart” logic from a product page to apply it to a listing page. However, if you instruct it to “call this endpoint to add the product to the cart,” PBX might generate the correct variant.If your listing page includes a quick-view overlay that contains the logic, apply your prompt while the overlay is open. The available code context increases the chance of creating a functional variant.
Yes, you can use a design or mockup. Click the + icon > Add an image to upload your file. However, a mockup alone is usually insufficient. For best results, use your design alongside clear, detailed instructions.Treat PBX like a developer: provide specific details for the best output.Example of a good prompt with a mockup:
  • Attach your mockup or design file.
  • Describe the elements to change.
  • Specify dimensions, colors, and spacing.
  • Explain interactive behaviors.
  • Note technical requirements.
PBX adopts your project’s single-page application (SPA) settings. If you configured these settings (see Set up an experiment on a single-page app), PBX automatically uses:
  • Your custom attributes.
  • Your exclusion rules.
  • Any other SPA-specific configurations.
Yes, you can refine the output with follow-up prompts, but keep prompt history in mind.What PBX remembers:
  • The code it most recently generated (used as context).
What PBX doesn’t remember:
  • Your previous prompt instructions.
  • The full conversation history.
  • Mockups or sketches added in earlier prompts.
Why this matters: Vague follow-up prompts like “Fix the issue with X and Y” might fail because PBX lacks full context.Best practices for follow-up prompts:
  • Less effective: “The arrow navigation doesn’t work.”
  • More effective: “In the new carousel, the arrow navigation does not work as expected. Fix it using the code generated from my previous prompt. The arrows should appear on the left and right and advance one image per click.”
Be specific in follow-up prompts:
  • Identify the element or feature to fix.
  • Describe the expected behavior.
  • Reference the generated code explicitly.
  • Include relevant technical details.
Yes. Click + > Add an image to upload your file.
When you upload or paste an image, PBX asks you to choose how to use it:
  • Asset: PBX inserts the image file directly into your variation (for example, as a banner, background, or logo).
  • Mockup: PBX uses the image as a visual reference to recreate the design using code, rather than inserting the image itself.
PBX keeps your data secure and meets industry standards, including those for regulated sectors.PBX invokes the LLM only when you create an experiment from a webpage you control. This setup ensures that:
  • PBX sends no end-user data to the LLM.
  • The model processes only the page content visible to you as the creator, excluding site visitor data.
  • PBX does not dynamically generate experiments for each user; it creates them once from your environment.
PBX will not access or transmit personal or confidential information unless you include it in the page or prompt. Avoid including such data.
Kameleoon continuously improves the PBX workflow to maintain high privacy and compliance standards.
Yes. You can build multiple variants in parallel. For more information, see Work on multiple variants in parallel.
This issue occurs on secure pages, such as logged-in areas, that block loading within an iframe. The PBX editor uses an iframe to safely edit webpages. Your site’s security settings might block the iframe content, resulting in a white screen.How to fix it: Ask your development team to modify the “frame-busting” logic. The code must check if the frame’s name is kameleoon-pbx-preview. If it matches, the logic should allow the page to load.Example code:
if (window.self !== window.top && window.frameElement?.name !== 'kameleoon-pbx-preview') {Your existing redirect/blocking logic}
No. PBX relies on the context of the page you are viewing. You cannot instruct PBX to copy a feature from an external URL because it does not browse other pages to retrieve content.Instead, describe the feature you want. For example, instead of saying “Copy the sliding product carousel from Amazon,” say “Create a horizontal product carousel with left and right navigation arrows, displaying four products at a time with images, titles, and prices.”For more details on effective prompts, view How to write effective prompts.
If you cannot log in, your browser likely blocks third-party cookies. PBX requires a session cookie from the Kameleoon domain for authentication.You must enable third-party cookies to access PBX.To allow third-party cookies:
  1. Open your browser Settings.
  2. Go to Privacy & security > Third-party cookies.
  3. Select Allow third-party cookies.
Browsers often block third-party cookies in Private or Incognito modes automatically.
Ensure your browser allows these specific cookies:
  • refresh-token
  • kameleoonSessionId
  • access-token
  • expiration-access
Fewer than 20% of launched experiments yield positive results, often because teams test low-impact ideas or vague hypotheses. PBX Ideate provides prioritized, evidence-based hypotheses and converts them into precise prompts for PBX. For high-confidence recommendations, PBX Ideate achieves three times the accuracy of the industry benchmark, helping you prioritize your tests effectively.
PBX Ideate uses a taxonomy and semantic framework developed with Conversion by GAIN. It analyzes your website and uses data from tens of thousands of experiments to surface the ideas most likely to succeed.
PBX Ideate scores ideas based on potential impact using a model trained on over 20,000 experiments. This model provides 63% accuracy on high-confidence predictions, exceeding the industry average of about 20%.
Kameleoon prioritizes invited customers, but access is also open to invited partners. If you lack an invitation, you can join the waitlist. Kameleoon will add more spots gradually.
Yes. If accepted, Kameleoon creates your account and emails registration instructions so you can begin testing.
Participants must accept the beta program’s terms and conditions before receiving access. It requires no credit card.
Kameleoon grants 30-day access on a case-by-case basis. We will communicate updates regarding new features and general availability over time.
You do not need to install a script to generate ideas or use PBX for front-end experiences. However, to run these experiments live on your site, you must install Kameleoon Web Experimentation.