Installing Candu on WordPress
By default, WordPress does not allow you to add JavaScript to your website, but there are plugins available to help. Candu script tags (below) should be inserted into the head of your site, and within the script tag, you can specify exactly where the content will appear.
Start by installing and activating the Insert Headers and Footers plugin. Upon activation, go to Settings > Insert Headers and Footers. You will see two boxes, one for the header and the other for the footer section.
In the textbox labeled "Scripts in Header", add the Candu Code snippet.
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:
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.