Debugging & Testing
URL parameters, console commands, and troubleshooting for Shoplift JavaScript API tests.
Debugging & Testing
URL Parameters
Parameter
Effect
Examples
https://yourstore.com/products/example?slVariant=aa800953-3e22-4335-a53b-50f61db17538https://yourstore.com/?slVariant=truehttps://yourstore.com/?isShopliftMerchant=trueConsole Commands
Check if Shoplift is loaded
Inspect visitor data
View visitor data as a table
List all active test assignments
Test a specific hypothesis
Check consent state
Common Issues
window.shoplift is undefined
window.shoplift is undefinedisHypothesisActive() always returns false
isHypothesisActive() always returns falseVariant shows briefly then disappears (flicker)
Test data not appearing in analytics
Consent integration not working
QA Checklist
Last updated
Was this helpful?