In this article we will be taking a look at on how to embed Trustmary's testimonials and surveys to a web site when using Duda as the content management system. In this example, we will be using the testimonial embed. 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 your embed. At the moment, you can embed testimonials and surveys with their respective codes. See the instructions below on how to get the code you would like to use.
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. After this, you're ready to start embedding the code.
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 start embedding the code.
Embedding the code in Duda
Start by selecting Widgets from the toolbar on the left in Duda's editor. In here, look for the HTML widget, and once you've found it, drag the widget onto its place on the site.
After the widget is placed on the page, a window pops up. This is where the embed code from before comes in: paste the code into the text box of the widget. Note that there might be some placeholder text in the box which you will need to remove before pasting the code.
Then just click Update on the lower right of the window to save the changes.
Your embed should appear in the editor immediately. If the embed acts like the one in the image below, everything is correct and you now have your testimonials dispayed on your site driving sales!