Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

Ajax Download Counter

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Ajax Download Counter - CodeCanyon Item for Sale


Ad: Bluehost hosting

An Asynchronous Download Counter using PHP, MySQL and jQuery.

New v2.0 Available

  • Converted to jQuery Plugin
  • Very Easy Implementation
  • More Options for Customized Results
  • Now Supports Multiple Downloads on the Same Page

Visit the New Guide which also lists all the available Options.


Ajax Download Counter counts and displays asynchronously the number of downloads (or clicks) of a particular file (or link). No need to know how to code.

Live Demo

View a demo and see the counter in action.

Main Features

  • Counts Downloads/Clicks by Storing the Data Into the Database
  • Retrieves and displays the Total Number of Downloads
  • Supports Multiple Downloads on the Same Page
  • No Page Refresh is Needed for Storing and Displaying
  • Prevents Duplicate Counting From the Same User
  • Easy Options to Modify Default Functionality


  • Uses PDO to Connect to the Database
  • Supports the HTML5 data-* Attribute for ID and Name Retrieval

Installation Instructions

Add a class and data-id to your download link, fill your database credentials in counter.php file and then from within your page, link to jquery.counter.js file. Optionally set your own Options. Done!

Visit the Step by Step guide, which is also included in the plugin’s folder.

Server Requirements

  • PHP 5.x or later
  • MySQL 4.x or later (Requires one Active Database)
  • jQuery 1.5 or later

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


23 March 13

Last Update:
22 July 13

Compatible Browsers:
IE7, IE8, IE9, IE10, Firefox, Safari, Opera, Chrome

Files Included:


eCommerce, eCommerce, All Items, ajax download counter, download counter, jquery download counter