Wix setup for the widgets
To add a widget to your Wix site, you must follow a somewhat different approach than for other website builders regarding how you add individual widgets. This guide will help you set up the widgets on your Wix site.
Setting up the widget configuration
- Go to Settings in your site’s dashboard.
- Click Custom Code in the Advanced section.
- Click + Add Custom Code at the top right.
- Paste the widget scripts, configuration and theme code in the text box.
- Enter a name for your code, for example “Bilberry widgets”.
- Under the “Add Code to Pages” section, select the “All pages” option.
- Under the “Place Code in” section, select the “Head” option.
- Click Apply.
Adding individual widgets
- Click Add Elements on the left side of the Editor.
- Click Embed Code.
- Click the Custom Element to add it to your page.
- Click Choose Source.
- Select Server URL and enter Wix Server URL of the widget you would like to use (find this in the documentation for the specific widget).
- Enter the Tag Name of the widget you would like to use.
- Click Set Attributes on the custom element.
- Click New Attribute.
- Name the attribute, for example, “product-catalog-id”.
- Assign the value for the attribute, for example, 1.