PDA

View Full Version : What is the line that we add to track downloads?


Car Guy
02-25-2008, 07:08 PM
Hello Statcounter development team :-D

I have searched and cannot find the required line of code with variables to track file downloads. I found a post by Webado giving the file types, but no line of code. I know that I saw this on one post, but I'm at a loss to find it.

Thanks, RIchard

var dlext = "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4 |e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt |wma|wmv|xls|xml|zip";

Car Guy
03-01-2008, 06:17 AM
Oh please somebody answer this so I can finally go to sleep........zzzzzzzzzzzzzzzzzz

webmaster
03-01-2008, 02:09 PM
Hi Richard,

You don't need to configure anything to track downloads it will automatically.

Basically if the extension of the file you are clicking has any of the following

7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4| e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt| wma|wmv|xls|xml|zip

it will be recorded as a download.

Aodhan

Car Guy
03-01-2008, 02:22 PM
Hi Aodhan

And here I thought that we had to add or modify lines in the code to suit our needs!

You guys are amazing, it just keeps getting better and better :-D

Thanks, Richard

webado
01-23-2009, 08:37 PM
Other extensions can be specified as you gave in

http://forum.statcounter.com/vb/showpost.php?p=223541&postcount=2