Track pages without a page view


(cybernet) #1

those kind of pages that when you click them it response with a file

style_emoticons/<#EMO_DIR#>/blink.gif
for example i’m using google analytics for my site
and at every download page i have this link

<a href="download.php?id=e4fd0f59ee7ee928e4cd8c12f6ecd3cb803d49c2&f=Family.Guy.S08E06.Quagmires.Baby.PDTV.XviD-FQM.torrent"onClick="java script:pageTracker._trackPageview('/download/e4fd0f59ee7ee928e4cd8c12f6ecd3cb803d49c2');">x</a>

even so i saw some pages like this in the report
[attachment=491:screen.JPG]
but i want to view them like this
/download/e4fd0f59ee7ee928e4cd8c12f6ecd3cb803d49c2

maybe you can make piwik to “follow commands” like that

sorry for my english style_emoticons/<#EMO_DIR#>/unsure.gif


#2

Most tracking information is on

http://piwik.org/docs/javascript-tracking/

but i didn’t find the proper way to simulate the view of another page when an user click a link.


(vipsoft) #3

For Piwik, try:

<a href="download.php?id=e4fd0f59ee7ee928e4cd8c12f6ecd3cb803d49c2&f=Family.Guy.S08E06.Quagmires.Baby.PDTV.XviD-FQM.torrent" class="piwik_ignore" onclick="java script:pageTracker.trackLink('/download/e4fd0f59ee7ee928e4cd8c12f6ecd3cb803d49c2', 'download'');">x</a>