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.
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.
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.
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 HubSpot CMS
Start by navigating to Website under Marketing. From there, select a page into which you want to embed your code. The page can be edited by clicking the Edit button or the title.
In the editor, look for an element in the pane on the left called Rich Text. This is a general purpose text element that also understands code. Go ahead and drag the element from the pane into its place on the page.
After the element is dropped into its place and is active on the editor, look for a drop-down menu called Advanced in the top right corner. From there, click on Source code to jump into the code view.
Here you'll find a text box with the header Edit source code. This is where you can paste the embed code you copied before. After the code is pasted, click Save Changes to save the changes.
You're almost there! Now the only step left is to check the embed works as intended. This can be done by clicking the Preview button in the top right in the editor.
If your embed looks and behaves something like the one below, you're pretty much all set. Congratulations!