Questions tagged [hitcounter]

A web counter or hit counter is a computer software program that indicates the number of visitors, or hits, a particular webpage has received. Once set up, these counters will be incremented by one every time the web page is accessed in a web browser.

A web counter or hit counter is a computer software program that indicates the number of visitors, or hits, a particular webpage has received. Once set up, these counters will be incremented by one every time the web page is accessed in a web browser.

The number is usually displayed as an inline digital image or in plain text or on a physical counter such as a mechanical counter. Images may be presented in a variety of fonts, or styles; the classic example is the wheels of an odometer.

The counter is often accompanied by the date it was set up or last reset, otherwise it becomes impossible to estimate within what time the number of page loads counted occurred.

Some websites have been known to offer prizes to the visitor who makes the web counter roll over to a specific number. Such an event is known as a kiriban.

Source:http://en.wikipedia.org/wiki/Web_counter

109 questions
0
votes
2 answers

php/mysql classifieds view counter by date

Im building a classifieds website of adverts where I want to store a count of the number of views of each advert which I want to be able to display in a graph at a later date by day and month etc.. for each user and each of their adverts. Im just…
user1052096
  • 853
  • 4
  • 13
  • 23
0
votes
3 answers

how to keep a counter hashmap in gwt applicatoin

I am working on storing different user counters in memory at application level (not database) and to have counters to atmost 3. I developed this code using a singleton class with hashmap to store a key value pair of user id and and it's counter and…
user1430003
  • 29
  • 2
  • 8
0
votes
1 answer

php form submit counter

So I've made an extremely simple 4 page static webpage for this client with a quick contact form handled by php. Everything goes swimmingly. Then the client comes to me and requests that he is able to see a counter of how many submits have been…
AlexMorley-Finch
  • 6,785
  • 15
  • 68
  • 103
0
votes
0 answers

Design a thread-safe Hit Counter

I have designed a Hit Counter which can conveniently be used to design a Rate Limiter Original question: https://leetcode.com/problems/design-hit-counter/ To make it thread safe, I used lock statement. public class HitCounter { private readonly…
Daniel B
  • 3,109
  • 2
  • 33
  • 42
0
votes
1 answer

hit counter - technology is irrelevant - whats best to use?

whats the best free hit counter? preferably one without ads. I dont mind what technology is used i.e php / java etc. I also dont mind attempting my own if someone can point me in the right direction for one. Please dont suggest the log as I do need…
Bob
  • 95
  • 1
  • 2
  • 6
0
votes
1 answer

Best way to implement article view count in Laravel?

I have a dilemma. I need to implement most read article in my API laravel app based on view count of the article. In my article table I have view_count column. Is it ok that I do this on my show method public function show($id) { $article =…
Emia
  • 55
  • 8
0
votes
2 answers

Can you use decrement/increment operator but skip 0 in JavaScript just like how continue works?

I have here a number counter code where it has increment and decrement buttons. Whenever you click a button, it does its job of incrementing and decrementing the value of the input. // =number_counter function decrement(e) { …
Jumar Juaton
  • 51
  • 11
0
votes
0 answers

how to make a vistor counter with html and js

i would like to count all the people that come to my website and display it on my page, i have researched visitor counters but they only seem to count me going to the website not all the people (from other computers). I dont have any code (on the…
user15343564
0
votes
2 answers

Counting page views for a User uploaded PDF in Django

I have a webapp where a user can upload a pdf. I want to be able to see how many times the PDF is viewed by other user, all of which would be anonymous users. At the moment I didn't have to write a view to view the PDF, in the 'view PDF' button i…
bruzza42
  • 393
  • 2
  • 13
0
votes
0 answers

'Old fashioned' hit counter

I can't even believe I'm asking this but I've recently moved a client over from their old website platform, circa 2011 which had their blog on blogger - one of the features being a hit counter of pageviews or visits. Everything is now on wordpress,…
squidgy87
  • 11
  • 1
0
votes
1 answer

Django hitcount order_by("hit_count_generic__hits") gives error on PostgreSQL database

I was using django-hitcont to count the views on my Post model. I am trying to get the most viewed post in my ListView using this query objects.order_by('hit_count_generic__hits') and it is working fine on SQLite but on PostgreSQL, it is giving me…
0
votes
1 answer

Hit Count/Page View Functionality Django App

The question has been asked, and most suggest using django-hitcount. https://pypi.org/project/django-hitcount/ I tried that solution. But that solution is for python 2 use. Not python 3 use. Trying that solution I ran into the error described in…
Ironman
  • 165
  • 3
  • 12
0
votes
1 answer

Django Hit Count ImportError

I am trying to use the django hitcount, and I am following the only tutorial out there for it https://django-hitcount.readthedocs.io/en/latest/installation.html, and I am getting stuck on step 2--adding hitcount to the list of installed apps. When I…
Ironman
  • 165
  • 3
  • 12
0
votes
1 answer

how implement an efficient visits counter per page?

how implement an efficient visits counter per page? I've marketplace platform, but not a visits counter per product page, then, this is my question. what's is the better algorithm for implement this? I not think that this alghoritm is the better…
Thiago Freitas
  • 399
  • 1
  • 4
  • 5
0
votes
2 answers

How to implement hit counter with light box

I want to count the number of hit on an image and also the image will show in a lightbox. here is my code: //image-show-content.php