Skip to content

Commit 77e6e4c

Browse files
committed
22k
1 parent 65c5f77 commit 77e6e4c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎docs/events-api.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ The API always returns HTTP 202 Accepted, even when an event is dropped. To debu
166166

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

169+
**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.
170+
171+
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.
172+
169173
:::tip Want to monitor the status of our API?
170174
You can can use GET https://plausible.io/api/health endpoint to do so
171175
:::

‎docs/introduction.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Plausible Analytics documentation. No cookies, no personal data, n
66

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

9-
[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.
9+
[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.
1010

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

0 commit comments

Comments
 (0)