need to add google web-analytics to my site put the code on the footer can this be done
September 25, 2009 @ 11:35am
You can add it pretty much anywhere you like. The Footer section under Site Preferences is a popular option, that will add it at the bottom of all pages on the site. You could also add it directly to your template where ever you desire.
Personally I like to add it in a block so I can exclude admins from the reports. If your site doesn't have registered users you can just set the block to Guests Only. If you have other user levels, you could do something like this (PHP enabled block):