Step-by-step guide to integrate your widget into your site
To add your widget to your site, add the following script tag before the <head> or </body> tag in your HTML:
<script
src="https://www.liftsell.com/embed/ls_xxx"
async
></script>When the script tag loads, the following happens:
To make your widget work only on verified domains, you need to verify your domain:
Go to "Sites" tab
Go to the Sites page from the Dashboard.
Add domain
Click the "Add New Site" button and enter your domain (e.g.: example.com).
Add meta tag snippet
Add the meta tag snippet provided to you in your site's <head> section:
<meta name="liftsell-site-verification" content="site_xxxxxxxxxxxx" />Click Verify button
Click the "Verify" button next to your domain on the Sites page. The system checks for the presence of the meta tag.
Open browser developer tools (F12) and go to the Console tab. There should be no errors when the widget loads.
// Expected: No errors
// If you see errors, make sure the public key is correct.If the widget doesn't appear, the following situations may occur: