HUGO

Theme component/Hugo module for easy plausible.io integration

Hello,

I created a Hugo theme component, so integration of plausible.io (replacement analytics for GA) with gohugo.io is straightforward.

You also can use it as a Hugo module if you prefer.

https://github.com/divinerites/plausible-hugo

Do not hesitate to improve it.

5 Likes

I looked at the hugo documentation, and Iā€™m not sure if and where I should put information about this theme component/Hugo module. Pretty sure it does not belongs to theme.gohugo.io.

The closest I found is https://gohugo.io/tools/other/

Any advice about Hugo policy for theme component/Hugo module ?
Thanks.

There are few recent update to this module:

  • Add option for writing public plausible dashboard URL in comments (v1.3.0)
  • Add warning for adding domain to CSP in HTML comments (v1.4.0)
  • Improve _headers domains with a partial (v1.4.1)
  • Check variables & module versions (v1.5.0)
  • Add front matter parameter plausible_custom_goal for custom goals (v1.6.0)
  • Add debug option while in server mode (v1.6.0).