Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I need to track number of visits of my publication, but site allows only to insert images, and no javascript.

I would like to insert white 1x1 pixel image.

Are the any internet services which provide such functionality and count number of visits via such approach?

P.S. I am not sure that this site is correct place to ask my question. In such case I will be very appreciate if you direct me to right location

share|improve this question

2 Answers 2

Ultimately, Google Analytics does exactly the same thing, however, the image URL is created using Javascript.

If you really, really wanted to use Google Analytics for your site, (albeit with limited functionality) you might take a look at Troubleshooting The Tracking Code to see how the image URL works - here's the bare minimum to push data to Google:

http://www.google-analytics.com/__utm.gif?
utmhn=<hostname>&
utmac=<google acct id>

So if your hostname were "mydomain.com" and your Google account ID were "UA-123ABC-99" then you could use the following image URL on your site:

http://www.google-analytics.com/__utm.gif?utmhn=mydomain.com&utmac=UA-123ABC-99

This limited implementation should allow you to track per-page statistics, unique/returning visitors, and more (you'll be missing any Javascript-enabled features, though - including event tracking).

share|improve this answer

I believe Extreme Tracking uses only an image - it's free and the stats are quite useful. You could resize/hide the button, however, there is a chance it could be against their TOS to do that.

share|improve this answer
    
I already implemented simple counter myself. It is really unexpected that I was not able to find what I wanted - this is so simple functionality. –  sergtk Oct 12 '10 at 21:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.