Prerequisites
- A LemonSlice Agent created on a paid plan
- A Wix page on a premium account. Embedding custom Javascript is only vailable on Premium plans.
Guide
Get an embed code
Visit the LemonSlice agents platform to find your agent’s embed widget. It should look something like this:Copy this embed code.
Add embed code to your site
- Go to Settings in your site’s dashboard.
-
Scroll down and click Custom Code in the Advanced section.
.png?fit=max&auto=format&n=ijSarkZGcrUvO2ND&q=85&s=53bea465acb855e4bba7e68258aa34f9)
- Click Add Custom Code at the top right.
-
Configure how your code will run in this section.
.png?fit=max&auto=format&n=ijSarkZGcrUvO2ND&q=85&s=175bd3b628c320d38a94cd7bbc225368)
- Paste your embed code under “Paste the code snippet here:”
- (Recommended) If you select All pages and select Load code once, every page on your site will have the LemonSlice agent widget. Your agent will persist across multiple pages.
- You may also choose certain pages to display your agent. We don’t recommend this, as it will cause your agent to restart if you change pages.
- Apply your changes.
