Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b0e00d7

Browse files
committed
Do not add Google Analytics while local serving
1 parent 011c6c8 commit b0e00d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎_includes/analytics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if site.google_analytics_id %}
1+
{% if site.google_analytics_id and site.serving != true %}
22
<!-- Global site tag (gtag.js) - Google Analytics -->
33
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics_id }}"></script>
44
<script>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /