Theme component for Hugo integration

Hello,

I created a Hugo theme component, so integration of plausible.io with gohugo.io is straightforward.

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

Do not hesitate to improve it.

Version 1.3.0 brings those new features:

  • Option for self hosting. Thanks to RealOrangeOne
  • Option in page front-matter whether the current page should be tracked
  • Option for writing public plausible dashboard URL in comments
1 Like

There are few recent update to this module:

  • 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 specific page’s + specific custom goals (v1.6.0)
  • Add debug option while in server mode (v1.6.0).