File tree 1 file changed +14
-6
lines changed
1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
4
4
< head >
5
- < meta charset ="UTF-8 ">
6
- < title > Document</ title >
7
- < meta http-equiv ="X-UA-Compatible " content ="IE=edge,chrome=1 " />
8
- < meta name ="description " content ="Description ">
9
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0, minimum-scale=1.0 ">
10
- < link rel ="stylesheet " href ="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css ">
11
5
<!-- Global site tag (gtag.js) - Google Analytics -->
12
6
< script async src ="https://www.googletagmanager.com/gtag/js?id=G-XF2VFJPE6C "> </ script >
13
7
< script >
17
11
18
12
gtag ( 'config' , 'G-XF2VFJPE6C' ) ;
19
13
</ script >
14
+ < meta charset ="UTF-8 ">
15
+ < title > Document</ title >
16
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge,chrome=1 " />
17
+ < meta name ="description " content ="Description ">
18
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0, minimum-scale=1.0 ">
19
+ < link rel ="stylesheet " href ="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css ">
20
+
20
21
</ head >
21
22
22
23
< body >
38
39
maxLevel : 4 ,
39
40
subMaxLevel : 4
40
41
}
42
+
43
+ window . $docsify . plugins = [ ] . concat ( function ( hook ) {
44
+ hook . beforeEach ( function collect ( ) {
45
+ gtag ( 'set' , 'page_path' , location . hash ) ;
46
+ gtag ( 'event' , 'page_view' ) ;
47
+ } )
48
+ } , $docsify . plugins )
41
49
</ script >
42
50
43
51
</ body >
You can’t perform that action at this time.
0 commit comments