• Courses
    • Courses
    • Course bundles
  • Blog
  • Services
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • About
    • About
    • Contact
  • Login
  • Courses
    • Courses
    • Course bundles
  • Blog
  • Services
  • Resources
    • Youtube channel
    • E-books and Guides
    • GTM Recipes
    • View All Resources
    • GTM Community
    • GA4 community
  • About
    • About
    • Contact
  • Login

May 26, 2022

Where to Find File Download Data in Google Analytics 4?

Google Analytics 4 is capable of tracking additional events, not just page views. This is all possible thanks to Enhanced Measurement. But finding that data in GA4 reports is trickier than you might think. In this article, I will explain where to find file download data in Google Analytics 4.

 

Video tutorial

Prefer video content? Here’s a tutorial from my Youtube channel.

 

Check if you have file download tracking enabled

First, go to the admin panel of your Google Analytics 4 property. Then (in the Property column) click Data Streams. Select web data stream.

This will open the settings of your web data stream. Check if Enhanced Measurement is enabled. If yes, check if File downloads is visible.

If not, then click the gear icon and enable File Download tracking.

If you have just enabled that, you will need to wait for ~24 hours to start seeing that data in standard and custom reports.

 

Standard Reports

In standard reports, it’s easy to find file download events. They are called file_download and you will see them if you have enabled Enhanced Measurement.

You can find them by going to Reports > Engagement > Events.

But the problem with this is the granularity of the data. If you click the file_download event, it will open a report where you won’t see what kind of files were downloaded. At least, that’s how things work now when I am writing this blog post.

By the way, when I say “file downloaded” it means that a visitor clicked a link on your website that opens/downloads files such as .pdf, .docx, etc.

If you want to see what file links were clicked and how many times that occurred, you will need to create a custom report in the Explore section.

 

Custom Reports (Explorations)

On the left sidebar of your GA4 interface, click Explore. Then select Blank.

We’ll need to import two dimensions into that report. Click the Plus icon.

Then select Event name and File name dimensions and click Import.

In the metrics section, click the Plus icon and add the metrics that you want to use, for example, Event count and Total Users.

Double-click the File Name dimension and also all metrics that you have imported to the exploration. Or just drag-and-drop them.

Now you will see the list of all files that were downloaded. But it’s very likely, that the first row in the table will be empty. Why?

That’s because your current report shows the data of ALL events in your property, not just file downloads. Thus you need to narrow it down. In the Filters section, click Drop or select dimension or metric and then choose Event name. Enter the following condition:

  • Event name exactly matches file_download

Save the filter.

Now you will see the report consisting only of file_download events and the first column of the table will show the list of files that were clicked/downloaded.

To see the full value of the File name, you will need to hover your mouse over that particular link URL. Hopefully, in the future GA4 will allow us to resize the width of each collumn.

At the moment, File name dimension shows the full URL, not just the last part of it (where the actual file name is stored). There is no way (at the moment) in GA4 to change this. Alternatively, you would need to build your own custom solution with Google Tag Manager and use a variable that takes the last part of the URL.

 

Find File Download Data in Google Analytics 4: Final Words

That’s it! You have now configured a File Download report in GA4. By default, the report will show the top 10 rows. But if you want to see more, change the number here:

If you want to learn much more about GA4, how to use it and how to benefit from it, take a look at my in-depth Google Analytics 4 course.

 

Related articles

  • How to find video engagement data in GA4
  • How to find outbound click data in GA4

 

Julius Fedorovicius
In Google Analytics Tips
3 COMMENTS
Glenn
  • Jun 8 2022
  • Reply

Thanks for this very clear explanation. I have found that if you right-click on a filename in the download list you can select 'View users' to get a list of users that have downloaded that file. What I was wondering is can you then find a list of files that a particular user has downloaded?

Alessandro
  • Jun 8 2022
  • Reply

Hello Julius!
I have installed GA4 yet it does not track downloads of pdf files. It's a proprietary CMS, is it possible that the way GA4 tracks it is not compatibile with the CMS?

Alessandro
  • Jun 8 2022
  • Reply

And yes, in case you'd ask, the Enhanced Measurement is enabled.

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *

 

Hi, I'm Julius Fedorovicius and I'm here to help you learn Google Tag Manager and Google Analytics. Join thousands of other digital marketers and digital analysts in this exciting journey. Read more
Analytics Mania
  • Google Tag Manager Courses
  • Google Tag Manager Recipes
  • Google Tag Manager Resources
  • Google Tag Manager Community
  • Login to courses
Follow Analytics Mania
  • Subscribe to newsletter
  • RSS feed
Recent Posts
  • Google Analytics 4 User ID for cross-device tracking: how to configure it
  • 23 Key Benefits of Google Analytics 4
  • 10 Google Analytics 4 Mistakes in Configuration You Should Avoid
Analytics Mania - Google Tag Manager and Google Analytics Blog | Privacy Policy
Manage Cookie Settings