Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

51.la 统计代码需要更新 #1033

Closed
zhuxiucai opened this issue Dec 20, 2023 · 0 comments
Closed

51.la 统计代码需要更新 #1033

zhuxiucai opened this issue Dec 20, 2023 · 0 comments
Labels
🐛 bug Unexpected problem or unintended behavior

Comments

@zhuxiucai
Copy link

51.la 统计代码过时的

hexo-theme-fluid/layout/partials/plugins/analytics.ejs

<% if(theme.web_analytics.woyaola) { %>

<script async>
!function(p){"use strict";!function(t){var s=window,e=document,i=p,c="".concat("https:"===e.location.protocol?"https://":"http://","sdk.51.la/js-sdk-pro.min.js"),n=e.createElement("script"),r=e.getElementsByTagName("script")[0];n.type="text/javascript",n.setAttribute("charset","UTF-8"),n.async=!0,n.src=c,n.id="LA_COLLECT",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:"<%= theme.web_analytics.woyaola.id %>",ck:"<%= theme.web_analytics.woyaola.ck %>"});
</script>
<% } %>

@zhuxiucai zhuxiucai added the 🐛 bug Unexpected problem or unintended behavior label Dec 20, 2023
@zkqiang zkqiang closed this as completed Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants