FlagCounter被博客园禁用的解决方法
source link: https://geekplayers.com/replace-flag-counter.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
FlagCounter被博客园禁用的解决方法
自从博客园禁用大家常用的ip访问统计插件flag counter后,相信大家多少会有点不太适应。
大白试用了各种类似于flagcounter的工具,发现有两个主要的备选方案,即Tracemyip.org
和clustrmaps.com
,接下来大白就详细说说具体的用法。
1. Tracemyip.org
首先,注册账号 https://www.tracemyip.org/members/index.php?page=spm_checkout&type=ssub&ntc=1,类型选”Level 1 Free”
然后拖到页面下方,点”Sign up”
接下来,进入页面:
相应短链为: https://d.oo14.com/bNQc
不登录时,得到的是:
填完信息时,会要求填email,然后登陆即可~
代码类型选用:
HTML Code - Compatibility Mode 1
由于我的博客园博客是www.cnblogs.com/enjoy233,所以相应地url需要填: www.cnblogs.com/enjoy233
.
得到代码后,贴到博客园设置后台的博客侧边栏公告中:
比如,我的是:
<div style="line-height:16px;text-align:center;">
<a title="Joomla hits ip traffic statistics"
href="https://www.tracemyip.org/tools/website-visitors-counter-traffic-tracker-statistics/">
<img src="//s3.tracemyip.org/tracker/1500~1597898865~14*2~0F5999*F7FFE6*537899*000000~1*1*0*1*1/4684NR-IPIB/54026/11/njsUrl/"
alt="Joomla hits ip traffic statistics" style="border:0px;">
</a>
</div>
效果图如下:
2. clustrmaps.com
注册账号: https://clustrmaps.com/bl/signup
创建Widget: https://clustrmaps.com/add
填入自己的博客园博客地址,比如我的是:
https://www.cnblogs.com/enjoy233/
然后点”next”按钮即可得到代码:
<a href="https://clustrmaps.com/site/1bcz5" title="Visit tracker"><img
src="//www.clustrmaps.com/map_v2.png?d=Z5dh85VLcC8BLff99dwZ0SHJUomU2T_XMP-WbIcG2wY&cl=ffffff"></a>
接下来,将红线框出部分的代码贴到博客园后台的博客侧边栏公告中:
保存代码,就可以看到效果了~
接下来,二选一即可,大功告成~
- 本文作者:极客玩家大白
- 本文链接:https://geekplayers.com/replace-flag-counter.html
- 郑重声明:本文为博主原创或经授权转载的文章,欢迎转载,但转载文章之后必须在文章页面明显位置注明出处,否则保留追究法律责任的权利。如您有任何疑问或者授权方面的协商,请留言。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK