File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ contact_note: >
91
91
# Analytics and search engine verification
92
92
# -----------------------------------------------------------------------------
93
93
94
- google_analytics : # your google-analytics ID (format: UA-XXXXXXXXX )
94
+ google_analytics : # your Goole Analytics measurement ID (format: G-XXXXXXXXXX )
95
95
panelbear_analytics : # panelbear analytics site ID (format: XXXXXXXXX)
96
96
97
97
google_site_verification : # your google-site-verification ID (Google Search Console)
Original file line number Diff line number Diff line change 3
3
< script async src ="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }} "> </ script >
4
4
< script >
5
5
window . dataLayer = window . dataLayer || [ ] ;
6
- function gtag ( ) { dataLayer . push ( arguments ) ; }
6
+ function gtag ( ) { window . dataLayer . push ( arguments ) ; }
7
7
gtag ( 'js' , new Date ( ) ) ;
8
8
gtag ( 'config' , '{{ site.google_analytics }}' ) ;
9
9
</ script >
10
- {%- endif -%}
11
- {%- if site.enable_panelbear_analytics -%}
10
+ {%- endif -%}
11
+ {%- if site.enable_panelbear_analytics -%}
12
12
<!-- Panelbear Analytics - We respect your privacy -->
13
13
< script async src ="https://cdn.panelbear.com/analytics.js?site={{site.panelbear_analytics}} "> </ script >
14
14
< script >
You can’t perform that action at this time.
0 commit comments