Skip to content

Commit

Permalink
Merge pull request #111 from timfanda35/features/disable-ga4-in-local
Browse files Browse the repository at this point in the history
feat(ga4): disalbe ga4 in localhost
  • Loading branch information
timfanda35 authored Sep 8, 2024
2 parents 8651c94 + 18d5ce4 commit 51774c4
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 51774c4

Please sign in to comment.