Track downloads from another host


#1

Hello,
I’m using Piwik to track downloads on my website.

It works fine with files hosted on my main server. But I also have files hosted on another server. These files are downloadable on my main server and I would like to track their downloads.

Is it possible ?


#2

Any idea ?


(Matthieu Aubry) #3

It should work, Piwik will track all file downloads independantly of the servers they are on.


#4

I confirm Piwik do not track downloads from another host. The information is in “Outgoing links” (liens sortants) but not in “Downloads”. And I cannot have custom variables with the outgoing links.


(Matthieu Aubry) #5

Franck, what is the file you are tracking? it should track, except if the extension is not in our list of known files extensions


(vipsoft) #6

In the ambiguous case where it’s an off-site download, it’s treated as an outlink. To override this behaviour, add the attribute

class="piwik_download"

to those downloads.