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

如何添加不蒜子来实现网站用户数据统计? #110

Open
storysec opened this issue Jul 28, 2019 · 1 comment
Open

如何添加不蒜子来实现网站用户数据统计? #110

storysec opened this issue Jul 28, 2019 · 1 comment

Comments

@storysec
Copy link

<span> 本站总访问量<span id="busuanzi_value_site_pv"></span>次 </span>| <span> 本站访客数<span id="busuanzi_value_site_uv"></span>人次 </span>
footer.ejs文件中添加了这个代码。
并引入了不蒜子的js文件,但还是不能成功显示出数字来

@linvis
Copy link

linvis commented Jan 5, 2020

footer.ejs

<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    访问量<span id="busuanzi_value_site_pv"></span>,
    访客数<span id="busuanzi_value_site_uv"></span>

本地运行数字会随机显示

deploy之后就可以看到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants