Wix
This guide is designed to help customers installing our cookie widget on their Wix based website. Follow these few simple steps to get up and running quickly.
Last updated
This guide is designed to help customers installing our cookie widget on their Wix based website. Follow these few simple steps to get up and running quickly.
Last updated
This courtesy guide is no longer actively tested by Openli, although it might still work.
Our cookie-consent widget intentionally uses a highly-compatible, highly-generic approach to integration. In most cases, it will be possible for your developers to adapt this guide's steps to any changes that might have been made to the target platform, in combination with their own general documentation. Our consent-state events might be useful for this.
In order to add Openli (or any other custom code) to wix.com you must have Premium membership on wix.com
Before following these steps, please be sure that you have:
Check step 1 - 4 in the Get started with Openli guide to create all of the above.
To install your cookie widget on Wix, you'll need your cookie widget code snippet.
To find your code snippet, go to the Openli dashboard and select "Widgets" in the side menu. Click on the cookie widget you previously created and copy the code.
It will look like this:
Notice that the value for widgetPublicKey
will be different in your code snippet
To insert the code snippet on your page, go to "Settings" in your Wix website editor. In the dropdown menu select "Tracking & Analytics".
To add custom code press the "+ New Tool" button and select "Custom" from the dropdown.
Add the Openli cookie widget code snippet in the text area at the top and fill out the remaining fields. Please make sure that "Load code once" is selected under Add code to pages and that the "Body - start" option is selected under Place Code in.
Once this is done, simply click "Apply" to save your changes.
The final step you need to take to make sure your cookies are compliant is to block the scripts that set them on your website, so the widget can enable them only when a visitor gives consent.
This step is a bit more technical, however, this guide shows you how to categorise the scripts that set cookies on your website to enable blocking. You might need a developer to help you.
Congratulations on completing your first step towards collecting compliant cookie consent on Wix.com. Pad your self on the back and know that our mascot Li is proud of you.