If you are seeing this message, our style sheet has failed to load. Please try each of the following steps, in order, to fix it:

1) Clear your browser's cache and refresh the page.

2) Wait a few minutes, clear the cache again and refresh (one of our CDN servers may have had a short temporary outage).

3) Try accessing our site from another web browser on the same computer, AND from another computer on the same network. If either of those fixes it, you likely have software such as ad-block or Ghostery installed on the affected browser/computer. Please disable those to see if that fixes the issue.

4) Open a terminal window and type "ping cdn.staticstuff.net". Send us an email with the result.



Forums » Developers



Solution to 'most popular' request!

I have seen a few requests for a way to extract the most popular visitors number or to alert when a spike occurs. The API doesnt quite do it, but I needed this too, so I have written a PHP script which should be easy to install to help people. Hope you find this useful.

I use it on a page with an ajax reload so I can sort of spot a spike...

It looks at the hourly stats from the API then searches for the largest figure, displaying it, and the hour in which it occurred.

Which on its own is useful for an overview
The link it sends back will send you to the array directly

http://stoozing.com/clicky.txt

Posted Thu Mar 29 2012 4:28am by bullivant


Hi Bullivant,

thanks a lot for this useful tool.
Could you please tell me more on how to implement it.
Should I insert it in every pages on my website ? and wherein the page code ?

Cheers

Posted Thu Mar 29 2012 4:56am by refdamien


you can insert it where you like - the top part is the php function - which could insert as a seperate file.
then just call the function as per the second part with your site id and key.

You could use it on any page you want to display a report of the most popular hour of the current day, like a management dashboard

Posted Thu Mar 29 2012 5:40am by bullivant


Hi Bullivant,

Can you provide a website example of where something like this was implemented?

Posted Tue Jul 10 2012 12:47pm by adHereLLC


How can play sparmers if the members are well known the site terms and condition?

Posted Sun Nov 11 2012 7:04am by Sunilg



Reply to this discussion

You must be logged in to your account to post!