CacherCounter

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:

CacherCounter without date CacherCounter with date CacherCounter with English date

Here’s an example of a listing at Geocaching.com and a listing at Opencaching, both including the counter. I think I got pretty close to the original. :-)

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 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>

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!

Notes:

  • 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) 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
  • Thanks!

    Of course, to grafzahl84, whose idea I just picked up without many changes. But also to JR849, because I were able to still get all the information and the graphics of the old counter there.

    Ideas? Suggestions? Bugs?

    Always welcome! The best shot is leaving a comment on this page. But am also available through the contact form.

3 thoughts on “CacherCounter”

  1. Today’s update of the CacherCounter: New counters can be created with starting value greater than 1 (for example, to migrate values from another counter to this one). Updated the post / page above accordingly. Have fun with it! :-)

  2. Today’s update of the CacherCounter: New counters can be created with an individual start date not equal to the current date (for example, to migrate values from another counter to this one here). Updated the post / page above accordingly. Have fun with it! :-)

Leave a Reply

Your email address will not be published. Required fields are marked *