Merge pull request #318 from fghaas/plausible
Add support for Plausible analytics
This commit is contained in:
commit
d9c1fd07ab
3 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,7 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme.
|
||||||
- [Google Analytics](https://www.google.com/analytics/web/)
|
- [Google Analytics](https://www.google.com/analytics/web/)
|
||||||
- [Google Tag Manager](https://www.google.com/tagmanager/)
|
- [Google Tag Manager](https://www.google.com/tagmanager/)
|
||||||
- [Matomo Analytics (formerly Piwik)](https://matomo.org/)
|
- [Matomo Analytics (formerly Piwik)](https://matomo.org/)
|
||||||
|
- [Plausible](https://plausible.io/)
|
||||||
- [StatusCake](https://www.statuscake.com/)
|
- [StatusCake](https://www.statuscake.com/)
|
||||||
- [Isso](https://posativ.org/isso/)
|
- [Isso](https://posativ.org/isso/)
|
||||||
- [Microsoft Clarity](https://clarity.microsoft.com)
|
- [Microsoft Clarity](https://clarity.microsoft.com)
|
||||||
|
|
|
@ -100,6 +100,9 @@
|
||||||
{% include "partial/ga.html" %}
|
{% include "partial/ga.html" %}
|
||||||
{% include "partial/ggst.html" %}
|
{% include "partial/ggst.html" %}
|
||||||
|
|
||||||
|
|
||||||
|
{% include "partial/plausible.html" %}
|
||||||
|
|
||||||
{% if PGP_KEY %}
|
{% if PGP_KEY %}
|
||||||
<link rel="pgpkey" type="application/pgp-keys" href="{{ SITEURL }}/{{ PGP_KEY }}">
|
<link rel="pgpkey" type="application/pgp-keys" href="{{ SITEURL }}/{{ PGP_KEY }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -107,6 +110,7 @@
|
||||||
{% if WEBMENTION_URL %}
|
{% if WEBMENTION_URL %}
|
||||||
<link rel="webmention" href="{{ WEBMENTION_URL }}" />
|
<link rel="webmention" href="{{ WEBMENTION_URL }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if PINGBACK_URL %}
|
{% if PINGBACK_URL %}
|
||||||
<link rel="pingback" href="{{ PINGBACK_URL }}" />
|
<link rel="pingback" href="{{ PINGBACK_URL }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
3
templates/partial/plausible.html
Normal file
3
templates/partial/plausible.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{% if PLAUSIBLE_DOMAIN %}
|
||||||
|
<script defer data-domain="{{ PLAUSIBLE_DOMAIN }}" src="https://plausible.io/js/plausible.js"></script>
|
||||||
|
{% endif %}
|
Loading…
Reference in a new issue