Skip to content

Commit 9c80e56

Browse files
committed
Add: ga plugin
1 parent 5721ecb commit 9c80e56

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

book.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"plugins": ["theme-darkblue", "addcssjs", "highlight-1", "custom-favicon", "forkmegithub", "sitemap-general", "sitemap"],
3-
"pluginsConfig": {
2+
"plugins": ["theme-darkblue", "addcssjs", "highlight-1", "custom-favicon", "forkmegithub", "sitemap-general", "sitemap", "ga"],
3+
"pluginsConfig": {
44
"sitemap-general": {
55
"prefix": "https://typescript-kr.gitbooks.io/"
66
},
7-
"addcssjs": {
8-
"css": ["assets/css/atom-one-dark.css"]
9-
},
7+
"addcssjs": {
8+
"css": ["assets/css/atom-one-dark.css"]
9+
},
1010
"favicon": "assets/images/favicon.ico",
1111
"forkmegithub": {
1212
"url": "https://github.com/typescript-kr/typescript-kr.github.io",
@@ -17,6 +17,9 @@
1717
},
1818
"sitemap": {
1919
"hostname": "https://typescript-kr.github.io/"
20+
},
21+
"ga": {
22+
"token": "UA-99001722-6"
2023
}
21-
}
24+
}
2225
}

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"gitbook-plugin-custom-favicon": "^0.0.4",
99
"gitbook-plugin-favicon": "^0.0.2",
1010
"gitbook-plugin-forkmegithub": "^2.2.0",
11+
"gitbook-plugin-ga": "^2.0.0",
1112
"gitbook-plugin-highlight-1": "^2.0.3",
1213
"gitbook-plugin-sitemap": "^1.2.0",
1314
"gitbook-plugin-sitemap-general": "^0.1.1",

0 commit comments

Comments
 (0)