Skip to content

Commit

Permalink
Merge pull request #108 from Tristor/goatcounter-pr
Browse files Browse the repository at this point in the history
Adding in support for GoatCounter privacy respecting analytics.
  • Loading branch information
yoshiharuyamashita authored Feb 7, 2021
2 parents ed55660 + 7f4608d commit ad1e4d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<script src="{{ .Site.BaseURL }}js/ui.js"></script>
<script src="{{ .Site.BaseURL }}js/menus.js"></script>

{{ partial "goatcounter_analytics.html" . }}
{{ partial "google_analytics.html" . }}
{{ partial "piwik_analytics.html" . }}
{{ partial "footer_mathjax" . }}
Expand Down
5 changes: 5 additions & 0 deletions layouts/partials/goatcounter_analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ with .Site.Params.goatcounterAnalytics }}
<!-- GoatCounter -->
<script data-goatcounter="https://{{ . }}.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
{{ end }}

0 comments on commit ad1e4d4

Please sign in to comment.