diff --git a/src/pages/_includes/layout/analytics.html b/src/pages/_includes/layout/analytics.html
index 7d683b8cf..e872beafe 100644
--- a/src/pages/_includes/layout/analytics.html
+++ b/src/pages/_includes/layout/analytics.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/vercel.json b/vercel.json
index 5a25492ea..d8277161e 100644
--- a/vercel.json
+++ b/vercel.json
@@ -2,5 +2,15 @@
"routes": [
{ "handle": "filesystem" },
{ "src": "/(.*)", "status": 404, "dest": "/error-404.html" }
+ ],
+ "rewrites": [
+ {
+ "source": "/stats/js/script.js",
+ "destination": "https://plausible.io/js/script.js"
+ },
+ {
+ "source": "/stats/api/event",
+ "destination": "https://plausible.io/api/event"
+ }
]
}
\ No newline at end of file