You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/proxy/guides/nginx.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,22 @@ If you're already running Nginx as your main web server or reverse proxy, you ca
8
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
9
:::
10
10
11
-
## Step 1: Update your Nginx config
11
+
## Step 1: Get your snippet
12
+
13
+
In the "**Site Installation**" area of the "**General**" section in your [site settings](website-settings.md) you can see
14
+
the snippet specific for your site. It will look similar to the following:
Your snippet will have a different script location than the example above. Look for the `https://plausible.io/js/pa-XXXXX.js` part in your snippet - that's the personalized location for your site's script. Mark it down for subsequent steps.
25
+
26
+
## Step 2: Update your Nginx config
12
27
13
28
```
14
29
# Only needed if you cache the plausible script. Speeds things up.
0 commit comments