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

# Plausible

> Plausible Analytics provides open source and privacy-friendly web analytics, **now at the edge**.

<img src="https://mintcdn.com/edgee/enlt_qUyIUJ64Dg-/images/banners/plausible.png?fit=max&auto=format&n=enlt_qUyIUJ64Dg-&q=85&s=a42a37bcf2882123d8c8ee59c0d69faa" className="rounded-lg" noZoom width="1312" height="334" data-path="images/banners/plausible.png" />

Find it on GitHub: [<Icon icon="github" iconType="solid" /> /edgee-ai/plausible-component](https://github.com/edgee-ai/plausible-component)

Plausible is intuitive, lightweight and open source web analytics.
It works without cookies and is fully compliant with GDPR, CCPA and PECR.
Made and hosted in the EU, powered by European-owned cloud infrastructure.

This component eliminates the need to embed Plausible's snippet on your website,
offering improvements in privacy and website performance.

## Event Mapping

Here's how Edgee events map to Plausible events:

| Edgee event | Plausible Event |
| ----------- | --------------- |
| Page        | `pageview`      |
| Track       | Your event name |
| User        | `user`          |

<Note>
  When you make a `user` call, Edgee will send a `user` event to Plausible.
  Additionally, the user's data (user\_id, anonymous\_id, and properties) are stored on the device,
  enabling proper attribution for subsequent page views and events.
</Note>

## Getting Started

**To integrate Plausible into your Edgee project:**

1. Open the Edgee console and navigate to your project's Components.
2. Select "Add a component" and choose `edgee/plausible` from the list of available components.
3. Optionally, enter your your Plausible self-hosted `Instance URL`.
4. Enter your Plausible `Domain` and click Save.
5. Once the component has been configured, you are ready to send events to Plausible.

## Component Name

When configuring the component in your **Edgee Data Layer** or within SDK calls, use `edgee/plausible` as the component name:

```json theme={"dark"}
{
  "components": {
    "edgee/plausible": true
  }
}
```

For more details on Plausible implementation, refer to the
[official Plausible documentation](https://plausible.io/docs/).
