Skip to content

Commit

Permalink
feat(ga4): disalbe ga4 in localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
timfanda35 committed Sep 8, 2024
1 parent 8651c94 commit 18d5ce4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion themes/simplecss/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@
</div>
</footer>

{{ template "_internal/google_analytics.html" . }}
{{- if not .Site.IsServer -}}
{{ template "_internal/google_analytics.html" . }}
{{- end -}}

0 comments on commit 18d5ce4

Please sign in to comment.