Learn how to get your testimonials and surveys to your Wix site with Trustmary's free plans.
In this article we will be taking a look at on how to embed Trustmary's testimonials and surveys to a Wix website. If you're looking for instructions on the same subject but for a different platform, check out our other articles in our Help documentation's Integrations section.
Start by navigating to the Widgets section in Trustmary. In there, select a widget or create a new one.
In the widget editor, click the Add to website button which opens up a drawer. From there, copy the code snippet with the Copy script button.
What to do with the code snippet?
For the widgets to work, you'll need to copy the code from Trustmary to your website, either straight to the source code, or through your platform's editor. The website platforms usually have an element called code, html, embed or the like that can run the code.
For more information on embedding to different platforms, check out our help article collection on the topic.
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.
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 Embed Code in the sub-menu. From therre, select Embed HTML 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, or double click the element. This opens up the element's settings and a text box, into which you can paste the embed code you copied before.
Also, remember to resize the element to your liking, as Wix doesn't allow the widgets to resize themselves.
Next click Update to save the element.
When you're satisfied with your work, you can preview and publish the page from the top-right.
Order confirmation ("thank you") page
Finding the order confirmation page in Wix is very straightforward. Start by finding the Thank you page in the page drop-down menu.
Once on the Thank you page, click on the plus icon in the toolbar on the left to add a HTML element for your embed. See the picture below for all the steps.
When you have the HTML element on your page, you can move and shape it to your liking by dragging from the center and edges respectively. This is especially important, as Wix doesn't allow widgets to resize themselves.
After the element is in its place, click on the Enter code button near the top edge of the element. This opens up a window into which you can paste the embed code you copied earlier. When the code is in the box, click Update near the bottom of the window to apply the changes.
After this everything is pretty much all set. You can verify that the embed works as intended by clicking Preview in the top right corner of the editor, and if everything checks out, Publish the changes made.