Google Analytics without Javascript



Do you want to use Google Analytics in your website, but you want to support:
  • Mobile Users
  • Users with javascript disabled (NoScript users).
Or you want to track visits using Google Analytics on sites like:

  • BBS (Forums, phpBB, SMF, vBB) track your posts modifying your signature (bbcode).
  • Emails track your email views using google analytics.
  • eBay, craiglists, etc.. see who visits your posts.
Are you tired of very bad image / counter based statistics? You want to use google analytics?

Well, you can do it very easily with NoJSStats.

NoJSStats uses Google App Engine, and is a free public service that allows you to track your visitors using just an image, CSS background, or anything that allows external resource requests in the website you want to track.


Just point an image to the site with your account details, and you are good to go!

The format of the URL in the public service is:

http://nojsstats.appspot.com/your-google-analytics-user-account/your-website.com

For example:

http://nojsstats.appspot.com/UA-123456/your-website.com

Example (HTML code):
<img src="http://nojsstats.appspot.com/UA-123456/mywebsite.com" />

Example (BBCode):
[img]http://nojsstats.appspot.com/UA-123456/mywebsite.com[/img]

Example (CSS code):
body{
background: url("http://nojsstats.appspot.com/UA-123456/mywebsite.com");
}


Important Notice:
If your website uses SSL, you have to point to our SSL version:
httpS://nojsstats.appspot.com/UA-123456/yourwebsite.com

Only use the SSL version if your website uses SSL.

Why referrers are not working correctly?
Since your browser wont send to the image the website that requested the serving page, you have to tell our service what's the referrer manually.
You can do that using the "r" HTTP GET argument.
http://nojsstats.appspot.com/UA-123456/website.com?r=http://www.the-referrer.com/

Hey! I'm getting my users IP addresses, wow!
Yes, we send your visitor IP address as "User Supplied Value".. :)

Something is broken! FIX IT!
Hey, if the service suddenly stops working or starts sending wrong data, you can let me know, but in general I'm not a callcenter/emailcenter/customer support/whatever.

If you have problems with your google account use Google's support channels:


