You may have uploaded files to your website for visitors to view or download, such as annual reports, fundraising packs, or service brochures. As with any call to action on your website, it's important to measure how well it performs. To track file downloads, follow these steps in your Google Analytics 4 (GA4) property.
⚠️Important: This guidance is for customers who manage their analytics directly in their GA4 property. If you use Google Tag Manager, speak to the person or agency responsible for managing your Google Tag Manager property.
In GA4, go to Reports.
Scroll down, then click Library in the bottom left.
Click Create new report, then click Detail report.
Select Events as your template, as file_download is an event.
Configure the report:
Dimensions: add file_name and file_extension. You can also add link_url if you want the full path.
Metric: use Event count.
Apply a filter: Event name = file_download.
Click Save, then click Save as new report.
Give it a name, for example, File Downloads.
Back in Library, find the Engagement collection.
Click the three dots (…), then click Edit collection.
On the left side, you'll see your available reports, including the new File Downloads report.
Drag and drop it into the Engagement section, under Events or wherever you want.
Click Save.
For a video tutorial, see the tutorial video: Tracking File Downloads on Your Website with Google Analytics 4.
