Skip to content

Commit fb94be0

Browse files
committed
🔥 移除 51la 和 cnzz 统计插件
1 parent 8ab2eed commit fb94be0

File tree

3 files changed

+0
-32
lines changed

3 files changed

+0
-32
lines changed

_config.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -267,16 +267,6 @@ web_analytics:
267267
sid:
268268
cid:
269269

270-
# 51.la 站点统计 ID
271-
# 51.la analytics
272-
# See: https://www.51.la/user/site/index
273-
woyaola:
274-
275-
# 友盟/cnzz 站点统计 web_id
276-
# cnzz analytics
277-
# See: https://web.umeng.com/main.php?c=site&a=show
278-
cnzz:
279-
280270
# LeanCloud 计数统计,可用于 PV UV 展示,如果 `web_analytics: enable` 没有开启,PV UV 展示只会查询不会增加
281271
# LeanCloud count statistics, which can be used for PV UV display. If `web_analytics: enable` is false, PV UV display will only query and not increase
282272
leancloud:

layout/_partials/footer.ejs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,4 @@
1111
<!-- 备案信息 ICP for China -->
1212
<%- partial('_partials/footer/beian.ejs') %>
1313
<% } %>
14-
<% if(theme.web_analytics.cnzz) { %>
15-
<!-- cnzz Analytics Icon -->
16-
<span id="cnzz_stat_icon_<%= theme.web_analytics.cnzz %>" style="display: none"></span>
17-
<% } %>
1814
</div>

layout/_partials/plugins/analytics.ejs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -64,24 +64,6 @@
6464
</script>
6565
<% } %>
6666
67-
<% if(theme.web_analytics.woyaola) { %>
68-
<!-- 51.la Analytics -->
69-
<script async>
70-
if (!Fluid.ctx.dnt) {
71-
Fluid.utils.createScript('//js.users.51.la/<%= theme.web_analytics.woyaola %>.js');
72-
}
73-
</script>
74-
<% } %>
75-
76-
<% if(theme.web_analytics.cnzz) { %>
77-
<!-- cnzz Analytics -->
78-
<script async>
79-
if (!Fluid.ctx.dnt) {
80-
Fluid.utils.createScript('//s4.cnzz.com/z_stat.php?id=<%= theme.web_analytics.cnzz %>&show=pic');
81-
}
82-
</script>
83-
<% } %>
84-
8567
<% if(theme.web_analytics.leancloud && theme.web_analytics.leancloud.app_id && theme.web_analytics.leancloud.app_key) { %>
8668
<% import_js(theme.static_prefix.internal_js, 'leancloud.js', 'defer') %>
8769
<% } %>

0 commit comments

Comments
 (0)