Introduction

In this article we will be taking a look at on how to embed Trustmary's testimonials and surveys to a website when using Wix as the content management system. If you're looking for instructions on the same subject but for a different platform, please refer to the other articles in our Help documentation's Integrations section.

Getting the embed code

First of all, you will need to copy the embed code for the inpage embed or the survey you're embedding from Trustmary.

Testimonial inpage

For the reviews or testimonials, the code can be found by choosing the embed in question and opening it from the Embeds page, which can be seen on the image below.

trustmary integration embed wp wordpress default theme

The embed code will be shown on the embeds front page. The code can be copied by clicking the Copy embed code button, or manually selecting and copying it.

trustmary integration embed wp wordpress default theme code

Surveys

For surveys, the embed code can be found in the Collect tab of the survey in question. Once there, scroll down to the end of the page and you will see a section titled Embed to Website. Click Copy under the code snippet and you're ready to move to the next step.

Embedding the code in Wix

Now that you have the embed code, navigate to your Wix Dashboard and select the website to edit by clicking Edit Site.

Note that this guide is written from the perspective of the Editor mode. You can switch to Editor mode the ADI mode, or select it when creating a new site.

Once you're in the editor, click on the plus icon in the toolbar on the left, or any other plus icon on your website's preview. Here you can add content and sections to your site. Click on the Embed category in the list and locate Custom Embeds in the sub-menu. From Custom Embeds, select Embed a Widget to open the HTML element in which the embed code can be pasted into.

Now that the HTML element is added to your site, click Enter Code near the top edge of the element. This opens up the element's settings and a text box, in which you can paste the embed code copied before. Next just click Update, and you're pretty much all set.

The only thing left now is to verify that the embedding works as intended. This can be easily done by first previewing the page, and then publishing the changes when everything seems allright.

Once everything is up and running, your embed should look and behave something like this:

Did this answer your question?