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 Weebly 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.

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. After this, you're ready to start embedding the code.

trustmary integration embed wp wordpress default theme 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 Weebly

Start by opening your website in the editor view in Weebly. You should automatically be in the Build tab, but if this is not the case, navigate to it from the row of tabs near the top. Once there, look for an element called Embed Code with a little brackets icon on it. Grab the element, and drag the it onto the page.

Now that the elements is in its spot, click on it to open up the editing dialogue box. In the box, click Edit Custom HTML, and the element turns into a plain text (HTML) box. Take the embed code you copied before and paste it here.

Next, just click anywhere so the code element sets itself up and you should see the embed pop up in the preview immediately. Check that everything looks and reacts as it should, and you're almost done!

The only thing left to do is to publish the changes made to your site by clicking the large Publish button in the top right corner. When you see the "website published" window pop up, the changes are live.

Congratulations, you now have testimonials on your website driving your sales!

Did this answer your question?