Skip to content

A robust Wordpress plugin that will allow real time hit counting that does not trip up when used with a cache plugin

Notifications You must be signed in to change notification settings

dano1066/Wordpress-Ajax-Post-Hit-Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress Ajax Post Hit Counter

This is a robust plugin for Wordpress that allows you to track real time page views without any impact on page load speed and will not be interfered with when you are using any of the popular cache engines.

This plugin works by using a piece of jquery that will trigger once the page has fully loaded. This means that the hit isnt counted until the user has viewed the page. This will prevent any fake views and any false hits. Once the page is loaded the hit count will be sent back to your Wordpress site where it gets added onto your posts total hits and onto your daily hit count.

From the main dashboard, you will be able to see a graph of your daily view statistics with a nice bar graph. You will then see the most popular posts of the day based on the number of hits.

dashboard graph

Cache plugins will not interfere with this plugin as the hit is counted by javascript. This content gets saved in the cache copy of the page and will be triggered as normal when the page loads.

This plugin has been tested and works with multisites.

Install

You can install this plugin by copying the contents of the repo into wp-content/plugins/dx2-post-hit-counter/. Alternatively you can install this via the Wordpress plugin repository. You can find this by searching from the plugin store on your wordpress site, or from downloading the zip from the public Wordpress repo.

About

A robust Wordpress plugin that will allow real time hit counting that does not trip up when used with a cache plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published