Needless to say, WordPress is no more just a blogging platform. According to datanyze.com,

“WordPress is the CMS of choice for almost 23% of ecommerce websites in the Alexa Top 1 million sites.”

Track WP downloads - CollectiveRay.com

As ecommerce plugins like WooCommerce and WP commerce gain traction amongst the Alexa Top 1M, there is a huge demand for subsidiary plugins that are related to ecommerce business like plugins which monitor downloading of files.

In this post, let’s have a look at a couple of popular plugins for tracking downloaded files. In addition, we’ll also explain how to track file downloads without using a plugin - but rather through events which will show up on Google Analytics.

Tracking Downloaded Files using plugins

Easy Digital Downloads

This is one of the most popular plugins which you can use to serve downloads on your website. Created by Pippin's plugins, a team who is known for high-quality, products for WP, this is a plugin which can really cater for anything you need if you plan to offer files or other media for downloading to your visitors.

The beauty of this product is that integrates very nicely with other products which can be used to create great monetization for your site such as if you want to create membership websites using your content (read more here) and even if you want sell your digital downloads.

This is a premium, subscription-based product, and starts at the about $9/month for the personal plan.

Visit Easy Digital Downloads

Easy digital downloads screenshot

WordPress Download Manager

This is is one of the most popular file management plugins available on the WP plugin repository. It is a perfect fit for your ecommerce store if you’re looking for a feature-rich file management plugin. Its bundled with lots of features that include

  • Download speed control
  • Google Drive and Dropbox support to store your files
  • Password protection
  • Counter
 

You can get the plugin from here: Download manager

wordpress Download Manager

WordPress Download Monitor

This is an emerging file download monitoring plugins that has a very elegant user interface. Some of features of this plugin include 

  • IP address tracking of the users who access the file
  • Tracking of number of downloads of each of your file
  • Tracking of visitors’ country

Get the plugin from the WordPress repository: Download monitor

wordpress download monitor

Tracking WordPress downloads without a plugin

Google Analytics

If you are using Google Analytics on your website, you can use its event tracking functionality for tracking your downloaded files.  This is a perfect choice for those who are not interested in using a fully featured plugin for monitoring file downloads, and just want to monitor a few items. If you are also looking to set Google Analytics goals along with the download event tracking - this is a perfect solution for you. Downloading of stuff such as eBooks, whitepapers, and other similar items are very good examples for using Google Analytics event tracking to monitor downloads.

Let’s look at an example of downloaded files event tracking using Google Analytics.

Imagine that you are providing an ebook file as a lead magnet and want to track the number of downloads using event tracking functionality of Google Analytics. It can easily be done by enhancing your usual anchor text html tag as follows.

<a onclick="_gaq.push(['_trackEvent','Download','PDF',this.href]);" href="https://cdn.yourwebsite.com/ebook.pdf" target="_blank">Get the ebook</a>

In the above case, ‘download’ is the event category, ‘PDF’ is event action and the ‘download URL’ is the event label.

If you are using the more recent Universal Analytics, the syntax changes just slightly to:

<a onclick="ga('send','event','Download','PDF', this.href]);" href="https://cdn.yourwebsite.com/ebook.pdf" target="_blank">Get the ebook</a>

analytics

Whenever someone access your file, you can track it from the Behavior >> Events >> Overview tab.

Prevent Direct Access Plugin

Now that we've shown you how to create and monitor downloads without needing a plugin, there is something you need to keep in mind. If you are offering downloads WITHOUT a plugin, then you will run the risk of actually having those files accessed directly, either by being crawled by Google or if somebody who has downloaded them links to them directly.

 Of course, if you are using these files for such stuff as lead generation, this is going to be a problem, because you are losing the "gated" nature which you'd like to create on your site.

This is where the Prevent Direct Access plugin comes into play.

It allows you to protect and restrict private WordPress files to logged-in users only. This is an excellent middle-ground, it opens access to any users who are registered (allowing you to pick up user details for lead-gen purposes) while at the same time restricting access to users who are trying to access the files directly.

Once again this is an excellent plugin for those who are offering WordPress downloads of such stuff as media files, PNG, Word, DOCX, MP3, MP4, PDF or any other files you are offering on your site.

Prevent direct access

The product also blocks Google and other crawlers from accessing the files, so you have no fear that any private files will be indexed and revealed by search engines. 

Besides media files, Prevent Direct Access allows you to protect self-hosted or Amazon hosted video files and also syncing any files with Amazon S3 for safe storage. Moreover, the plugin also integrates with popular membership plugins such as Membership 2 and Paid Membership Pro.

There is a free version available here.

There is also Prevent Direct Access Gold. This is a premium product and starts at about $6/month.

KEY FEATURES

  • Protect unlimited media files including PNG, JPEG, ZIP, PDF, MP3 and MP4
  • Block Google and searching indexing of protected files
  • Restrict file uploads access to logged-in users
  • Set custom access permission for each and every file
  • Protect self-hosted videos or sync and protect them with Amazon S3 (extension)
  • Sync protected files to Amazon S3 for faster load time (extension)
  • Integrate with top membership plugins (extension)

 

Visit Prevent Direct Access

 


Have you ever used a plugin or Google Analytics for tracking your files which have been downloaded? Share your experience with us in the comments section!

Download the list of 101 WordPress tricks every blogger should know

101 WordPress tricks

Click here to Download Now

One more thing... Did you know that people who share useful stuff like this post look AWESOME too? ;-)
Please leave a useful comment with your thoughts, then share this on your Facebook group(s) who would find this useful and let's reap the benefits together. Thank you for sharing and being nice!

Featured On

Inc Magazine Logo  

Sitepoint logo  

CSS Tricks logo   

webdesignerdepot logo   WPMU DEV logo   

and many more!

Where are we hosted?

This site is proudly powered by FAST VPS InMotion Servers and given an insane speed thanks to MaxCDN!

Web Hosting MaxCDN - Speed up your website

New! DIVI 3.1 WordPress Template + PageBuilder

You'll surely create a perfect website with Divi 3.1!

Get an exclusive 10% OFF for CollectiveRay visitors until

Divi 3

 

WordPress Elementor Sale

Themes for the most popular WordPress page builder from TemplateMonster!

We've got an exclusive 10% OFF for CollectiveRay visitor until - use Coupon Code: collectiveray

TemplateMonster Elementor sale

 

TemplateMonster Bundles

Awesome bundles for awesome websites. $1300 worth of products for $49 only!

We've got an exclusive 10% OFF for CollectiveRay visitors until - use Coupon Code: collectiveray

TemplateMonster Bundles

How to make your website FAST!

Step-by-step - free email course, how to make your website load in less than 1 second 

The Outstanding HungryJPEG Bundles

AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF!  Get a bundle for just $9 - ONLY!

The Hungry JPEG Awesome font bundles

 

Advertise on CollectiveRay.com

CollectiveRay (formerly known as DART Creations) is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)

 

 

Disclosure: CollectiveRay is funded personally out of pure passion for helping people working with websites. We do however generate some income through recommendations of products. This means if you click on a link and purchase an item we link to, we will receive a small sum out of that sale. We usually partner with vendors to make your purchase cheaper than buying direct.

who are we?

CollectiveRay is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists.

David attard

Follow us on Social

Follow us on Facebook   Follow us on Google+   Subscribe to our RSS Feed   Follow us on Twitter