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

counting the number of downloads

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

My website has free downloads available. I would like to report on the number of downloads. Does Google Analytics facilitate such?

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Mark W
February 2016

Re: counting the number of downloads

Participant ✭ ✭ ☆
# 2
Participant ✭ ✭ ☆

You can use event tracking to track downloads.
It requires some code modification:
https://support.google.com/analytics/answer/1012044?hl=en#Download

https://developers.google.com/analytics/devguides/collection/analyticsjs/events

 

For example if you want to track clicks on link you can add this code to your link:

<a href="..." onclick="ga('send','event','User Interaction','Download','File Name')">Download</a>

 

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Mark W
February 2016

Re: counting the number of downloads

Participant ✭ ✭ ☆
# 2
Participant ✭ ✭ ☆

You can use event tracking to track downloads.
It requires some code modification:
https://support.google.com/analytics/answer/1012044?hl=en#Download

https://developers.google.com/analytics/devguides/collection/analyticsjs/events

 

For example if you want to track clicks on link you can add this code to your link:

<a href="..." onclick="ga('send','event','User Interaction','Download','File Name')">Download</a>

 

Re: counting the number of downloads

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thanks Tomasz.