Google analytics code not appearing on front page

Logi - June 24, 2009 - 17:05
Project:Google Analytics
Version:6.x-2.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi all,

I´ve used this module on many sites before and most of the time with no hassle, it's a great and a very useful one. This time however I cannot get the tracking code to appear on the front page but it's fine on subpages, the JS doesn't even load. My theme has the closure printed out but it's empty on the front page.

Any suggestions?

regards, logi

#1

Logi - June 24, 2009 - 17:11

Yeah,

Forgot, here is the site: http://vefsetur.hi.is/vigdis/is

if that helps...

regards, logi

#2

hass - June 24, 2009 - 23:04
Category:bug report» support request
Status:active» fixed

1. You may run a buggy frontpage module
2. The frontpage path is on your exclusion list
3. You are using a special page-front.tpl.php template without $closure variable.
4. Your theme have a preprocess hook that destroyes something
5. etc.

#3

Logi - June 24, 2009 - 23:59

Hey!

thanks, that did the trick, for some reason the exclusion : node/*/* included the front page, probably caused by the /is in the end for the front page.

best regards, logi

#4

hass - June 25, 2009 - 06:40

How is this possible??? This should only remove the tracking from node/4/edit and such pages... but never ever from frontpage. Frontpage have a path of <front> or "node".

#5

Logi - June 26, 2009 - 09:28

Mine has the path /node/133/is, for some still unknown reason I have to leave the language in for my language specific menu to appear. You set this (as you probably know) in the "site information" thingie, if I skip the lang there it does not work.

thanks for the help, Logi

#6

hass - June 26, 2009 - 10:52

Ah, than the filter node/*/* catch this. You should take a look to http://drupal.org/node/442846#comment-1511760

#7

System Message - July 10, 2009 - 11:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.