Install Yaplet on a Tilda site

Updated October 22, 2026

Tilda lets you add your own code to the head section of every page of your site, and that is all the Yaplet widget needs. You paste the Yaplet code there, publish your pages again, and the chat button appears on your site. You don't need a block on every page or a developer.

Editing the head code needs a paid Tilda plan (Personal or Business): on the Free plan you can't edit it. Tilda's two-week free trial includes all features. Menu names below are written exactly as Tilda's own help shows them.

1. Copy your Yaplet code

In the Yaplet dashboard's left menu, go to Brand → (your brand) → Chat widget → Install. If the tab asks where your website runs, choose Other website. Copy the code with the copy button on the code block.

Tilda's field takes HTML, so the code must sit between a <script> line and a </script> line. With Other website chosen, the code already has these lines. If the tab didn't ask, the code is plain JavaScript that starts with !function (Yaplet, and you add the lines in step 3.

2. Open the head code setting

In Tilda, open your site's Site Settings and go to More → HTML code for the head section. Click Edit Code.

3. Paste the code

Paste the Yaplet code. It must start with a <script> line and end with a </script> line. If what you copied starts with !function (Yaplet instead, type <script> on a new line before it and </script> on a new line after it. The finished code looks like this:

<script>
(your Yaplet code)
</script>

Click Save.

4. Publish all pages again

The code only reaches your pages when they are published again. Go back to your project dashboard and click Publish all pages. If you use folders, Tilda asks whether to publish all pages or only the ones in the current folder: choose Publish all.

This also publishes pages that aren't online yet, such as drafts. To keep a folder of drafts offline, tick Archive Folder in that folder's settings first.

5. Check your site

Open your site in a new browser tab and reload the page. The Yaplet chat button appears in the bottom-right corner. Click it to check that the chat opens.

For a full checklist, see Verify your installation.

If the chat doesn't appear

  • The pages weren't published again. Saving the code is not enough. Click Publish all pages on your project dashboard.
  • You can't find the field under More. Older Tilda help pages name the tab differently: Site Settings → Insert Code → HTML code for the HEAD section.
  • You can't edit the head code. Your site is on the Free plan. Switch to a paid plan or start the free trial.
  • The <script> tags are missing. Open the head code again and check that <script> is on the line before the code and </script> on the line after it. Save and publish all pages again.
  • You still see the old page. Your browser may show a cached copy. Reload the page, or open it in a private window.

What's next

To see what the code does and where your widget ID is, read Install Yaplet.

Did this article answer your question?