# Install on Webflow

> Paste the tag into Custom code head, then publish: custom code only runs on published Webflow sites.

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

Webflow has a site-wide custom code field, so you do not need to touch individual pages or embed anything on the canvas. One paste covers the whole site, including pages generated from a CMS collection.

## Where it goes

1. Open custom code**Site settings › Custom code**, then the **Head code** box.
2. Paste and publishPaste the tag, save changes, then publish the site. Nothing happens until you 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 site and check **Live**. The Webflow designer and preview mode do not run custom code, so test on the real site. If nothing arrives, view source on a published page and search for `statsy`; if the tag is missing, the last publish did not include the settings change.

## The webflow.io staging domain is dropped

Publishing to the `yoursite.webflow.io` staging domain sends beacons from a host that is not yours, and they are discarded. Publish to your custom domain, or add the staging host under **Site settings › General › Additional domains** if you want staging traffic in the same reports.

> **Tip.** Page-level custom code exists too, but keep the tag site-wide. Adding it in both places gives a page two tags and double pageviews.

Previous: [Install on Shopify](https://statsy.co/docs/install/shopify)  
Next: [Install on Framer](https://statsy.co/docs/install/framer)