Skip to content
Merged

22k #844

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/events-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ The API always returns HTTP 202 Accepted, even when an event is dropped. To debu

E.g: Add this header to your request and log the response.

**Test the path your real events take.** Run the `X-Debug-Request` check from the same place your production events are sent (your server, worker, edge function or retry job), not only with a one-off test request. `X-Forwarded-For` can be set correctly in your code and still reach us with a different IP: a proxy, CDN, load balancer or hosting provider along the way may replace the header or add its own address to it. If the header contains a comma-separated list, Plausible uses the first valid IP address in it, so make sure the visitor's IP comes first. Also check that the visitor's original `User-Agent` is forwarded, not your server's or HTTP library's default.

Dropped events can't be added to your stats afterwards, so it's worth running these checks whenever you set up or change your integration.

:::tip Want to monitor the status of our API?
You can can use GET https://plausible.io/api/health endpoint to do so
:::
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "Plausible Analytics documentation. No cookies, no personal data, n

import CtaBox from '@site/src/components/CtaBox';

[Plausible Analytics](https://plausible.io/) is a simple, privacy-friendly alternative to Google Analytics. No cookies, no personal data collection, no consent banners required. One lightweight script, one easy-to-read dashboard. Running since 2018 and used by 21,000+ teams. Explore the [live demo](https://plausible.io/plausible.io) to see what it looks like.
[Plausible Analytics](https://plausible.io/) is a simple, privacy-friendly alternative to Google Analytics. No cookies, no personal data collection, no consent banners required. One lightweight script, one easy-to-read dashboard. Running since 2018 and used by 22,000+ teams. Explore the [live demo](https://plausible.io/plausible.io) to see what it looks like.

<CtaBox
headline="Setting up Plausible for the first time? Start a free trial, then follow the guides below"
Expand Down
Loading