Skip to the page
Docs articles

Framer

Add the widget to every page of a Framer site through its project's custom code, and check it on the published site.

Last updated

View as Markdown
On this page

Framer adds a project's custom code to the pages it publishes, so the snippet goes in once and shows on every page. Framer moves between pages without reloading, and the widget stays on screen as visitors move around, with its conversation open.

Before you start

Add the snippet

  1. In your Framer project, open Project Settings and choose the Custom Code tab.
  2. Press Add Script, or the plus beside your existing scripts, and paste your snippet, both of its <script> tags.
  3. Place it at the end of the <body> tag, run it on all pages, and have it run once, rather than on every page visit.
  4. Save, then Publish the site. Custom code reaches visitors only once you publish.
  5. Open your published site in a new tab. The round button appears in the corner once the page has loaded, and within moments the install guide's Check it's live shows your site's address.

Running it once is right for the widget: it stays on the page as Framer moves between pages. Running it on every visit does no harm either, since only the first init on a page counts, but it gains nothing.

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 visitors also reach your site at the address Framer gives it, such as acme.framer.website, add that address too, in full. The install guide won't add Framer's own domain on its own, such as framer.website, since a website covers its subdomains and the widget would then answer on every site published there. See where the widget works.

Good to know

  • Not on the canvas. Framer's editor doesn't run custom code, so the widget shows only on your published site. Check it there, not in the editor's preview.
  • Keep the round button off some pages. Since Framer moves between pages without reloading, a widget drawn on one page stays as a visitor moves on, so picking pages for the script doesn't reliably keep it off the others. Keep the script on all pages, and hide the round button by page in Notert instead, which follows each move. See where the launcher shows.
  • 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