You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/docs/third-party-services/statistics-and-analytics.md
-53Lines changed: 0 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,59 +112,6 @@ plausible:
112
112
113
113
### Counting Tools
114
114
115
-
#### LeanCloud (China)
116
-
117
-
Adding article reading times counting to NexT theme. Documentation how to set the counter up and running safely aviable in [hexo-leancloud-counter-security](https://github.com/theme-next/hexo-leancloud-counter-security).
118
-
119
-
{% tabs leanCloud-counter %}
120
-
<!-- tab Get App Keys → -->
121
-
1. Create an account or log in to [LeanCloud](https://console.leancloud.app/login), and then click the button to create an application in [dashboard](https://console.leancloud.app/apps).
122
-

123
-
2. Go to the application you just created, select `Settings → App Keys` in the lower left corner, and you will see your APP ID and APP Key.
124
-

125
-
<!-- endtab -->
126
-
127
-
<!-- tab Installation → -->
128
-
Install `hexo-leancloud-counter-security` by executing the following command in {% label info@site root dir %}:
129
-
130
-
```bash
131
-
npm install hexo-leancloud-counter-security
132
-
```
133
-
<!-- endtab -->
134
-
135
-
<!-- tab Hexo Config → -->
136
-
Edit {% label info@Hexo config file %} and add following content:
137
-
138
-
```yml Hexo config file
139
-
leancloud_counter_security:
140
-
enable_sync: true
141
-
app_id: <your app id>
142
-
app_key: <your app key>
143
-
username: <your username> # Will be asked while deploying if is left blank
144
-
password: <your password> # Recommmended to be left blank. Will be asked while deploying if is left blank
145
-
```
146
-
<!-- endtab -->
147
-
148
-
<!-- tab NexT Config -->
149
-
Edit {% label primary@NexT config file %} and fill options under `leancloud_visitors` section.
150
-
151
-
```yml NexT config file
152
-
# Show number of visitors to each article.
153
-
# You can visit https://www.leancloud.cn get AppID and AppKey.
0 commit comments