Skip to content

Commit 51774c4

Browse files
authored
Merge pull request #111 from timfanda35/features/disable-ga4-in-local
feat(ga4): disalbe ga4 in localhost
2 parents 8651c94 + 18d5ce4 commit 51774c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

themes/simplecss/layouts/partials/footer.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@
1818
</div>
1919
</footer>
2020

21-
{{ template "_internal/google_analytics.html" . }}
21+
{{- if not .Site.IsServer -}}
22+
{{ template "_internal/google_analytics.html" . }}
23+
{{- end -}}

0 commit comments

Comments
 (0)