Skip to content

Commit 47a9197

Browse files
Remove leancloud_visitors
1 parent ffc0053 commit 47a9197

1 file changed

Lines changed: 0 additions & 53 deletions

File tree

source/docs/third-party-services/statistics-and-analytics.md

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -112,59 +112,6 @@ plausible:
112112

113113
### Counting Tools
114114

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-
![LeanCloud](/images/valine-1.png)
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-
![LeanCloud](/images/valine-2.png)
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.
154-
leancloud_visitors:
155-
enable: true
156-
app_id: #<app_id>
157-
app_key: #<app_key>
158-
# Required for apps from CN region
159-
server_url: # <your server url>
160-
# Dependencies: https://github.com/theme-next/hexo-leancloud-counter-security
161-
# If you don't care about security in lc counter and just want to use it directly
162-
# (without hexo-leancloud-counter-security plugin), set the `security` to `false`.
163-
security: true
164-
```
165-
<!-- endtab -->
166-
{% endtabs %}
167-
168115
#### Firebase
169116

170117
Firebase Analytics provides the functionality of visitor statistics.

0 commit comments

Comments
 (0)