# Install on Framer

> Add the tag to End of head under Framer custom code, then publish the site for it to take effect.

Section: Installation guides  
Canonical page: https://statsy.co/docs/install/framer  
Last updated: 2026-09-15

Framer injects custom code into every page of a published site, so one paste in site settings is enough. There is no need to add an embed component to a frame, and nothing to repeat per page.

## Where it goes

1. Open custom code**Site settings › General › Custom code**.
2. Paste at the end of headPut the tag in the **End of <head>** box, not the body box, then publish.

```html
<script defer data-website-id="ws_XXXXXXXX" data-domain="yourstartup.com" src="https://statsy.co/js/script.js"></script>
```

## Confirm it works

Open the published URL and check **Live**. Framer navigates between pages on the client, so the path in **Live** follows you without a reload; that is handled by the script itself and needs no Framer plugin. See [Single-page apps and route changes](https://statsy.co/docs/tracking-script/spa).

## Publish, and mind the framer.website domain

Custom code does not run on the Framer canvas or in preview, only on the published site. And a site published only to `yoursite.framer.website` sends beacons from a host that is not your domain, so they are dropped. Connect your custom domain first, or add the Framer host under **Site settings › General › Additional domains**.

Previous: [Install on Webflow](https://statsy.co/docs/install/webflow)  
Next: [Install with Google Tag Manager](https://statsy.co/docs/install/gtm)