I think I tried all possible ways so far and I cannot do it. I can track images etc fine, but not mp3s… how weird.
I cannot track link clicks on mp3 files neither direct links to an mp3. I am not using a special software for the mp3 downloads, they are just <a href="… links to files in a specific directory.
I tried to “Force a click on a link to be recorded as a download in Piwik” with no success. I tried the following classes:
I also tried creating a goal with all possible settings and I cannot do it.
Is it something simple that I am not doing or do I really need to pass the downloads through some software with php code ? I used a software like this in the past and removed it for better… (supposed)…
any help on this appreciated,… would be damn excellent to track downloads.
cheers
just noticed a visit (maybe you) with linux from usa, entering the page I gave and indeed showed that clicked on the mp3, and the goal worked too.
So I tested further and I found out that I can only see the mp3 download clicks and mp3 goal when using Firefox or IE, and not when using Google Chrome, Opera or Safari.
yes target="_blank" made tracking from those browsers possible now. thanks for this tip !
I suppose hitting the mp3 url directly will never give stats unless using a download software on the site right ?
Just a little more help from u please with regular expressions. I wanna have 2 different goals for “mp3” and “avi” downloads. I tried these expressions but I think I write them wrong…