![]() |
|
Any working solution to include analytics into Zen photo? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Any working solution to include analytics into Zen photo? (/thread-7463.html) |
Any working solution to include analytics into Zen photo? - sarah.kho - 2010-08-11 Hi, I am trying to include Analytics into Zen photo. So far I tried: http://blog.hailzhang.com/add-google-analytics-to-zenphoto/ and none of them appear to be working. The first solution causes the function to become faulty and the second solution does not work properly and lots of error messages appear on top of all pages complaining that the I created the file inside zp-core folder and add the following line on top of the template-functions.php Can you please let me know what is wrong? Any working solution to include analytics into Zen photo? - markky99 - 2010-08-11 You need to place several lines of code into your header.php, inside whichever theme you are using. You can copy these lines of code together with the individual tracking code that Google provides once you have registered. Mark Any working solution to include analytics into Zen photo? - sbillard - 2010-08-11 According to the second site you refernce, the script must be loaded just before the Any working solution to include analytics into Zen photo? - acrylian - 2010-08-12 Also most Zenphoto themes do not have a header.php at all... |