How to Track File Downloads in Google Analytics 4

How to Easily Track Downloads with Google Analytics 4

Want to track how many times visitors download your eBook, PDF, or any other files on your website with Google Analytics 4?

MonsterInsights lets you easily and accurately track downloads with Google Analytics.

In this post, we’ll show you how to track your file downloads on your WordPress website. Then, you can use that data to improve your marketing campaigns and your website.

Start Tracking File Downloads Today!

MonsterInsights is the best WordPress Analytics plugin. Get it for free!

Can Google Analytics 4 Track Downloads?

Google Analytics 4 does have built-in download tracking (Universal Analytics does not). However, even though you can turn on download tracking, it’s difficult for many users to figure out how those downloads are reported, and where to find that data.

If you do turn on file download tracking, Google Analytics will report those numbers for you in their Events report, which looks something like this:

GA4 Event Reporting

Looking for an easier, faster, better way to see how many users are clicking the download links on your site?

With MonsterInsights, you can easily enable Google Analytics download tracking in WordPress without having to touch a single line of code.

A few benefits tracking file downloads are:

  • Discover how popular your downloadable resources are
  • Find out which content type you should offer more and which one is a waste of your time
  • Save your time and money by only producing the downloads your audience actually wants

Now let’s take a look at how you can start to track file downloads on your WordPress website.

How to Track File Downloads in Google Analytics

  1. Install and Activate MonsterInsights
  2. Sign Up for Google Analytics & Connect to MonsterInsights
  3. Add File Extensions to Track as Downloads
  4. View File Downloads in WordPress
  5. View File Downloads in Google Analytics

The easiest way of tracking file downloads in Google Analytics is by using a WordPress plugin. MonsterInsights is the best Google Analytics WordPress plugin, and it makes it very easy to see which files people like to download the most.

Step 1: Install and Activate MonsterInsights

First, you need to download and install MonsterInsights on your WordPress website. You can find the setup file in your account area under the Downloads tab.

download monsterinsights

Next, you’ll have to upload the plugin to your WordPress website. To do that, go to your WordPress admin area and navigate to Plugins » Add New » Upload Plugin.

After that, choose the MonsterInsights file you just downloaded and click the Install Now button.

upload plugin in wordpress

Now activate MonsterInsights by clicking the Activate Plugin button.

activate monsterinsights

Step 2: Sign Up for Google Analytics & Connect to MonsterInsights

Next, you will have to connect Google Analytics to your WordPress website using MonsterInsights.

Before you do that, you’ll need to sign up for a Google Analytics account if you don’t have one already.

After creating an analytics account, you can use MonsterInsights to add the tracking code to your website. The plugin makes it super easy to set up Google Analytics, and you don’t have to touch a single line of code.

Allow MonsterInsights to Access Your Google Analytics Data

For more details, refer to our guide on how to set up Google Analytics in WordPress using MonsterInsights.

After the setup, MonsterInsights will enable file download tracking automatically, and downloads will be tracked as events. The best part is that you don’t have to do any further configuration, as MonsterInsights will take care of it.

Step 3: Add More File Extensions to Track as Downloads

If you’d like, you can add more file extensions to track in MonsterInsights.

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

To add file extensions in MonsterInsights, go to Insights and then click Settings. Then select Engagement from the top menu and scroll down to File Downloads.

monserinsights-file-tracking

Here you can see the default extensions of files that the plugin will track. Add more extensions that you want to track on your website (separated by commas).

Step 4: View File Downloads in WordPress

Now that your tracking is set up, you’ll be able to start seeing file download reports in WordPress.

To see the report, navigate to Insights » Reports » Publishers and scroll down to see the Top Download Links.

The report will then show you the top download links on your site. You can then use the data to create similar content that gets you the most downloads.

It also helps you plug gaps in your content to create or repurpose content.

How to View File Downloads in Google Analytics 4

To view your file download data in Google Analytics 4, you can start by clicking the View All Download Links Report button at the bottom of your MonsterInsights downloads report, or by navigating to Reports » Engagement » Events, then scrolling down to the table and clicking on the file_download event.

GA4 File Download Event

Now, you’ll have a report with several “cards” with more information. Which cards you get will depend somewhat on other custom dimensions you have set up, but you’ll always get cards on this page that tell you:

  • How many times your download links were clicked
  • How many downloads have occurred in the last 30 minutes
  • Which countries users were from who clicked your download links
  • What link text was clicked (e.g. Download Now or April Report)
  • What page each download occurred on

For instance, here are the Link Text card and the Page View card. These will show you which link text was clicked and which pages the download links were on.

File Download Data - GA4

How to View File Downloads in Universal Analytics

In Universal Analytics, navigate to Behavior » Events » Top Events.

Download events in Google Anaytics

Then, click download to get a detailed report of which files were downloaded.

downloads tracking in events report

Start Tracking File Downloads Today!

That’s it!

We hope that you liked our guide on how to track file downloads in Google Analytics. If you want, you can also check out our article on how to track links and button clicks in Google Analytics.

And don’t forget to follow us on Twitter, Facebook and YouTube for more helpful Google Analytics tips.

Want to Try MonsterInsights for Free?

Enter the URL of Your WordPress website to install MonsterInsights Lite.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.