30 September 2011

Track Donwloads in Blogger Probably we all love to know how many times a file on our website is downloaded. You can observe that I track all my downloads whether its templates, icons, buttons or any other blogger resource. This helps me know how popular that particular file is. Many questioned us about the script we use to track our files and today we would share every detail on how we actually track downloads on Blogger.



Live Demo

How To Track Downloads in Blogger?

I use Dstats service for tracking number of downloads. The method is simple. There are two steps which are,
Inside your posts simply paste the code below. Replace  PASTE-FILE-LINK-HERE with the link of your file you want readers to download. And replace Image URL OF Download Button with the Image Link of your Download button.
<a href="http://dstats.net/download/PASTE-FILE-LINK-HERE"><img src="Image URL OF Download Button" border="0"/></a>
<p>Downloads:<a href='http://dstats.net/download/PASTE-FILE-LINK-HERE'></a>
<script type='text/javascript' src='http://dstats.net/dstatsjs.php?file=PASTE-FILE-LINK-HERE'></script>
<script type='text/javascript'>document.write(dsCounter);</script></p>

Grab these Download Buttons.

You can use the following Download buttons from dryicons Simply right click an image and select “Copy Image Location” and this will give you the Image URL for the button.
download_buttons1 download_buttons4
download_buttons2 download_buttons5
download_buttons3 download_buttons6

Once you are done, publish your post and see a beautiful Download button with an auto download tracker hanging inside your post. Enjoy! :)

No comments:

Post a Comment

www.lochan.in