Skip to content

Goatcounter stopped working #1569

Closed Answered by kungfux
unbreakabl3 asked this question in Q&A
Feb 28, 2024 · 2 comments · 11 replies
Discussion options

You must be logged in to vote

@unbreakabl3 Meanwhile, analytics can be fixed by adding a new section to configuration:

# Web Analytics Settings
analytics:
  google:
    id: # fill in your Google Analytics ID
  goatcounter:
    id: # fill in your GoatCounter ID

I would also recommend to leave existing analytics configuration untouched until major release.

You may receive errors while trying to publish the site and it will require to override _includes/analytics/goatcounter.html by creating this file:

<!-- GoatCounter -->
<script
  async
  src="https://gc.zgo.at/count.js"
  data-goatcounter="https://{{ site.analytics.goatcounter.id }}.goatcounter.com/count"
></script>

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
6 replies
@kungfux
Comment options

kungfux Feb 29, 2024
Collaborator

@cotes2020
Comment options

@kungfux
Comment options

kungfux Feb 29, 2024
Collaborator

@cotes2020
Comment options

@unbreakabl3
Comment options

Comment options

You must be logged in to vote
5 replies
@unbreakabl3
Comment options

@unbreakabl3
Comment options

@kungfux
Comment options

kungfux Feb 29, 2024
Collaborator

@unbreakabl3
Comment options

@kungfux
Comment options

kungfux Mar 17, 2024
Collaborator

Answer selected by unbreakabl3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants