Closed (works as designed)
Project:
Google Analytics
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2009 at 18:36 UTC
Updated:
2 Dec 2009 at 14:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
hass commentedNo, this is how it works today.
1. Downloads are not pages of your site.
2. External sites are also not pages of your site.
Comment #2
pfournier commentedI had a request this week to log downloads as page views. Here is a small patch that makes this possible.
Maybe the choice of logging downloads as pageviews or events should be added as a setting to the module?
Comment #3
hass commentedThis does not make sense to me. If you have an extension that is not executed on server side it must be a download. You are also free to remove an extension from the list of download extensions if you'd like... no need to clutter the module. By your change the module behaves really wrong.
Comment #4
pfournier commentedFrom what I understand from googleanalytics.js, if I remove an extension from the list, the link will not be tracked at all.
I think if you consider a file to be part of your site content, it makes sense to track it as a page view; this method has the advantage of showing the number of clicks in GA Site Overlay.
I don't think either way (page view or event) is fundamentaly wrong. GA documentation gives example for both cases: http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55529 and http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html. That is why I suggested the GA module could give users a choice. You could even track the download as a page view AND an event.