By chickenmcnoggin on
Hello there,
I have tried the module with a few different themes and it works great with pushbutton, but I can't see the code in any other theme including bluemarine. I currently have it put in by hand, but it would be nice to have the extra features that the module includes. Any help would be great.
B
Comments
and by the way...
http://www.bpshoe.com
I am using andreas03 theme
I'm pretty sure you have to
I'm pretty sure you have to have
<?php echo $closure ?>right before the closing</html>tag in your theme. That's where the module is likely to print out the extra javascript to trigger analytics.–joon
I can confirm that the theme
I can confirm that the theme Andreas03 does NOT work with the Google Analytics module. I am using a modified version of Andreas03 at http://www.wisellama.com/ and Google can't find the Analytics code when I have it enabled.
I can switch to BlueMarine and then Google and track the Analytics code. I switch back and it can't.
I'm going to see what can be done, and post a bug report...
-Warr
Joon, Yup, that fix did it,
Joon,
Yup, that fix did it, but the positioning you suggested is wrong.
So the fix is to open page.tpl.php. Add this line:
above the second line from the bottom that says:
And then the module works. I'll post this in the bug list for Andreas3
-Warr
Whoops, that's what I meant.
Whoops, that's what I meant. All themes should have that in there.
–joon
TNX Guys
Hey guys,
It worked great, thanks for the help!
http://www.bpshoe.com
Thank You!!!
This is exactly what I needed to fix this problem with my site using the Sky theme.
The page in question already had the code
print $closure;above the body tag, and I left that there, addingecho $closureright below it. Worked like a charm!