Closed (fixed)
Project:
Google Analytics
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2007 at 15:17 UTC
Updated:
23 Feb 2008 at 19:51 UTC
Hi,
I have been trying to use the module for tracking downloads as well, but it didn't seem to work. After some experimentation and checking of the code it seems, that the problem is in downloadtracker.js. When it has determined that the link is internal, and checks for the file having the right extension, it uses this.trackDownload instead of just trackDownload, which seems to work. (I'm not an expert in JavaScript, but doesn't 'this' refer to the anchor tag, while trackDownload is just a local variable in the current function?)
This problem seems to be present in both the stable and the development releases.
Istvan
| Comment | File | Size | Author |
|---|---|---|---|
| google_analytics.patch | 565 bytes | ivaradi |
Comments
Comment #1
buddaThanks applied.
Comment #2
buddaMoving to 6.x for fixing
Comment #3
buddaComment #4
hass commentedFixed for D6, too
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.