1. Document Library Pro
  2. FAQ

How to track the number of document downloads?

Document Library pro comes with an in-build downloads counter that you can use to keep track of individual document download count.

There are three ways you can track the number of document downloads:

  1. From the documents listed in the admin dashboard.
  2. By adding a download count column to your table/grid of documents.
  3. By enabling the ‘Download count’ option on the Single Document Page settings.
  4. By setting up Google Analytics event tracking for downloads.

Method 1 - Admin dashboard

In your WordPress admin dashboard, go to Documents → All Documents. Here you can see the download count for your documents in the ‘Downloads’ column. If you can’t find the ‘Downloads’ column, you might need to enable it from the screen options at the top right corner.

Note: This downloads count will not be displayed to your website visitors.

Method 2 - Adding a download count column to your table

To display the download count to your website visitors, you can add a download_count column that will display the total number of downloads. For this, simply add the download_count field in the shortcode and the number of downloads will start showing up in the table/grid.

Example: [doc_library content="image,title,content,date,download_count,author"]

document library author and download count column

Method 3 - Display the download count on the single document page

To display the number of downloads on the single document page, go to Document → Settings → Single Document, click on the 'Download count' checkbox and click on the Save Changes button.

document library settings single page

Alternative method - Set up Google Analytics event tracking for downloads

Alternatively, if you want more advanced tracking, you can also set up Google Analytics. This is an excellent approach because the tracking happens outside of your website (therefore easy to maintain), and you probably already use Google Analytics to monitor your website traffic.

For setup instructions, we recommend following this tutorial from MonsterInsights or watching the video below:

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.