Has anyone been successful in adding the Google Analytics and StatCounter code to ZenPhoto in the latest version?
If so how? I've been looking at this a while.. I also used Statcount and place the code in the footer, it counts page clicks but it doesn't count individual images that are clicked on a page.. probably because the page doesn't refresh... so need help there also.
Also make sure the solutions count all CLICKS, including the photo images that appear on the screen.. versus just the pages views.. clicks .. so if a person cliks on an image or clicks on a next page I want to collect those clicks..
So any solutions would be greatly appreciated.
JC
You can add Google Analytics or any other script by modifying the theme used. Also Zenphoto features its own hitcounter for pages already. If you want special clicks counted besides that you have to modify your theme as well and write some extra functionality for that as either a theme custom function or as a plugin.
See the user guide for info on theming and plugins.
If you have something like that, even if unsupported, it would be great if you could make a page for it so we can link to it on our extensions section (we prefer no direct download links as it looks then as if it is downloaded from our site.). Just a simple or even static would be great.
Here we go, hope it helps
Thanks, that surely helps some users as this question pops up regulary (although not really hard to add manually). I will add it today.
I just see that we already have an older google analytics plugin:
http://www.zenphoto.org/2009/11/google-analytics/
Is yours based on that or something new? Does not hurt to have two if there are differences.
I use 1lytics http://1lytics.com. It can display a list of visits, the details of each visitor and much more.