Source: https://usedataowl.com/docs/framer
Markdown source: https://usedataowl.com/docs/framer.md
Description: Track realtime traffic, button clicks, session replays, and Stripe payment attribution on your Framer landing page with a single custom code snippet.

# How to Add Web Analytics & Revenue Attribution to Framer

1. Open **Site settings → General → Custom code**.
2. Paste the script into **Start of <head> tag**.
3. Publish the site.

```html
<script
  defer
  data-website-id="YOUR_SITE_ID"
  src="https://usedataowl.com/js/script.cookies.js"
></script>
```

> Replace `YOUR_SITE_ID` with your site ID from the dashboard.

## Verify installation

After you deploy:

- Visit your live website.
- Open the **Realtime** page of your [DataOwl dashboard](/dashboard). Your visit shows up within a second, and the setup page says "Receiving events".

> DataOwl ignores localhost so you don't count your own development traffic. Add `data-allow-localhost="true"` to the tag to test locally. More options are in the [script configuration reference](/docs/script-configuration).
