How To Track File Downloads In Google Analytics

Do you want to know how many users downloaded your file from your WordPress website, it could be an e-book or any PDF notes.

Keeping a track of your file downloads will help you to know which files are downloaded the most by users.

Here in this article, I will show you how you can track file downloads in Google Analytics.

Why is it important to track file downloads?

If you track file downloads, you can easily know whether people have downloaded your file or not, and if they download, how many people have downloaded my files. You can also check which of your files is most downloaded.

After knowing that, you can make decisions about how to improve my content, what types of files people like, etc. Basically, it helps to make data-driven decisions.

I think now you know, why to track file downloads, right? So, let’s see how you can do that.

How to track file downloads in Google Analytics?

First thing first, Google Analytics does not automatically track file downloads. That’s because files can’t request a tracking pixel, which is a short code snippet needed to track users’ behavior.

That’s why nothing is recorded in Google Analytics and downloads aren’t tracked.

Now you might be thinking, then how I track file downloads, right? If so, then you don’t need to worry about that.

Here we are going to use MonsterInsights, the best Google Analytics plugin for WordPress. MonsterInsights will help us to enable file downloads tracking in Google Analytics without having any coding knowledge.

I already created an article about the review of MonsterInsights, read that to learn more about it.

The free version of MonsterInsights does not support track file downloads, so for that, you need to buy their paid plan.

Their paid plan starts from $99/year, but to see advanced reports inside your WordPress dashboard, you’ll need the Pro or higher plan.

So, click the link below to buy MonsterInsights and get the maximum discount possible:

Analytics Dashboard, Page Insights
eCommerce Track, Forms Track
MemberPress, WooCommerce
Affiliate Link, Outbound Link Track
File Download Track, Author Track

Step- 1. Install and activate MonsterInsights

Once you have purchased it, log into your MonsterInsights account and download the plugin. It will download as a zip file.

Next, log in to your WordPress dashboard and go Plugins > Add New > Upload Plugin.

WordPress upload plugin option

Next, click on the Choose File button and choose the zip file and click Install Now.

monsterinsights install now

After you have installed the plugin, click on the Active Plugin button to activate the plugin.

activate monsterinsights plugin in WordPress

Now you have installed and activated MonsterInsights on your site. Next, we are going to activate the premium license of MonsterInsights.

To do that, go to Insights > Settings, and paste your license key (you will get your license key from the MonsterInsights’ website), and then click the Verify Key button.

monsterinsights enter license key

Now you have successfully activated MonsterInsights’ premium license on your WordPress website.

Step- 2. Set up Google Analytics using MonsterInsights

Setting up Google Analytics using MonsterInsights on any WordPress site, is soo easy. You don’t need any coding knowledge to do that.

I created an article about how you can add Google Analytics using MonsterInsight, read that, to add Google Analytics on your site.

That’s it. If you set up Google Analytics properly using MonsterInsights, file downloads tracking will be enabled automatically and they will be tracked as events.

You don’t need to do anything, MonsterInsights will do all of that for you.

By default, MonsterInsights lets you track downloads of the following file extensions: doc, pdf, ppt, zip, xls, docx, pptx, and xlsx. But you can add more extensions that you want to track.

To add new file extensions, go to Insights > Settings, then click on Engagement from the top menu, and scroll down to File Downloads.

monserinsights file tracking add extensions

And for viewing your file downloads reports, go to Insights > Report > Publishers Report and scroll down. Here you can see your file name and how many clicks they got.

file downloads report in monsterinsights

If you click on the View All Download Links Report, then you will be redirected to your Google Analytics account and you can see all the statistics about your file downloads.

If you don’t know how to create a file upload form, read my article on creating a file-upload form on WordPress.

That’s it in this article, I hope you liked it, right? If so, then share it with your friends and family and if you have any doubt, feel free to comment in the comment section below.

Newsletter Updates

Get freebies, and special offers delivered directly to your inbox.

Leave a Reply

Your email address will not be published.