How to bypass counter limitation on Piwik


#1

Hi all

I have some needs that bypass counter limitation on Piwik.

For example, if user go to www.abc.com/index.html , then it will have count 1 time .
If user go to www.abc.com/index.html & manual refersh 10 times on his PC, then Piwik can be count 11 times.

How Piwik can do this?

Many Tks!
Hanky


#2

anybody can help ?X(


(vipsoft) #3

I don’t understand your requirements. Why do you want it to count 11 times?


#4

because this is my boss request. We want to count all visitor and their all click action.
Did you have any solution? Many tks!


(vipsoft) #5

edit piwik.js to delete existing cookies and then randomize the visitor id ?

but if you do this, there’s no point using piwik because all your visitor counts are exaggerated


#6

Yes, i know the result will be exaggerated. But is ok because our website just have several PDF file link and want to count the true download rate. I know that if using Piwik then all visitor will be “old visitor” & no count action within 30min. Did you have example code of piwik.js to delete existing cookies and then randomize the visitor id? Many tks for your help!


(vipsoft) #7

You’re better off using a proxy script to serve dowloads and using PiwikTracker on the server side. This won’t distort your stats, works with direct linking (to the proxy), and won’t get overwritten by an update.