From 5aa17a515278dc1e73ed74cccc36c27def8a5893 Mon Sep 17 00:00:00 2001 From: Svenlaa Date: Sun, 27 Oct 2024 18:50:28 +0100 Subject: [PATCH] Update cloudflare.md Clarifies the folder names used earlier in the setup. I did not know what the folder name was, as I blindly copied and pasted through the tutorial --- docs/proxy/guides/cloudflare.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/proxy/guides/cloudflare.md b/docs/proxy/guides/cloudflare.md index 5fbd6e9a..b8c2bd05 100644 --- a/docs/proxy/guides/cloudflare.md +++ b/docs/proxy/guides/cloudflare.md @@ -98,6 +98,8 @@ Once you have the URL for your script, you can replace your Plausible Analytics ``` +The example folder name for `data-api` is `/event/`. The example folder name for the script is `/js/`. + Are you using our extensions such as hash-based routing, revenue or outbound link click tracking? Change the file name from `script.js` to the script you want to use: `script.hash.js`, `script.revenue.js` or `script.outbound-links.js`. Want to use more than one extension? You can chain them like this: `script.hash.revenue.outbound-links.js`. You just need to change the script name in the snippet that you insert into your site, no need to change the code for the worker. That's it! You're now counting your website stats using a proxy.