File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ const siteConfig = {
100
100
"/js/code-block-buttons.js" ,
101
101
"//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.3/highlight.min.js" ,
102
102
"/js/start_highlight.js" ,
103
+ "https://www.googletagmanager.com/gtag/js?id=G-0V7XX3QG4C" ,
104
+ "/js/analytics.js" ,
103
105
] ,
104
106
stylesheets : [ "/css/code-block-buttons.css" , "/css/sphinx_basic.css" ] ,
105
107
@@ -108,8 +110,6 @@ const siteConfig = {
108
110
// No .html extensions for paths.
109
111
cleanUrl : true ,
110
112
111
- gaTrackingId : "G-0V7XX3QG4C" ,
112
-
113
113
// Open Graph and Twitter card images.
114
114
ogImage : "img/T.png" ,
115
115
twitterImage : "img/T.png" ,
Original file line number Diff line number Diff line change
1
+ window . dataLayer = window . dataLayer || [ ] ;
2
+ function gtag ( ) {
3
+ dataLayer . push ( arguments ) ;
4
+ }
5
+ gtag ( "js" , new Date ( ) ) ;
6
+ gtag ( "config" , "G-0V7XX3QG4C" ) ;
You can’t perform that action at this time.
0 commit comments