I am a statistics freak. ;-) So I’m also interested in how many visitors watch my cache listings. For many years, I used the CacherCounter by grafzahl84. Unfortunately, his website and thus the counter is offline now, for 2 years (as of 20.06.2017). Since I liked the design and still like it, I have recreated the counter. I think that there is no hope that the grafzahl84 website or counter will be online again. This is how “my” counter looks in the three available variants:
I would like to make the counter available to other geocachers for their listings. Of course, as the original, without advertising or other frippery…
Here is a short guide on how you can install the counter in your cache listing:
Enable the checkbox “The descriptions below are in HTML” or enable HTML view in your cache listing at Geocaching.com or Opencaching.de, then copy-n-paste from this page, insert the corresponding GC code (instead of GCXXXXX, codes starting with “GC”, “TB”, “PR” and “OC” are allowed) into the counter code. Done!
<p style="text-align:center;"><a href="https://www.sebald.com/en/geocaching/cachercounter/" target="_blank"><img src="https://www.sebald.com/cachercounter/?gc=GCXXXXX" alt="CacherCounter"></a></p>
This will show the counter centered in your listing. If you also want to show the date since you started counting, the code looks like this:
<p style="text-align:center;"><a href="https://www.sebald.com/en/geocaching/cachercounter/" target="_blank"><img src="https://www.sebald.com/cachercounter/?gc=GCXXXXX&created=en" alt="CacherCounter"></a></p>
And in German language with German spelling of the date like this:
<p style="text-align:center;"><a href="https://www.sebald.com/en/geocaching/cachercounter/" target="_blank"><img src="https://www.sebald.com/cachercounter/?gc=GCXXXXX&created=de" alt="CacherCounter"></a></p>
For French and Italian with German spelling of the date please just use fr or it instead of en or de.
One request: Please leave the link to this page in the counter code. This gives other geocachers the opportunity to use the counter without much research. Many Thanks!
- The line with the date can be hidden, see above. The GC code and of course the counter status are always displayed.
- The script only accepts GC codes that begin with “GC” (for Geocaching.com listings), “TB” (for Geocaching.com trackables), “PR” (for Geocaching.com users, for the profile page, see here at the bottom, you can get your own PR code this way) and “OC” (OpenCaching) and are alphanumeric.
- If a GC code exists in the database, the counter is incremented by 1 with each hit.
- If a GC code does not yet exist, it will be created automatically with the first hit and will be started with the count of 1 with the next hit.
- If you want to move from another counter to this one here, you might want to use your previous values (hits and start date). In that case you do the following: You create the new counter with https://www.sebald.com/cachercounter/?gc=GCXXXXX&start=xxx&startdate=YYYY-MM-DD. The parameter start must be numeric, the parameter startdate must be a valid date using the schema YYYY-MM-DD (year-month-day). Both parameters are used only once when the new counter is created and are otherwise ignored. You can also use only one of both parameters when creating a new counter.
- It will only be counted if the new visitor has a different IP address than the last visitor. This prevents the counter value being easily raised by constantly reloading the page.
- Privacy: Nearly nothing is recorded in the database: GC code, counter value, creation date, last referer (to see where the hits originate from, if needed), IP of the last visitor, time of the last visitor
Ideas? Suggestions? Bugs?
Always welcome! The best shot is leaving a comment on this page. But am also available through the contact form.
PS: There are 1383 GC/TB/PR/OC in the database and together they have created a total of 486300 hits. :-)