From 1bdff3f9e6e1297c49caaeee224e1034ec654325 Mon Sep 17 00:00:00 2001 From: Njogu Amos <29255728+njoguamos@users.noreply.github.com> Date: Sun, 7 Apr 2024 21:52:38 +0300 Subject: [PATCH 1/3] Update self-hosted instructions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1a80685..603c4cb 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,12 @@ Ensure that you have updated your application `.env` with credentials from [Plau PLAUSIBLE_SITE_ID= PLAUSIBLE_API_KEY= +#PLAUSIBLE_BASE_URL= <-- (Optional) for self-hosted ``` +> *Note* If you are using a self-hosted version of plausible, ensure that you include `PLAUSIBLE_BASE_URL` to point to your custom domain. + + ## Usage ### 1. Getting Realtime Visitors From 706b98bc65989584c24b95e0f34fa9d712a87770 Mon Sep 17 00:00:00 2001 From: Njogu Amos <29255728+njoguamos@users.noreply.github.com> Date: Sun, 7 Apr 2024 21:57:05 +0300 Subject: [PATCH 2/3] Format code --- config/plausible.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/plausible.php b/config/plausible.php index ba5f48c..9844c65 100644 --- a/config/plausible.php +++ b/config/plausible.php @@ -12,7 +12,7 @@ | */ 'base_url' => env(key: 'PLAUSIBLE_BASE_URL', default: 'https://plausible.io/api/v1/stats'), - + /* |-------------------------------------------------------------------------- | Site ID (Domain) From 4fcedef23e79e59855f322fcb23cf98ce1b03330 Mon Sep 17 00:00:00 2001 From: Njogu Amos <29255728+njoguamos@users.noreply.github.com> Date: Sun, 7 Apr 2024 21:59:33 +0300 Subject: [PATCH 3/3] Update self-hosted instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 603c4cb..6ba2b55 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ PLAUSIBLE_API_KEY= #PLAUSIBLE_BASE_URL= <-- (Optional) for self-hosted ``` -> *Note* If you are using a self-hosted version of plausible, ensure that you include `PLAUSIBLE_BASE_URL` to point to your custom domain. +> *Note* If you are using a self-hosted version of plausible, ensure that you define `PLAUSIBLE_BASE_URL` to point to your custom domain. ## Usage