Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 915 Bytes

File metadata and controls

26 lines (17 loc) · 915 Bytes

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.