Feature Toggles
Feature Toggles are setup inside the app/feature-toggles folder.
When running an AB Test or any other variant test, make sure to also track the
variants in the datalayer and import your toggle in the
app/analytics/test-variants.server.ts file.
It is also important to add the toggle to the
app/feature-toggles/feature-toggles.mock.ts file.
In order to test toggles locally, you need to manually set a cookie in your browser with the following format:
feature-toggles=name-of-the-toggle
feature-toggles=name-of-the-toggle=A
feature-toggles=name-of-the-toggle=B