Adding a tawk.to widget to your Wix website

[Desktop]

There are a couple of ways add the tawk.to widget to a Wix.com site, depending on the plan you have.


With a paid Wix subscription, you can connect your own domain to your Wix website and use custom code to add a tawk.to widget to your site.


If you have a free Wix plan, you can add the widget to your site using an HTML Embed element. However, the widget will need to be manually attached to a fixed footer rather than one that floats.


This article shows you how to add the tawk.to widget using both methods.

Find the Widget Code

To add the tawk.to widget to your Wix website, you’ll first need to copy the widget code from the tawk.to dashboard.


1. Log into your tawk.to account.


If you have multiple properties, check to make sure you're viewing the correct one. Hover over the current property name in the upper-left menu to select a new property from the list.


Make your way to ⚙️Administration Channels Chat Widget.


2. Then, copy the Widget Code

Add the widget using custom code

With a paid version of Wix, you can add the tawk.to widget to your website using custom code.


1. Log in to your Wix account. If you have multiple Wix sites, check the current site in the upper-left menu to make sure the correct site is selected.


Then, click the Edit Site button in the upper-right corner. 

2. In the header menu, select Dev Mode.


Then, select Add 3rd-Party Snippets. You will be redirected to the page where you can add and modify Custom Code.

3. In the Body - End section, click Add Code.

A popup window will appear.


In the Code Settings, paste the tawk.to widget code into the text box.


Select the following:


  • Name: Custom
  • Add Code to Pages: All PagesLoad code once
  • Place Code In: Body - End


Then, click the Apply button to confirm your settings.

Now, the widget will appear on every page of your Wix site.

Add the widget code using an HTML Embed element

1. Log in to your Wix dashboard and open the Wix editor.


In the left icon menu, click the plus (+) icon to select Add Elements.

Select Embed in the left sidebar menu. Then, select Embed HTML under Popular Embeds or use the search bar to find it in the options to the right. 

A new HTML box will appear

Select Code.


In the text field, paste the widget code you copied from your tawk.to dashboard and click the Update button.


Then, close the HTML Settings box.

The tawk.to widget will now appear in the HTML box on your page.

2. Now we need to resize the new HTML box. Click the box once to highlight it. Then, drag it change the size of the window here by entering values or expand the box manually by dragging it with your mouse.


Set the dimensions to the following:


Width: 400

Height: 620


The box should be big enough for the widget to expand when opened.


To freeze the position of your widget, right click on the HTML box and choose Pin to Screen. Then use the grid to choose the area where your widget will appear.

To fine-tune the placement and get your widget exactly where you want it, change the pixel values for the Horizontal offset and Vertical offset

3. You can also pin your widget to the footer area of your site by dragging it down to the bottom of your site where the footer is. This is the area that has the copyright notice and usually says “Proudly created with Wix.com.”


First, you’ll need to freeze your footer, so your visitors can always see your widget without having to scroll.


Right-click in the footer area and a small menu will pop up. At the bottom of this menu there is an option to Freeze Position. You must check this box or the tawk.to widget will only show up at the very bottom of the page. Using the Freeze Position option solves this problem.

4. Now drag the HTML box to the footer area. You will see an Attach to Footer message appear.

Click Attach to Footer.

This will expand the Footer to the height of the HTML Box. You can click the footer and drag it up from the bottom to return it to its normal size.


Then make sure that the top of the widget lines up with the top of the Footer area as shown above.

Click Preview in the upper-right of the Wix dashboard and check the widget.


Make sure when you click the widget it’s aligned to your satisfaction and the entire top of the widget is visible.


If you like what you see, scroll back up to the top of the page and click Publish. If not, you can drag the HTML box to make adjustments.


That’s it — you’re done!


Need help integrating tawk.to with Wix? Reach out to our support team or schedule a call.



Was this article helpful?

82 out of 104 liked this article

Still need help? Message Us