I have setup a new Google Analytics 4 property and have enabled enhanced tracking, which records all downloads automatically. When using Google Data Studio, I can see 'file_download' events (so it's definitely working) and use this data to build my report.
I need to create a report that shows which files were downloaded each month for a specific page only. It's really easy to get the total number of downloads which occurred on that page, however, I can't for the life of me find any way to report what the destination URL or file name was.
According to the Analytics support pages, the event has a number of useful parameters (file_extension, file_name, link_classes, link_domain, link_id, link_text, link_url), however, I can't see any related options for these in the Data Studio reports.
Any help would be greatly appreciated. At this point, I'm almost tempted to disable the automatic tracking and do it all manually via Tag Manager again.
It is possible create reports with the useful parameters. However, you need to register the parameters in Google Analytics first.
To register the customer dimensions, navigate to "All events", click "Manage Custom Definitions", and add custom dimensions for each parameter. This article goes through the details of registering custom dimensions: https://support.google.com/analytics/answer/10075209?hl=en. In this example, I've registered three dimensions (one for each parameter):
Once the dimensions are registered, Google Analytics will record the dimensions going forward. You should be able to create reports on these dimensions in Data Studio the next day. Here's the example reports:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With