Closed (fixed)
Project:
Drupal.org customizations
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2008 at 18:13 UTC
Updated:
23 May 2014 at 18:23 UTC
Jump to comment: Most recent
This is a really small patch. It adds one line of Google Analytics code to track clicks on the pivots block (for better formatting, it's actually 3 lines of code)
Another tiny change: reduce the number of links in the pivots block from 10 down to 5.
Please apply this small patch to CVS. Thank you!
| Comment | File | Size | Author |
|---|---|---|---|
| pivots_block.module.patch | 1.3 KB | danithaca |
Comments
Comment #1
danithaca commentedSInce d.o. is now using the old Google Analytics toolset, we are also using the old GA toolset for consistency. The GA code in the patch followed this article.
http://www.google.com/support/googleanalytics/bin/answer.py?answer=74985
Also, GA documentation has this note:
"Important: if your pages include a call to urchinTracker(), utmLinker(), utmSetTrans(), or utmLinkPost(), the tracking code must be placed in your page's code above any of these calls. In these cases the tracking code can be placed anywhere between the opening tag and the JavaScript call. "
http://www.google.com/support/googleanalytics/bin/answer.py?answer=74954
I'm not sure if it has any implication to the current GA deployment on d.o.
Comment #2
kbahey commentedI think the second answer does not apply because this is an onClick event which will happen only after GA's js file loads.
So, I committed it.
Can someone get hold of killes to apply it to d.o?
Comment #3
gerhard killesreiter commentedComment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.