# Site builders

> Add mettr to a site made with Webflow, Framer, Ghost, Wix or Squarespace by pasting the browser script into the builder's custom code for the head.

Source: https://mettr.app/docs/site-builders

A site made with a builder needs no SDK: the [browser script](/docs/browser-script), pasted once into the builder's custom code for the `<head>`, sends page views, navigation, outbound clicks, scroll depth, time on page, [Web Vitals](/docs/browser-script#web-vitals) and who is online from every page. A builder that moves between pages without reloading them is followed too: each page counts as it is shown.

Copy the script from the site's settings, **Tracking**, **Browser script**:

```html
<script defer data-key="pk_your_site_key" src="https://mettr.app/script.js"></script>
```

Then, in mettr, list every domain the site is seen on under the site's **General** settings, **Domains**: your own domain, and the builder's address too (`example.webflow.io`, `example.framer.website`) if people visit it there. The script sends only from those.

Your own events, a button's click or a form sent, go through `window.mettr` from the builder's own code fields: see [Your own events](/docs/browser-script#your-own-events).

## Webflow

Custom code needs a paid site plan (or a paid workspace).

1. Open the site's **Site settings**, then the **Custom code** tab.
2. Paste the script into **Head code** and save.
3. Publish the site: custom code runs on the published site, not in the Designer.

## Framer

1. Open the project's **Site settings**, then **Custom code**.
2. Paste the script into **End of `<head>` tag** and save.
3. Publish the site.

## Ghost

1. In Ghost's admin, open **Settings**, then **Code injection**.
2. Paste the script into **Site header** and save.

It runs on every page of the site, posts and pages alike. Members signing in or up happen on Ghost's own pages and are not sent as events.

## Wix

Wix runs custom code on a published site with a connected domain (a premium plan).

1. In the site's dashboard, open **Settings**, then **Custom code**, and choose **Add custom code**.
2. Paste the script, apply it to **All pages**, loaded once, and place it in **Head**.
3. Save. Wix's head code is limited to 2,000 characters; the script is far shorter.

If you connect another domain to the site later, Wix deletes its custom code: add the script again, and the new domain to the site's domains in mettr.

## Squarespace

Code injection comes with the Core plan and above.

1. Open the site's **Settings**, then **Developer tools** (**Advanced** on older sites), then **Code injection**.
2. Paste the script into **Header** and save.

## A domain on Cloudflare

When the site's domain is proxied by Cloudflare, the [Cloudflare Worker](/docs/cloudflare) can add the script itself and also send crawler visits, 404s and response times, which a script in the page never sees.
