Skip to the page
Docs articles

Webflow

Add the widget to every page of a Webflow site through its site-wide custom code, open it from a button in your design, and check it on the published site.

Last updated

View as Markdown
On this page

Webflow adds site-wide custom code to every page it publishes, so the snippet goes in once. Any element in your design can open the widget too, with a custom attribute and no code.

Before you start

Add the snippet

  1. In Webflow, open your site's Site settings, then the Custom code tab.
  2. Paste your snippet into Footer code, which Webflow places before </body> on every page, and save your changes.
  3. Publish the site, to your webflow.io address, your own domain, or both. Custom code runs on the published site, not in the Designer or its preview.
  4. Open your published site. The round button appears in the corner once the page has loaded, and within moments the install guide's Check it's live shows its address.

Your site's addresses

The widget only answers on the websites listed under Where it works in the install guide. Add your own domain there, such as acme.com, which covers www.acme.com and every other subdomain.

If you check the site at the address Webflow gives it before going live, such as acme.webflow.io, add that address too, in full. The install guide won't add webflow.io on its own, since a website covers its subdomains and the widget would then answer on every Webflow site there. See where the widget works.

Open it from a button in your design

To open the widget from a Help link or a Contact button you've designed, rather than the round one in the corner:

  1. In the install guide, pick Your own button under Where it opens, and copy that snippet in place of the chat bubble's. It leaves out the round button.
  2. In the Designer, select your button or link and open its Element settings.
  3. Under Custom attributes, add one named data-notert-toggle. Give it a value to open a screen of the widget: new for a new conversation, help for your help center, request to suggest a feature, or messages, feedback, roadmap or news. With no value, it opens the widget where your visitor left it.
  4. Publish. A press opens the widget, and another closes it.

A link given the attribute goes nowhere while the widget answers the page, so point it at your contact page: a visitor follows it only where the widget can't open. You can keep the round button and add such buttons as well: give the elements the attribute, and leave the chat bubble's snippet as it is.

Good to know

  • Some pages only. To show the widget on some pages only, paste the snippet into each of those pages' own custom code, under the page's settings, in the box for the end of <body>, rather than the site's Footer code. Or keep it site-wide and hide the round button by page in Notert. See where the launcher shows.
  • Code you add later goes after it. A script of yours that calls the widget, such as identify for members of your site, works from Footer code below the snippet: the snippet keeps each call until the widget has loaded. Above the snippet, window.notert doesn't exist yet.
  • Light and dark. With Match site, the widget draws light or dark as your page's background does. See light, dark or match your site.

If the widget doesn't appear on your published site, open the browser's console and look for a line starting Notert:, which says why. See troubleshooting.

Start here

Up and down arrowsto moveEnterto openEscto close