Documentation Index
Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
Use this file to discover all available pages before exploring further.
In the back office
Ensure the following conditions are met:- The rule is created for the correct environment (
production,staging, ordevelopment). - The rule is enabled (turned on).
- The rule targets traffic that can actually be exposed (i.e. matching segments or visitors).
In the SDK
Check these points carefully:-
The
KameleoonClientis created with the correct configuration:siteCodeenvironmentvariablenetworkDomain(if applicable)
-
getVisitorCode()is called only once, and its value is reused wherever thevisitorCodeis needed. -
If using Hybrid Mode (with
engine.json the frontend):- The
visitorCodeis correctly synced between the SDK and the frontend.
- The
-
For Experiment Rules:
setLegalConsent(true)is called to ensure that data collection is allowed.
-
For Delivery Rules:
isFeatureActive()orgetVariation()is called.- The method returns
true(or the expected variation).
-
For Experiment Rules:
getVariation()is called and returns the expected variation.
Debugging tips
If you’ve confirmed all of the above and data is still missing:-
Log in the console:
- The consent value
- The
visitorCode - The variation values Verify that the values match those shown in the browser.
- Enable SDK logging and check for any errors.