Skip to content

Commit

Permalink
chore: enable analytics on staging (#1279)
Browse files Browse the repository at this point in the history
- enable analytics on staging
- switch to custom domain
  • Loading branch information
moul committed Oct 22, 2023
1 parent 5cf3c71 commit a3bdd2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gno.land/cmd/gnoweb/views/funcs.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@
{{- define "analytics" -}}
{{- if .Data.Flags.WithAnalytics -}}
<!-- 100% privacy-first analytics -->
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
<script async defer src="https://sa.gno.services/latest.js"></script>
<noscript><img src="https://sa.gno.services/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
{{- end -}}
{{- end -}}

Expand Down
1 change: 1 addition & 0 deletions misc/deployments/staging.gno.land/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ services:
- --help-chainid=staging
- --help-remote=staging.gno.land:36657
- --views-dir=./gno.land/cmd/gnoweb/views
- --with-analytics
volumes:
- "./overlay:/overlay:ro"
links:
Expand Down

0 comments on commit a3bdd2b

Please sign in to comment.