Skip to main content

Documentation Index

Fetch the complete documentation index at: https://sailia-mintlify-docs-reorg-1776046906.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

You can embed a newsletter signup form on your website so visitors can subscribe to your mailing list directly. Sailia generates the embed code for you — copy it and paste it into your site’s HTML.

How it works

When a visitor fills in your embedded form and submits it, they are automatically added to your audience in Sailia. You can then reach them through marketing campaigns and automated workflows. The form collects the visitor’s name and email address. No payment information or account creation is required — the form is purely for newsletter subscriptions.

Get the embed code

1

Open the audience page

Navigate to Marketing > Audience in your Sailia dashboard.
2

Open the newsletter form dialog

Select the newsletter form option to open the embed code dialog. You will see a live preview of the form alongside the embed code.
3

Customize the button color

Use the Button Color picker to match the form’s submit button to your website’s branding.
4

Copy the embed code

Click Copy embed code. The code is copied to your clipboard.
5

Paste into your website

Open your website’s HTML editor and paste the code where you want the form to appear. Save and publish your page.
The embed code is a self-contained HTML snippet. It works on any website that allows custom HTML, including WordPress, Squarespace, Wix, and static sites.

Where to place the form

For best results, place the newsletter form where visitors are most likely to engage:
  • Homepage — in a sidebar or footer section to capture general interest
  • Blog or news page — near content that demonstrates your expertise
  • Contact page — visitors already looking to engage with your business
  • Booking confirmation page — after a customer has completed a booking (if your website supports this)
Avoid placing the form in a pop-up or modal that interrupts the browsing experience. Inline forms embedded directly into the page tend to perform better.

After embedding

Once the form is live on your website:
  • New subscribers appear in your audience automatically
  • You can segment and target subscribers using audience filters when sending campaigns
  • Subscribers can unsubscribe through the link included in your marketing emails
  • Duplicate submissions (same email address) do not create duplicate audience entries

Platform-specific instructions

Use a Custom HTML block in the WordPress block editor. Paste the embed code into the block and publish the page. If you are using a page builder plugin (like Elementor or WPBakery), look for an HTML or code widget.
Add a Code block to your page. Paste the embed code and save. Squarespace may require a Business plan or higher to embed custom code.
Use the Embed Code > Custom Element or HTML iframe widget. Paste the embed code into the widget settings. Position the widget where you want the form to appear.
Open your HTML file in a text editor. Paste the embed code at the location where you want the form to appear, then upload the updated file to your hosting provider.
If the copy button does not work in your browser, select the code manually from the text area and copy it with your keyboard.

Troubleshooting

Check that the embed code was pasted into an area that supports custom HTML. Some website builders require a specific block type (like “Custom HTML” or “Code”) rather than a regular text block. Also confirm that you saved and published the page after pasting.
Verify the form is using the correct embed code from your Sailia account. If you copied code from a different account or an older version, it may not be linked correctly. Regenerate the code and re-embed it.
Your website’s CSS styles may override the form’s default styling. Check your website’s theme for conflicting styles on form elements, buttons, or input fields.

Marketing and audience

Grow your subscriber list and reach customers with campaigns.

Automated workflows

Set up triggered email sequences for your subscribers.

Embedding your booking page

Embed your full booking page alongside newsletter forms.