Installing a Widget on Your Wix Site

Allow visitors to review articles or reach out for help from any page on your Wix site. To embed your Widget, copy its code and add it to your site's Tracking & Analytics. Repeat the steps below for each language in which you'd like to install your Widget. 
Important:
  • This article refers to adding your Widget to a site created on Wix.com. If your site was not created on Wix, click here for instructions.
  • If you're using Wix Multilingual, you can install a widget that displays in whichever language your site is being viewed in. Learn How
Before you begin:
To install a widget on your Wix site, your site must be upgraded to a Premium Plan. Learn How
Note:
We're currently in the process of releasing a new version of the Wix Answers Widget. If you don't see the steps below in your widget settings, click here for directions. 

Step 1 | Copy Your Widget's Code

First, log in to your Wix Answers account and copy the install code for your Widget. 
  1. Log in to your Wix Answers account.
  2. Hover over Settings and click Widgets.
  3. Hover over the widget you'd like to install and click the Vertical Show More icon .
  4. Click Install on site.
  1. Click Copy Code next to the language of the widget you're installing.  

Step 2 | Add the Code to Your Wix Site

Next, paste the code in your Wix site's Tracking & Analytics.  
  1. Log in to your Wix account. 
  2. Access the Wix Editor for the site in which you're installing your Widget. 
  3. Click Settings at the top editor menu bar and select Tracking & Analytics
  4. Click + New Tool and select Custom
  5. Paste the code in field: Paste the code snippet here:
  1. Enter a name for your custom code in the Name field. 
  2. Click Apply.
    Note: Leave All pages - Load code once and Place Code in: Head selected.
  1. Refresh your live website to view your Widget. 
Note:
Currently, adding more than one widget per page is not supported by Wix Answers. 

Related Articles

Creating a New Widget

Allow customers to get help without navigating away from your product or website with the Wix Answers Widget. Create a widget to present knowledge base articles and allow customers to get support via contact form, Live Chat, or phone support. Create as many widgets as you need and tailor them to the locations where you are adding them. Note:We're currently in the process of releasing a new version of the Wix Answers Widget. If you don't see the steps below in your widget settings, click here for directions. To create a new widget:Hover over Settings  and click Widgets.Click Create New Widget.Enter a name for your Widget and click Create Widget.Next:Customize your WidgetAdd contact options to your WidgetAdd a contact widget to your Help CenterAdd your Widget to your non-Wix websiteAdd your Widget to your Wix site

1 min read

Installing a Widget on Your Website

Install your Widget to allow visitors to review articles or reach out for help from any page on your site. To embed your Widget, copy its code and add it to your site's HTML code. Repeat the steps below for each language in which you'd like to install your Widget. Have a Wix site?Learn how to add your Widget to your Wix site. Before you begin:Create your Widget and customize it to fit the needs of your customers and your business. Note:We're currently in the process of releasing a new version of the Wix Answers Widget. If you don't see the steps below in your widget settings, click here for directions. To install your Widget on your website:Hover over Settings  and click Widgets.Hover over the widget you'd like to install and click the Vertical Show More icon .Click Install on site.Click Copy Code next to the language of the Widget you're installing.  Paste the code into the body of the HTML at the top of the page(s) in which you want the widget to appear.Note:Currently, adding more than one widget per page is not supported by Wix Answers. 

1 min read

Installing a Multilingual Widget on Your Wix Site

Add a widget to your Wix site that automatically displays in whichever language your site is being viewed in.  Important:This article refers to adding your Widget to a site created on Wix.com. If your site was not created on Wix, click here for instructions.Before you begin:Your Wix site must be upgraded to a Premium Plan. Learn HowUse Wix Multilingual to create a site in more than one language. If you don't see subdomains for a secondary language, delete the language and re-add it. Your domain must be either purchased from Wix, transferred to Wix, or connected via name servers. These instructions do not apply if you connected your domain via pointing. Learn MoreNote:We're currently in the process of releasing a new version of the Wix Answers Widget. If you don't see the steps below in your widget settings, click here for directions. Step 1 | Create Your Widget's Embed CodeFirst, create the code you'll use to embed your Widget on your Wix site. Copy the following code: <script> (function(){ var w=window; function l(){ var d=document; var aws=d.createElement('script'); aws.type='text/javascript'; aws.async=true; // Array of languages enabled in Wix Answers Widget var supportedLanguages = ['en','fr','es','de','pt','it','ru','pl','zh','da','nl','ja','no','sv','he','ko']; var checkLocale = window.location.host.split('.')[0]; if (supportedLanguages.indexOf(checkLocale) != -1) { var locale = checkLocale; } else { // Default fallback language var locale = 'en'; } 'https://{ACCOUNT}.wixanswers.com/apps/widget/v1/{ACCOUNT}/{WIDGET-ID}/' + locale + '/embed.js'; aws.onload = aws.onreadystatechange = function() { var rs = this.readyState; if (rs && rs != 'complete' && rs != 'loaded') return; // try { // } catch (e) {} }; var s=d.getElementsByTagName('script')[0]; s.parentNode.insertBefore(aws,s); } if(w.addEventListener){ w.addEventListener('load',l); }else{ w.attachEvent('onload',l); } })() </script>Important:If English is not your site's default language, replace en in line 17 with the default language's abbreviation. For example, if your site's default language is French, the line should read: var locale = 'fr';  Paste the code into a separate document (such as CodePen, Notepad, or TextEdit). Replace {ACCOUNT} in both places on line 19 with the first part of your Wix Answers URL (e.g., if your URL is support.wixanswers.com, then replace with "support"). Replace {WIDGET-ID} with your Widget's ID. Show me how to get my Widget's IDIn your Wix Answers account, hover over Settings  and click Widgets. Select the widget you're installing. Copy your Widget's ID that appears between widgets/ and /content in your browser's URL bar. 5.  Copy the code you've created in this step so you can paste it in the next step. Step 2 | Add the Code to Your Wix SiteNext, add the code in your Wix site's Tracking & Analytics.  Log in to your Wix account. Access the Wix Editor for the site in which you're installing your Widget. Click Settings at the top editor menu bar and select Tracking & Analytics. Click + New Tool and select Custom. Paste the code in field: Paste the code snippet here:Enter a name for your custom code in the Name field. Click the Load code once drop-down and select Load code on each new page. Click Apply. Refresh your live website to view your Widget. Note:Currently, adding more than one widget per page is not supported by Wix Answers. 

3 min read