Hexo: Visitor traffic map|Revolvermaps, clustrmaps, maploco| Static Blog© Revolvermaps

Hexo: Visitor traffic map|Revolvermaps, clustrmaps, maploco| Static Blog

A real-time visitor statistic map widget or visitor traffic map widget is a script that could show the visitor records on the maps. It is fun to see that you remain a trace on the site or notice that someone is visiting this site with you at the same time. For the owner, it could greatly gain a sense of achievement by watching this map and promoting their motivation to update. For static web-pages/blogs, there are few but awesome free-services we can use to decorate our pages.

Please visit JNingWei[1] to see more!

clustrmaps

Where to git the widget: links

It is highly customizable and beautiful. But it runs a little bit slower than I expected.

Effects:

<script type="text/javascript" id="clustrmaps" src="//clustrmaps.com/map_v2.js?d=-i1RAbH-h9aHEmWoLwPcQ5wyiILjE5GhqB9gLn_MTlQ&cl=ffffff&w=a"></script>

2D map:

3D Globe:

maploco

This is the easiest one to create. But it seems you can’t customize it
Locations of Site Visitors

Revolvermaps

Revolvermaps is one of the most popular visitor traffic maps among them since I saw them so frequently.

It can not only show 2D maps but also a 3D globe is supportable.

One thing that bothered me a lot was that I failed to customize it when I inserted it below my profile widget. I thought it was the fault of the revolvermaps. But I find that it works fine when it is present in the post. That means the JS in the profile widget doesn’t work appropriately. By comparing the source of the JS between profile and widget:

There are slight differences between them

Source in Profile:
//rf.revolvermaps.com/w/7/a/a2.php?i=5obi4wthjqz&amp;m=0c&amp;c=f03b11&amp;cr1=ffffff&amp;sx=0&amp;cw=ffffff&amp;cb=3472cd
Source in Posrt:
//rf.revolvermaps.com/w/7/a/a2.php?i=5obi4wthjqz&m=0c&c=f03b11&cr1=ffffff&sx=0&cw=ffffff&cb=3472cd

The raw source is //rf.revolvermaps.com/0/0/7.js?i=5obi4wthjqz&amp;m=0c&amp;c=f03b11&amp;cr1=ffffff&amp;sx=0&amp;cw=ffffff&amp;cb=3472cd

So, I altered it as //rf.revolvermaps.com/0/0/7.js?i=5obi4wthjqz&m=0c&c=f03b11&cr1=ffffff&sx=0&cw=ffffff&cb=3472cd

And them, boon!! It works fine, now! Enjoy~


  1. JNingWei, 2017: 利用 visitor map (访客地图) 统计网站访客) ↩︎

Hexo: Visitor traffic map|Revolvermaps, clustrmaps, maploco| Static Blog

https://karobben.github.io/2021/03/22/Blog/hexo-worldmap/

Author

Karobben

Posted on

2021-03-22

Updated on

2023-06-06

Licensed under

Comments