diff --git a/_config.yml b/_config.yml index 479f1eb3d..9cf64aac7 100755 --- a/_config.yml +++ b/_config.yml @@ -529,11 +529,12 @@ rating: # --------------------------------------------------------------- # Show number of visitors to each article. -# You can visit https://leancloud.cn get AppID and AppKey. +# You can visit https://leancloud.cn get AppID,AppKey and ServerURL. leancloud_visitors: enable: false app_id: # app_key: # + server_url: # # Another tool to show number of visitors to each article. # visit https://console.firebase.google.com/u/0/ to get apiKey and projectId diff --git a/layout/_third-party/analytics/lean-analytics.swig b/layout/_third-party/analytics/lean-analytics.swig index 2e8bb98e4..8098f6db8 100644 --- a/layout/_third-party/analytics/lean-analytics.swig +++ b/layout/_third-party/analytics/lean-analytics.swig @@ -1,8 +1,13 @@ {% if theme.leancloud_visitors.enable %} {# custom analytics part create by xiamo #} - - + + +