Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Google analytics code - outside main.php
01-30-2008, 07:26 AM
Post: #1
Google analytics code - outside main.php
Hi guys,

I want to use analytics on a few new glype sites. Where(in which file) do I insert the code snippet?

If i put it in main.php, i'll have to redo it if i change the template file
but if i put it in index.php, i dont have to redo it ever again in my life.
So i want to put it in index.php
question is, can i put html in a .php file after the ?>

If not, then where, or in which file (other than main.php) can I put the analytics code?

Thanks
anions
Find all posts by this user
Quote this message in a reply
02-01-2008, 03:17 AM
Post: #2
RE: Google analytics code - outside main.php
create a html file and put your code in it.
then in your index, call the file by using

<? include "ad.html"; ?>

PR4 Proxy List
PR2 Proxy List
Custom Proxy Templates for FREE!
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2008, 07:06 AM
Post: #3
RE: Google analytics code - outside main.php
there is a config file with glyphe just for this, where you can chose where they are displayed there are <<<out and out; tags put your analytics code in between these and viola.
Find all posts by this user
Quote this message in a reply
02-01-2008, 11:57 AM
Post: #4
RE: Google analytics code - outside main.php
are you referring to parser.php?
I tried to use make use of that file but failed to do so.

PR4 Proxy List
PR2 Proxy List
Custom Proxy Templates for FREE!
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2008, 12:10 PM
Post: #5
RE: Google analytics code - outside main.php
Thanks nyunyu Mdr
Find all posts by this user
Quote this message in a reply
02-01-2008, 07:52 PM
Post: #6
RE: Google analytics code - outside main.php
No prob Mdr
Glad I can be some help.

PR4 Proxy List
PR2 Proxy List
Custom Proxy Templates for FREE!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-29-2008, 05:50 AM
Post: #7
RE: Google analytics code - outside main.php
Don't you think it'd be a better idea to just goto http://www.yourproxy.com/setup.php and include it in the footer code?
Find all posts by this user
Quote this message in a reply
07-31-2008, 12:56 PM
Post: #8
RE: Google analytics code - outside main.php
Girish Wrote:Don't you think it'd be a better idea to just goto http://www.yourproxy.com/setup.php and include it in the footer code?

Hi,
I'm a noob to proxy field. Would you please help me how to add google analytics in proxy site and what benefit it would do to me.

Sorry for the dumb query....

Thanks in advance for your help.

99Browse.info
tutorialurl.com
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:

Contact UsWeb Proxy TalkReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication