How to add a Review Widget to your Drupal website
Introduction
In this article we'll be taking a look at on how to embed Trustmary's reviews and surveys to an Drupal website. If you're looking for instructions on the same subject but for a different platform, check out other articles in our Help documentation.
Getting the embed code
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 directly to the source code, or through your website editor. The website editors usually have an element called code, HTML, embed or similar that can run the code.
For more information on embedding to different platforms, check out our help article collection on the topic.
How to embed the code in Odoo
Start by opening Drupal and clicking on a section on the page you want to edit, marked with a pencil icon and selecting edit in the drop-down menu. Alternatively, you can create a new page through the Content tab and by clicking the Add content button.

Once in the editing view, you are greeted with a text box. First enter a description for the block. Then, select Full HTML as the text format near the bottom of the text box and click the Source button near the top of the text box. Now you can paste the embed code copied previously into the text box.
Don't forget to click Save once you're ready!

Updated on: 13/03/2025
Thank you!