Also, you could try stop using this service (if you think that's causing any problems).

The fact that you donated, makes a lot of users grateful with you, but doesn't imply any type of warranty or anything.

Greetings!!

67 comments:

  1. Thaks for you service!

    Just a questions, from a newbie: I'd change "mywebsite.com" with the address of my site in the google analytics profile?

    Cristiano

    ReplyDelete
  2. <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="https://nojsstats.appspot.com/UA-123456/example.com"/>
    </div>

    ReplyDelete
  3. Is it possible to set up links using UTM/campaign tags from the Google URL Builder tool?

    ReplyDelete
  4. Thanks for this. Might be the solution to my problems. I'm using this on a asian blog platform that has put restrictions on most things. I snuck it in there using it in one of the blog posts. Can I add this to the end of each post to ensure it's always on the first page or will that mess things up?

    ReplyDelete
  5. You rock!! This is fantastic. I'm now able to track my Squidoo lenses (pages) using Google Analytics.

    ReplyDelete
  6. just added to my page but GA status still says "Tracking not installed". How do we get GA to recognize the installation? thanks.

    ReplyDelete
  7. Hello, the service seems to be great. However, in my case is showing the same information for visits and pageviews. I dont know if something is broken. Just to let you know

    ReplyDelete
  8. Will it track all values like the javascript enable site using the ga.js?

    ReplyDelete
  9. Many of us know that Google analytics was made without the javascript but how and all is unknown.Ur post made a clear view on it.
    Cheers !
    web design company

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Cool man, thank you for this. This seems like you could use it in an ebay ad then right? Ebay allows a little javascript now but the Google code wont go. Has anyone tried this on ebay or craigslist?

    Thanks again
    Discounted Laptop Parts

    ReplyDelete
  12. This is a really great idea. Do you also provide user-agent through to google analytics? And do you collect the data yourself for any purpose?

    ReplyDelete
  13. Use this site Free Likes to promote every pages of your website on Facebook Google, Twitter and LinkedIn.

    ReplyDelete
  14. Hey, just curious
    if you visit a page that has this code multiple times like 3 times in a minute, is it supposed to show in GA 3 hits?
    I dont see 3 hits in the Real Time section but only the 1st one.

    Also I'm using the https link... I see in Firefox's Net tab the request that comes back:
    http://www.google-analytics.com/__utm.gif?...
    Should this image url be https instead of http?
    IE doesn't complain though, usually it complains about mixed content if you have http:// on an https:// page so not sure its an issue.

    In the future would be cool to do something like Google's _trackPageview so you can have a page that's called 'welcome.html' and also when there's no JS set it so I set it manually to like '/welcome-no_js.html' to act as a counter. Right now I have to do the opposite, if the page has JS, then set it manually via Google's JS to '/welcome-has_js.html' since can't override with NoJSStats

    ReplyDelete
  15. Thank's....but just one question :
    Where I Must Put This Code on my Site ?

    ReplyDelete
  16. thanks. It works well and delivered as expected on my site

    ReplyDelete
  17. Your article helped me to understand the topic well and I would love to share this to my friends. I also love to
    Get Facebook Likes
    Free Facebook Likes
    Get Twitter Followers
    Free Twitter Followers
    Get YouTube Subscribers
    Get Website Traffic
    Get Google Plus Votes
    Free Facebook Subscribers
    Free Google Plus Votes
    Thank you for this and all the best.

    ReplyDelete
  18. I run a ning..having a little trouble trying to figure out which code and where to put it, exactly. I have a revolve map on the main page, and any traffic generated through (10khits) does not register.

    Any ideas?

    ReplyDelete
  19. thnax for it. it seems good so m go to put code

    www.googleservices.co.in

    ReplyDelete
  20. I can't seem to get this to work. I'm using the service to append views to my RSS feed, and even though the IMG tag is there, it's not registering anything in my Google Analytics account. Any ideas?

    Here's an example request:
    http://nojsstats.appspot.com/UA-417185-1/technabob.com/RSS/Hasbro+Launches+Short+Attention+Span+Version+of+Monopoly

    ReplyDelete
  21. I just noticed that this service and the utm.gif documentation seem to just want the host name sent. How can I set the utmp parameter so I can pass through a specific page URL or descriptive value to identify individual pieces of content?

    ReplyDelete
  22. thank you for sharing this useful tool that will help the webers increasing their ranks

    free online games

    ReplyDelete
  23. i like this info
    thanks.. good job..
    Google Analytics without JavaScript free Service

    ReplyDelete
  24. Get amazing guides and tricks over here:
    ayubachipie.blogspot.com

    ReplyDelete
  25. Hi
    I read this post two times.
    I like it so much, please try to keep posting.
    Let me introduce other material that may be good for our community.
    Microsoft dynamics training

    ReplyDelete
  26. Fantastic article ! You havemade some very astute statements and I appreciate the the effort you have put into your writing. Its clear that you know what you are writing about. I am excited to read more of your sites content.

    Latest jobs

    ReplyDelete
  27. I can see that you are are genuinely passionate about this! great information.
    thank you...!
    Hadoop training

    ReplyDelete
  28. As far as I am concerned this is just a crappy trick!
    10K doesn't give clicks if Google Analytics doesn't pick it up. That's it full stop.
    Don't kid yourselves guys this is a just a trick done with a bit of script to make you believe your are getting hits.

    ReplyDelete
    Replies
    1. Sadly I must agree. Trying 4 different trackers, only 85 kits confirmed from 10k not 80k+

      Delete
  29. PULSA MURAH MERIAH,DISTRIBUTOR PULSA DAN PPOB TERMURAH DAN TERLENGKAP DI INDONESIA
    Pendaftaran GRATISS !!!
    Kunjungi https://bitly.com/HEj5Dm

    ReplyDelete
  30. nice info,, thanks

    http://loadhp.blogspot.com/

    ReplyDelete
  31. Well from the 80k+ hits claimed to have received? NOT 1 tracker except Vista found actual hits. They only found 85 actual hits from 10k in the past year.

    ReplyDelete
  32. Classifieds are perfect for selling just about anything at all.
    Here you can sell and buy anything under the sun including both novel and used products.
    Get more with free advertising at postallads4free.com

    ReplyDelete
  33. Tech Support PPC provides expert PPC services for almost all business categories and from all various verticals including travel and technology with focus on ppc for technical support.

    ReplyDelete
  34. Hi,
    Does the https version work at the moment? When I use the https version, it loads an http url, which cannot be served on my secure pages without my users seeing a security warning.
    Thanks in advance for your help,
    Katherine

    ReplyDelete
  35. Does this work? I have put the code as described in my CSS background and get no reslut's in my Google Analytics account.

    Please respond,

    Thanks,

    ReplyDelete
  36. I got it working, but when I add ?r=XXX to the image, I still as DIRECT in Google analytics.

    I'm using this source for my eBay listings.

    Please help guys,

    Really stuck here...

    ReplyDelete
  37. To the author of nojsstats. We are really interested to ask for your help for our project regarding tracking analytic. It would be great if you can email me (nell aaatttt sf-en dottt ccoomm) or give me your contact info for me to contact. Just FYI, our business is in eCommerce industry and rely heavily on tracking. Some of our store called 360hdmi (I don't want to give the link here as it would be spam). Nevertheless please contact me, thanks

    ReplyDelete
  38. In addition, I don't see any link to donate for this tools. Would love to donate :)

    ReplyDelete
  39. Very Useful Info. Searching for this online all the day. Thank you.

    Free Steam Game Codes

    ReplyDelete
  40. It was very nice article and it is very useful to Javacript learners.We also provide Cub training software online training.

    ReplyDelete
  41. This was a useful post and I think it's fairly easy to see in the other reviews, so this post is well written and useful. Keep up the good work.
    Analytics Training

    ReplyDelete
  42. is there an issue with nojsstats.appspot.com, im getting a broken image link

    ReplyDelete
  43. Unknown and jsprog342 are correct, this service doesn't work. Anyone reading this before trying it out? Don't waste your time, no one's maintaining this any more (nor did they bother to update the text).

    ReplyDelete
  44. Unknown and jsprog342 are correct, this service doesn't work. Anyone reading this before trying it out? Don't waste your time, no one's maintaining this any more (nor did they bother to update the text).

    ReplyDelete
  45. Hello all, i just want to know if this service is still functional. I tried using this on my website, but it throws an UNcaught SecurityError saying it blocked a frame of origin "https://api.google.com" from accessing a frame with origin "http://my-website.com". It says the protocols must match. My website currently has no SSl certificate, so how do i solve this?

    ReplyDelete
  46. I am regular reader of your blog and no doubt it all stuff is awesome. The best thing about your sharing and posting is that you always provide content that is helpful for both the newbie and experts. Looking for more stuff and tutorials.

    Love from Bloggers Town

    ReplyDelete
  47. I really appreciate your article. the post has excellent tips which are useful. this post is good in regards of both knowledge as well as information.clickperfect

    ReplyDelete
  48. This blog is having the general information. Got a creative work and this is very different one.We have to develop our creativity mind.This blog helps for this. Thank you for this blog. This is very interesting and useful.
    PHP Training in Chennai

    ReplyDelete
  49. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us
    Analytics Training in Chennai

    ReplyDelete
  50. Thanks for sharing this amazing information about Digital Marketing, which is helpful for new Digital marketing learner.

    ReplyDelete



  51. Thanks i like your blog very much , i come back most days to find new posts like this!Good effort.I learnt it


    Mobile & Analytics

    ReplyDelete
  52. Thanks for sharing your fabulous idea. This blog is really very useful.
    Google Analytics Course

    ReplyDelete
  53. Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting.
    do follow backlinks

    ReplyDelete

Comments? Suggestions?

Google Analytics without JavaScript for tracking emails, forums, mobile devices with Google Analytics