Installing Candu on Wix
This guide will walk you through adding Candu to your Wix site.
Adding Candu Script Tags
To add Candu script tags to the head of your Wix site, first go to Settings. Click the Custom Code tab under Advanced Settings and click + Add Custom Code.
To find your Candu Script, go into the Candu Dashboard Settings > Installation tab from the top bar menu. Then, open the Embed tab on the left and copy the top code block as seen below:
Next, within your Wix site select an option under Add Code to Pages:
All pages: This adds the code to all of your site's pages that have the div ID which you added to the snippet above. Choose this option if you want Candu content to follow your users (e.g., as a header announcement bar).
Choose specific pages: We generally recommend this option. Use the drop-down menu to select the pages where the div you identified in the code lives.
Finally, choose Head when prompted to select where to place your code, and then click Apply.
Whitelisting Your Page
Before any content can be added or published, you must whitelist your page within Candu.
Go to Settings > Workspaces
Add your domain to the list under "Whitelisted Domains"
Please note that you can use wildcards here as needed. Add a * before or after the URL to add a wildcard
If you encounter CORS errors when publishing content, it likely has to do with whitelisting. To check, try whitelisting just the wildcard and clear the cache.
For more troubleshooting tips, check out our Installation Troubleshooting Guide.
โ