> ## Documentation Index
> Fetch the complete documentation index at: https://docs.manalens.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Start here

> Get started with ManaLens, privacy-friendly web and product analytics with attribution.

## What is ManaLens?

**ManaLens** is web and product analytics with built-in marketing attribution. It measures visitors, sessions, pages, custom events, identified users and revenue in one place, so you can see where people come from and what they do next.

## Key features

### [Web and product analytics](https://docs.manalens.dev/features/overview.md)

* **Measure KPIs.** Track visitors, page views, sessions, bounce rate, session duration and revenue, and compare each with the previous period.
* **Marketing attribution.** See which channels, referrers, referral codes, UTM campaigns and ad networks bring visitors and conversions.
* **Optimize your funnel.** Build [funnels](https://docs.manalens.dev/features/funnels.md), [retention](https://docs.manalens.dev/features/retention.md) cohorts and [user paths](https://docs.manalens.dev/features/user-paths.md) from page views and custom events.
* **Charts and dashboards.** Build [custom dashboards](https://docs.manalens.dev/features/dashboards.md), query raw events with [SQL](https://docs.manalens.dev/features/explorer.md), or ask questions with [Ask AI](https://docs.manalens.dev/features/ask-ai.md).

### [Users](https://docs.manalens.dev/features/users.md)

* **Anonymous and identified users.** Every browser gets a persistent first-party ID. Call `identify()` after login to join anonymous history to a known user.
* **Profiles.** See first and last touch attribution, traits, activity history and revenue for each user.
* **Lifecycle.** See which people are New, Returning, At Risk, Churned or Resurrected.

### [Revenue](https://docs.manalens.dev/features/revenue.md)

* **Stripe and Paddle.** Connect signed webhooks to record invoices, refunds and subscriptions, and link them to your users.

## Privacy friendly

* The collector **does not store IP addresses or raw user agents**. It derives country, device, OS and browser, then discards the raw values.
* **No third-party cookies and no fingerprinting.** The visitor ID is a random UUID in a first-party cookie.
* An optional [consent mode](https://docs.manalens.dev/guides/consent.md) stores nothing in the browser until the visitor gives consent.

Read [what we collect](https://docs.manalens.dev/data/what-we-collect.md) for the full list.

## SDK source

The Web SDK has the MIT license. During early access, the SDKs are available on request (use the Contact page of the ManaLens website, `/contact`). The source will be published at launch.

## Next steps

**1. Create a project**

Sign in to the dashboard, create a workspace and a project, and enter your site domain.

**2. Install the SDK**

[Install ManaLens](https://docs.manalens.dev/install.md) on your website or app.

**3. Track what matters**

Add [custom events](https://docs.manalens.dev/sdks/web.md#track-custom-events) for key actions and [identify users](https://docs.manalens.dev/guides/identify-users.md) after login.

## Product tour

**Step 1**

On the **[Overview](https://docs.manalens.dev/features/overview.md)** page, see visitors, page views, sessions, bounce rate, session duration and revenue, with top pages, acquisition sources, countries, devices and events.

**Step 2**

Inspect **[Activity](https://docs.manalens.dev/features/activity.md)** to see each event as it happens, with its page, source and campaign.

**Step 3**

Understand who your **[Users](https://docs.manalens.dev/features/users.md)** are, with profiles, lifecycle stages and first-touch and last-touch attribution.

**Step 4**

Build a **[Funnel](https://docs.manalens.dev/features/funnels.md)** to measure the conversion rate between key steps.

**Step 5**

Measure **[Retention](https://docs.manalens.dev/features/retention.md)** to see which cohorts come back.

**Step 6**

Use **[Ask AI](https://docs.manalens.dev/features/ask-ai.md)** to ask questions about your data in plain language.

**Step 7**

Create **[Alerts](https://docs.manalens.dev/features/alerts.md)** to get a Slack message or a signed webhook when an event count reaches a threshold.

**Step 8**

Use the **[Explorer](https://docs.manalens.dev/features/explorer.md)** to query your events with SQL.

**Step 9**

Connect Claude and other AI tools with **[MCP](https://docs.manalens.dev/mcp/overview.md)**.

## FAQ

> [accordion] What does the SDK track automatically?
>
> The Web SDK sends an initial page view and a page view on each client-side navigation (`pushState`, back and forward). Each event carries the page path and title, the external referrer, UTM parameters, referral codes and supported ad click IDs. You add [custom events](https://docs.manalens.dev/sdks/web.md#track-custom-events) with `track()` and identify users with `identify()`.

> [accordion] Can I send events from my backend?
>
> Yes. Create a Secret key in project settings. Then send `track` and `identify` [server events](https://docs.manalens.dev/sdks/server.md) to `POST /v0/events`. Keep the Secret key on your backend.

> [accordion] Do ad blockers affect tracking?
>
> Some ad blockers block requests to analytics hosts. Serve the SDK and send events through your own domain with a [reverse proxy](https://docs.manalens.dev/guides/reverse-proxy.md).

> [accordion] Are bots counted?
>
> No. The collector labels known bots and crawlers with the device `bot` and keeps the rows, but every report excludes them by default. Filter on **Device: bot** to see them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.