Skip to content

Commit b64ee70

Browse files
committed
Add GoatCounter analytics
1 parent d5d9026 commit b64ee70

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/views/layouts/application.html.erb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,11 @@
108108
</div>
109109
</div>
110110
</footer>
111+
112+
<%# GoatCounter analytics (privacy-friendly, no cookies) %>
113+
<% if Rails.env.production? %>
114+
<script data-goatcounter="https://<%= ENV.fetch('GOATCOUNTER_SITE', 'specimen-gallery') %>.goatcounter.com/count"
115+
async src="//gc.zgo.at/count.js"></script>
116+
<% end %>
111117
</body>
112118
</html>

0 commit comments

Comments
 (0)