Verify Installation
After installing the Lyftio script, it’s important to confirm that everything is working correctly before creating or launching experiments.
This ensures that experiments can be delivered properly and that data will be tracked without issues.
How to verify your installation
Use the following checks to validate that Lyftio is installed and functioning as expected.
1. Check for console errors
Open your browser’s developer tools and navigate to the Console tab.
- Reload your website
- Look for any errors related to Lyftio
Expected result:
There should be no errors related to the Lyftio script.
If you see errors, they may indicate:
- Incorrect script placement
- Script loading issues
- Conflicts with other scripts
2. Confirm the Lyftio object is available
Open the browser's dev tools and go to the console, then check that the Lyftio object is accessible by typing Lyftio and then hit Enter.
Expected result: The object should exist and return a defined value (see below).
{revenue: {…}, ElementWatcher: ƒ, optIn: ƒ, optOut: ƒ, Logger: ƒ}
This confirms that the script has loaded correctly and initialized.
3. Open the Visual Editor
The most reliable way to verify installation is to open the editor for an experiment.
- Create or open an existing experiment
- Launch the Visual Editor
Expected result:
The editor loads successfully Your website renders inside the editor You can interact with elements on the page
If the editor does not load, it usually indicates that the script is not properly installed or not detected.
Quick checklist
Before moving on, confirm:
- No Lyftio-related errors in the console
- window.Lyftio is defined
- The Visual Editor opens correctly
If something isn’t working
If any of the checks fail:
-- Reconfirm that the script is installed in the <head>
-- Make sure the correct project script is used
-- Check for script blocking (e.g. CSP or ad blockers)
Summary
A successful installation means:
The script loads without errors The Lyftio object is available in the browser The Visual Editor works as expected
Once verified, you're ready to start building and running experiments.