Skip to content

a little Drupal module to provide node access counts for heavily cached sites

Notifications You must be signed in to change notification settings

freistil/dc_pixelaccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrupalCONCEPT Pixel Access Counter

Author

Markus Heurung markus@freistil.it
Sponsored by: freistil IT for hosting at DrupalCONCEPT

Description

a little module, that inserts some Javascript to correct missing node access counter updates when using a reverse proxy like Varnish.

It looks for anonymous sessions and does its work there. But it respects logged in users, where everything should go pass the cache and statistics should normally.

Usage

  1. Just put the module in sites/all/modules, activate it and you should be done.
  2. Activate the Block and put it into the footer.
  3. Put the following line into your robots.txt to prevent accidental access:
    Disallow: /ajax/dc_pixelaccess_stats.php

Credits

This module is based heavily on the boost module, especially its boost_status.php script.

About

a little Drupal module to provide node access counts for heavily cached sites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages