Source: https://usedataowl.com/docs/getting-started
Markdown source: https://usedataowl.com/docs/getting-started.md
Description: Install the <4KB DataOwl script in under a minute to track realtime visitors, custom goals, session replays, forms, and Stripe revenue attribution.

# Set Up Lightweight Web Analytics & Revenue Tracking in 3 Steps

DataOwl is web analytics with JavaScript error tracking built in. Set it up in 3 steps. The free plan covers 5k events a month, with no card.

## 1/ Install the tracking script

[Add your website](/dashboard/new) and put the tracking script in the `<head>` of every page:

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

Pageviews, traffic sources, time on page and JavaScript errors start arriving within a second. The setup page shows "Receiving events" once the first one lands.

> Need to change how the script behaves? See the [script configuration reference](/docs/script-configuration) for localhost tracking, cookieless mode, Do Not Track and more.

#### Installation tutorials

[See all installation guides](/docs/install-datasense): Next.js, React, WordPress, Shopify, Webflow, Framer and more.

## 2/ Link revenue to traffic

1. [Attribute revenue](/docs/revenue-attribution-guide) to the visits that led to it.
2. Report payments from your [Stripe](/docs/stripe-checkout-api) or [Dodo Payments](/docs/dodopayments) webhook, or any provider with the [Payments API](/docs/payments-api).

## 3/ Track custom goals (optional)

Count signups, checkouts and any other action with [custom goals](/docs/custom-goals). Goals show their conversion rate next to your traffic.

## Next steps

- [Proxy the script](/docs/proxy-guide) so ad blockers don't hide visitors
- [Track traffic sources and UTM campaigns](/docs/utm-tracking)
- [Identify signed-in users](/docs/user-identification)
- [Track AI crawlers](/docs/bot-traffic-tracking)
- [Connect an AI assistant with MCP](/docs/mcp-introduction)
- [Explore the API](/docs/api)

> Open your website's **Settings** in the [dashboard](/dashboard) to see every setting and feature.
