> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.trustmary.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Embed surveys onto your website

# Quick steps

1. Open **Surveys** in Trustmary, and open or create a survey.
2. Set the share method to **Embed on Website**.
3. On the **Preview & configuration** tab, pick the embed **Type**.
4. Click **Get script** in the top right, and paste the script into the page.

Start by navigating to **Surveys** in Trustmary, and opening or creating a survey.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/8/0/8/b8083cc0c8b32000/surveyscreateselect_13dl6wd.png =800x338)

# Selecting the share method

A new survey asks how it will be shared before the editor opens. Select **Embed on Website** and click **Save**.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/8/0/8/b8083cc0c8b32000/surveyssharemethods_83d87t.png =600xauto)

To change the share method on an existing survey, open the three-dot menu in the top right of the survey editor and select **Edit share type**.

# Configuring the embed

The embed is set up on the **Preview & configuration** tab. The **Type** panel on the left decides how the survey sits on the page — **Inpage**, **Fullpage**, **Button**, **Popup** or **Modal**.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/8/0/8/b8083cc0c8b32000/screenshot-2026-09-01-at-14124_1nmzyug.png =1000x472)

# Getting the embed code

Click **Get script** in the top right of the editor to get the script for the selected type.

# What to do with the code snippet?

Paste the script into the page. It works on any HTML site, and most website editors have an element called **code**, **HTML**, **embed** or similar to paste it into. Publishing the page is the last step.

| Embedding a survey works the same way as embedding a review widget. Platform-specific instructions are in the [Add reviews to your site](https://help.trustmary.com/en/category/add-reviews-to-your-site-11e8b7g/) category.

# Wrapping up

Changes to the survey are applied to the embedded survey automatically, so the script never needs swapping. The embed type can be changed later on the same tab.
