Skip to content

Commit b7a9b4f

Browse files
Merge pull request #616 from plausible/metmarkosaric-patch-34
managed proxy
2 parents b18114e + 51df5dd commit b7a9b4f

14 files changed

Lines changed: 72 additions & 25 deletions

docs/custom-domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ title: Serve the script from your domain as a first-party connection
55
import useBaseUrl from '@docusaurus/useBaseUrl';
66

77
:::note
8-
Custom domains are deprecated. We now recommend the proxy instead of the custom domain. [Here are the proxy instructions](/proxy/introduction.md)
8+
We now recommend the proxy instead of the custom domain. [Here are the proxy instructions](/proxy/introduction.md)
99
:::

docs/proxy/guides/akamai.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ title: Proxying Plausible through Akamai
44

55
import useBaseUrl from '@docusaurus/useBaseUrl';
66

7-
Proxying Plausible through your own property on Akamai is easy, fast and privacy-friendly.
7+
Here's how to proxy Plausible through your own property on Akamai. The instructions assume you use the default paths ``/js/script.js`` and ``/api/event``. You can change these based on your preferences.
88

9-
The instructions assume you use the default paths ``/js/script.js`` and ``/api/event``. You can change these based on your preferences.
9+
:::tip Don't want to manage your own proxy? We can handle it for you
10+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
11+
:::
1012

1113
## Step 1: Proxy Analytics Script
1214

docs/proxy/guides/apache.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
title: Proxying Plausible through Apache HTTP Server
33
---
44

5-
If you're already running Apache HTTP Server as your main web server or reverse
6-
proxy, you can also configure it to proxy your analytics. Start by adjusting your configuration as shown in the next step.
5+
If you're already running Apache HTTP Server as your main web server or reverse proxy, you can also configure it to proxy your analytics. Start by adjusting your configuration as shown in the next step.
6+
7+
:::tip Don't want to manage your own proxy? We can handle it for you
8+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
9+
:::
710

811
## Step 1: Enable the required modules
912

docs/proxy/guides/caddy.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
title: Proxying Plausible through Caddy
33
---
44

5-
If you're already running Caddy as your main web server or reverse
6-
proxy, you can also configure it to proxy your analytics. Start by adjusting your
7-
configuration as shown in the next step.
5+
If you're already running Caddy as your main web server or reverse proxy, you can also configure it to proxy your analytics. Start by adjusting your configuration as shown in the next step.
6+
7+
:::tip Don't want to manage your own proxy? We can handle it for you
8+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
9+
:::
810

911
## Step 1: Update your Caddyfile
1012

docs/proxy/guides/cloudflare.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ title: Proxying Plausible through Cloudflare
55
import useBaseUrl from '@docusaurus/useBaseUrl';
66

77
You can use Cloudflare Workers to proxy your Plausible Analytics requests. Cloudflare Workers offers free service for up to 100,000 requests per day.
8-
All you need to set it up is a free Cloudflare account.
8+
All you need to set it up is a free Cloudflare account. Here's the step-by-step process for creating a proxy.
99

10-
Here's the step-by-step process for creating a proxy. It takes only a few minutes and requires no tech know-how or prior experience.
10+
:::tip Don't want to manage your own proxy? We can handle it for you
11+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
12+
:::
1113

1214
Step 0: Sign up for a free Cloudflare account if you don't have an account already and add your site.
1315

docs/proxy/guides/cloudfront.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
66

77
You can use CloudFront to proxy your Plausible Analytics requests. Here's the step-by-step process for creating a proxy.
88

9+
:::tip Don't want to manage your own proxy? We can handle it for you
10+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
11+
:::
12+
913
Step 0: Sign up for a free AWS account if you don't have an account already and create a CloudFront distribution.
1014

1115
## Step 1: Create new origin

docs/proxy/guides/deno.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
title: Proxying Plausible through Deno Deploy
33
---
44

5+
:::tip Don't want to manage your own proxy? We can handle it for you
6+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
7+
:::
8+
59
## Step 1: Deploy proxy code
610

711
Start by getting a [Deno Deploy](https://deno.com/deploy) account if you don't have one already.

docs/proxy/guides/fastly.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
66

77
You can use Fastly to proxy your Plausible Analytics requests. Here's the step-by-step process for creating a proxy.
88

9+
:::tip Don't want to manage your own proxy? We can handle it for you
10+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
11+
:::
12+
913
## Step 1: Create the Backend for Plausible
1014

1115
First, set up a Plausible backend:

docs/proxy/guides/fresh.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
title: Proxying Plausible through Fresh
33
---
44

5+
:::tip Don't want to manage your own proxy? We can handle it for you
6+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
7+
:::
8+
59
## Step 1: Add the script proxy
610

711
Create a file `routes/js/script.js.ts` in your project.

docs/proxy/guides/netlify.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
title: Proxying Plausible through Netlify
33
---
44

5+
:::tip Don't want to manage your own proxy? We can handle it for you
6+
Our managed proxy lets you send analytics through your own domain name as a first-party connection. All you need to do is set up a CNAME record using the instructions we'll send you and update the snippet on your site. We'll take care of everything else. [Contact us for details](https://plausible.io/contact).
7+
:::
8+
59
## Step 1: Add URL rewrite rules
610

711
If you don't already have a `_redirects` file at the publishing directory of your site, create one. You can learn more about Netlify redirects and rewrites [here](https://docs.netlify.com/routing/redirects/). Here's the setup for proxying Plausible Analytics:

0 commit comments

Comments
 (0)