URL Parameters
Append these to any page URL to control Shoplift's behavior without modifying code.
Parameter
Effect
?slVariant=<hypothesisId>
Forces isHypothesisActive() to return true for the specified hypothesis, false for all others
?slVariant=true
Forces isHypothesisActive() to return true for all hypotheses
?isShopliftMerchant=true
Switches Shoplift into merchant preview mode (stub API, no test assignment or tracking)
?isShopliftMerchant=false
Exits merchant preview mode
Examples
Force a specific variant:
https://yourstore.com/products/example?slVariant=aa800953-3e22-4335-a53b-50f61db17538Force all variants active (useful for visual QA):
https://yourstore.com/?slVariant=trueEnter merchant preview mode:
https://yourstore.com/?isShopliftMerchant=trueExit merchant preview mode:
https://yourstore.com/?isShopliftMerchant=falseLast updated
Was this helpful?