Google Analytics and Gallery 1.5.1

aortiz32

Joined: 2006-01-29
Posts: 1
Posted: Sun, 2006-01-29 07:03

I thought this may help others looking to install Google Analytics on their instance of Gallery v.1:

1. Edit your /path/to/gallery/html_wrap/wrapper.footer.default file
2. At the top of the file, add your Google Analytics tracking code.

This will add the code right before the closing head tag of all the pages on Gallery, inluding album & full picture view. I found this to be much easier than adding the script tags to all the album*.php files; as was mentioned here: http://gallery.menalto.com/node/6387

Enjoy

http://blog.ortizonline.org/2006/01/29/google-analytics-and-gallery-v151/

Login or register to post comments
syncros

Joined: 2004-07-30
Posts: 2
Posted: Mon, 2007-02-19 05:28

thanks for this quick and easy tip. worked great in V1.5.5 too.

Login or register to post comments