Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reporting URL of downloads in Data Studio when using Google Analytics 4 automatic enhanced measurement events?

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.

like image 308
Bakala Avatar asked Nov 07 '22 04:11

Bakala


1 Answers

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): registered custom dimensions

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: reports on downloads in Data Studio

like image 155
Brett Avatar answered Nov 18 '22 06:11

Brett