PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Inserting Google Analytics into Photopost (http://www.photopost.com/forum/photopost-pro-how-do-i/126194-inserting-google-analytics-into-photopost.html)

awconner July 20th, 2006 09:35 PM

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.

Chuck S July 21st, 2006 07:23 AM

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

awconner July 21st, 2006 06:45 PM

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 ;)

Chuck S July 22nd, 2006 05:41 AM

Place that in your site footer which you can define in the global options of admin

DefenceTalk.com July 23rd, 2006 12:20 AM

Putting the code in vb footer would be enough for the PhotoPost section as well. Works for us.

ToyotaDiesel August 8th, 2006 08:57 AM

Has this worked for you guys? I've tried it in the header and footer and google still shows they cannot see it.

awconner August 8th, 2006 05:30 PM

I posted it in the vbenchanced skin. This was due to avoid doubling the script since I use vBSEO as well.

grassie August 16th, 2006 09:00 AM

i did it on the index.php and google seems to find that

khira August 24th, 2006 02:55 AM

Where did you placed the code?
 
Quote:

Originally Posted by grassie (Post 1168564)
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!

grassie August 24th, 2006 11:02 AM

Quote:

Originally Posted by khira (Post 1169393)
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

SCM3 May 10th, 2008 12:53 PM

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

Chuck S May 10th, 2008 01:09 PM

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.

SCM3 May 10th, 2008 11:08 PM

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.

DefenceTalk.com May 11th, 2008 12:05 AM

With vb integrated... if you add the code to the vb footer template then it works and shows up under photopost as well.

Chuck S May 11th, 2008 10:55 AM

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.

SCM3 May 11th, 2008 08:58 PM

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.

Chuck S May 11th, 2008 09:37 PM

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.

SCM3 May 11th, 2008 11:40 PM

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.

Chuck S May 12th, 2008 06:26 AM

You might need to ask google especially if this is something specifically written for your forum.

SCM3 May 12th, 2008 09:30 PM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97