PHP rather than JS


(WillScott) #1

Hi,

First of all, can I just say how great I’m finding Piwik having recently replaced Google Analytics - I look forward to seeing how it develops over the coming months & years. style_emoticons/<#EMO_DIR#>/smile.gif

Is there any way to call the tracking scrip by PHP rather than Javascript?
The reason for this is simple - I want to be able to use a header redirect while still tracking impressions.

I believe that the majority of the processing is done by PHP anyway and I’d appreciate any advice / (code if necessary) that anyone can give me in manually calling it.

With regards,

Will Scott


(vipsoft) #2

There’s an open ticket to implement server side tracking directly.

In the interim, you can look into using the ‘redirect’ parameter. See example in config/global.ini.php.