Lychee is a cool-looking open source album script.the best reason to choose lychee is that 1.it does not compress the images(unlike imgur!). 2.can display technical information such as EXIF data. You can find more information about lychee in their website.
Now, i will show you how to integrate Google Analytics(GA) with your lychee. I assume you have already added your website to google analytics. If not
1.add your domain to google analytics
2.in the root Doc F, open index.html
Put the GA code in between <head> </head> tags as shown above.
3.in root Doc F, open view.php
Put the GA code in-between <head> and </head>
It might take up to 1 hour for GA to integrate with your website and start showing stats.