This repository was archived by the owner on Sep 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ url: "https://food-limit.github.io"
11
11
# data-ad-client: ca-pub-ABCD
12
12
# google_ad_client: ca-pub-7380281265540998
13
13
14
- google_analytics : " UA-113243461-1"
15
14
# addthis_id: ra-xxxxxxxxxxxx
16
15
# disqus_account: xxxxxx
17
16
Original file line number Diff line number Diff line change 24
24
<!-- Theme JavaScript -->
25
25
< script src ="js/new-age.min.js "> </ script >
26
26
27
- {% if site.google_analytics %}
28
- < script type ="text/javascript ">
29
- var _gaq = _gaq || [ ] ;
30
- _gaq . push ( [ '_setAccount' , '{{ site.google_analytics }}' ] ) ;
31
- _gaq . push ( [ '_trackPageview' ] ) ;
32
- ( function ( ) {
33
- var ga = document . createElement ( 'script' ) ;
34
- ga . type = 'text/javascript' ;
35
- ga . async = true ;
36
- ga . src = ( 'https:' == document . location . protocol ? 'https://ssl' : 'http://www' ) + '.google-analytics.com/ga.js' ;
37
- var s = document . getElementsByTagName ( 'script' ) [ 0 ] ;
38
- s . parentNode . insertBefore ( ga , s ) ;
39
- } ) ( ) ;
27
+ <!-- Google tag (gtag.js) -->
28
+ < script async src ="https://www.googletagmanager.com/gtag/js?id=G-BNZE96EFVM "> </ script >
29
+ < script >
30
+ window . dataLayer = window . dataLayer || [ ] ;
31
+ function gtag ( ) { dataLayer . push ( arguments ) ; }
32
+ gtag ( 'js' , new Date ( ) ) ;
33
+
34
+ gtag ( 'config' , 'G-BNZE96EFVM' ) ;
40
35
</ script >
41
- {% endif %}
You can’t perform that action at this time.
0 commit comments