![]() |
Inserting Google Analytics into Photopost After a breif search that turned up nothing, I decided to ask. Which template, or where, would be an excellent place to put the Google Analytics Code for the Photopost Gallery? (I consider this more a How-To than a real modification) vBSEO already has the my forum taken care of, and the main website include's it in the basic template. Because I don't want to overlap the forum's code in the gallery, where would be the best place and associated template to keep track of the gallery... of course the friendly URL's are turned on as well. Thanks a lot! Andrew PS. This would be a quick and awesome addition to photopost. |
I do not know what the Analytics Code from Google is. You may place it where ever you like. I am only familiar with adsense and adwords and people usually put that in there header or footer and maybe at the end of the menubar template |
The Google Analytics (Formerly Urchin Stats) looks like this. The site recommends towards, the bottom, but we both know that doesn't matter. Code: Content visible to verified customers only. |
Place that in your site footer which you can define in the global options of admin |
Putting the code in vb footer would be enough for the PhotoPost section as well. Works for us. |
Has this worked for you guys? I've tried it in the header and footer and google still shows they cannot see it. |
I posted it in the vbenchanced skin. This was due to avoid doubling the script since I use vBSEO as well. |
i did it on the index.php and google seems to find that |
Where did you placed the code? Quote:
Can you please specify where exactly you pasted the code. Thanx in advance! |
Quote:
Code: Content visible to verified customers only.After: insert google code |
I have tried the beginning and end of the index file in the reviewpost directory and google still cannot see the code. I installed it successfully on my main forum and it works perfectly. I have photopost, classifieds and reviewpost and can't get analytics to work in any of them. UPDATE: I acually recieved this error after making a post while installing the google code after ?> Parse error: syntax error, unexpected '<' in /home/public_html/reviews/index.php on line 2 |
You dont put it in an php file in any manner you would put it in a footer file you create and then in global options define the full server path to the file and photopost will load it. |
Isn't there a defaul footer file? I've already added the code to that file and found it with the global options and googel still didn't see it. |
With vb integrated... if you add the code to the vb footer template then it works and shows up under photopost as well. |
If you post a link to your site we might be able to assist but what defensetalk posted and I posted should help it is just a matter of knowing which footer to use depending on if your integrated with vb or not. |
Forum: www.forums.rentaldragon.com reviewpost: www.reviews.rentaldragon.com If I can get the review section to work, I should be able to apply to gallery and classifieds. |
Yes it will work with all 4 applications. Your running vbulletin and using the vb header and footer system so you must place your google code in the footer template of your vb style in vb admin styles area. |
I just checked my footer in the styles area. The code is already there but why doesn't google see it in the photopost, classifieds or reviews? in the google admin section, my regular forums is receiving data. |
You might need to ask google especially if this is something specifically written for your forum. |
No, it's not specifically for my forum. I just edited the footer and added the code and the data started feeding to google. |
| All times are GMT -5. The time now is 05:43 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0