From a1eb5b93129f52bc55857cae0be9578bdf9fb34d Mon Sep 17 00:00:00 2001 From: Nathanial Henniges Date: Wed, 4 Dec 2024 17:06:45 -0600 Subject: [PATCH] Fixed IP via Proxy --- src/Proxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Proxy.php b/src/Proxy.php index 1cedd589..ce059d73 100644 --- a/src/Proxy.php +++ b/src/Proxy.php @@ -146,7 +146,7 @@ public function send_event( $request ) { [ 'user-agent' => $ua, 'headers' => [ - 'X-Forwarded-For' => $ip, + 'X-Plausible-IP' => $ip, 'Content-Type' => 'application/json', ], 'body' => wp_kses_no_null( $params ),