5.3K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
Guide Me

Get downloads number by filename

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi everybody,


I made a Goal to track files download user action, but I need to have the number of downloads by filename.

FileName_1 : 8
Filename_2 : 2

Is it possible ?


Thank you.

1 Expert replyverified_user

Re: Get downloads number by filename

Explorer ✭ ✭ ✭
# 2
Explorer ✭ ✭ ✭

you can only record the number of file downloads but can't count the downloads by filenames. here is a related resource take a look
Marked as Best Answer.
Accepted by topic author Mohamed Anouar A
August 2016

Re: Get downloads number by filename

Top Contributor
# 3
Top Contributor



You can set the filename as the event label and you will be able to see the event count based on the labels (filenames).


Send the events when the download link is clicked like below:


<a href="" onclick="ga('send', 'event', 'Download Link', 'click', 'filename.pdf');">File Download</a>

Hope this helps, let me know if you have questions.

Arnold Majlath, Google Analytics Top Contributor
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Get downloads number by filename

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
Hi, Thanks for your answers.

yes @Arnold that's what I did, and it works fine. Smiley Happy