Closed (fixed)
Project:
LABjs
Version:
7.x-1.0
Component:
Compatibility
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2011 at 00:18 UTC
Updated:
10 May 2012 at 10:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
jcisio commentedWhich module?
Comment #2
eule commentedsorry the Google Analytics 7.x-1.1 a png save it..i know is not mutch visits but you see tracking works without LABjs
Comment #3
eule commentedi put the snippet from analytics in the head ..here is the source code...hope it helps
some css
Comment #4
jcisio commentedOk I can confirm it. Reopen the old issue #1040734: Compatiblity with google_analytics
Comment #5
dalinI don't think this is directly related to that other issue since that is D6 and appears to be an issue with advagg.
I'm getting a JS error:
$L is not defined. The code that throws the error is:
As you can see the GA script is called before LABjs is loaded. GA adds the JS like so:
Which is frustrating. "Lets all try and race to the bottom".
Not sure if LabJS module should be doing the same, or if we should request that GA not do that.
Here's a patch that makes things work.
Comment #6
jcisio commentedWhich version do you use? Have you this problem with a clean install? I've just tested with GA 7.x-1.2 and don't have this problem. The order is:
I can see that utm.gif is sent to GA.
Comment #7
dalinSee here
http://drupalcode.org/project/google_analytics.git/blob/refs/heads/7.x-1...
Looks like this only applies if you're tracking adsense.
Comment #8
jcisio commentedOk let's join the race. Fixed with http://drupalcode.org/project/labjs.git/commit/9406ce4
Thanks.
Comment #9
udvranto commentedDid you patch the 6.x branch as well?
Comment #10
jcisio commentedA priori D6 does not have this kind of problem.
Comment #11
vacilando commentedAdjusting the title...