 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
July 20th, 2006, 09:35 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2006
Posts: 6
| 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.
|
| |
July 21st, 2006, 07:23 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
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
|
| |
July 21st, 2006, 06:45 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2006
Posts: 6
|
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.
Just so you know |
| |
July 22nd, 2006, 05:41 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
Place that in your site footer which you can define in the global options of admin
|
| |
July 23rd, 2006, 12:20 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 387
|
Putting the code in vb footer would be enough for the PhotoPost section as well. Works for us.
|
| |
August 8th, 2006, 08:57 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jan 2006
Posts: 81
|
Has this worked for you guys? I've tried it in the header and footer and google still shows they cannot see it.
|
| |
August 8th, 2006, 05:30 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2006
Posts: 6
|
I posted it in the vbenchanced skin. This was due to avoid doubling the script since I use vBSEO as well.
|
| |
August 16th, 2006, 09:00 AM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2006
Posts: 24
|
i did it on the index.php and google seems to find that
|
| |
August 24th, 2006, 02:55 AM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2006
Posts: 13
| Where did you placed the code? Quote:
Originally Posted by grassie i did it on the index.php and google seems to find that | I tried this, but i got an error.
Can you please specify where exactly you pasted the code.
Thanx in advance!
|
| |
August 24th, 2006, 11:02 AM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2006
Posts: 24
| Quote:
Originally Posted by khira I tried this, but i got an error.
Can you please specify where exactly you pasted the code.
Thanx in advance! | find Code: Content visible to verified customers only.
After:
insert google code
|
| |
May 10th, 2008, 12:53 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007
Posts: 13
|
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
Last edited by SCM3; May 10th, 2008 at 01:06 PM.
|
| |
May 10th, 2008, 01:09 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
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.
|
| |
May 10th, 2008, 11:08 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007
Posts: 13
|
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.
|
| |
May 11th, 2008, 12:05 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 387
|
With vb integrated... if you add the code to the vb footer template then it works and shows up under photopost as well.
|
| |
May 11th, 2008, 10:55 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
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.
|
| |
May 11th, 2008, 09:37 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
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.
|
| |
May 11th, 2008, 11:40 PM
|
#18 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007
Posts: 13
|
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.
|
| |
May 12th, 2008, 06:26 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,695
|
You might need to ask google especially if this is something specifically written for your forum.
|
| |
May 12th, 2008, 09:30 PM
|
#20 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007
Posts: 13
|
No, it's not specifically for my forum. I just edited the footer and added the code and the data started feeding to google.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:03 PM. | |