diff --git a/README.md b/README.md index b669a5f..df3fb0b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # plugin-plausible Adds Plausible Analytics to a blog hosted on micro.blog + +- Supports using a custom tracker domain: https://docs.plausible.io/custom-domain \ No newline at end of file diff --git a/layouts/partials/plausible.html b/layouts/partials/plausible.html index 3779d07..0002eae 100644 --- a/layouts/partials/plausible.html +++ b/layouts/partials/plausible.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/plugin.json b/plugin.json index 41b11d8..489f80f 100644 --- a/plugin.json +++ b/plugin.json @@ -1,5 +1,5 @@ { - "version": "1.0.0", + "version": "1.1.0", "title": "Plausible Analytics", "description": "Includes Plausible Analytics code.", "includes": [ @@ -10,6 +10,11 @@ "field": "params.blog_domain", "label": "Blog Domain", "placeholder": "Hostname registered at plausible.io." + }, + { + "field": "params.plausible_domain", + "label": "Plausible Domain (Optional)", + "placeholder": "Custom domain to load tracker script from." } ] } \ No newline at end of file