Results 1 to 3 of 3

Thread: Where to put Google Analytics?

  1. #1
    Join Date
    Mar 2010

    Default Where to put Google Analytics?

    I need to add the Google Analytics code, and I'm not sure which pages to add it to, and, once I know the pages, do I go directly to the pages html or php file and add it their, or do I do via the admin page editor? And if its in the html or php, does it matter where in the code I add it? Thank you for any suggestions!

  2. #2
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003

    Default Re: Where to put Google Analytics?

    You would add it to your main.html template file probably.

    Where in a HTML document specifically does google recommend you place their code?
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519

    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  3. #3
    Join Date
    Jul 2003

    Default Re: Where to put Google Analytics?

    Place it in your main.html file before the closing </head> tag per the instructions in Google Analytics. If you have more than one main template file, for example page1_main.html etc then you will need to place it inside each of those templates as well in the same location. I personally use an include in each of these files so I only have to change the code once when/if needed.
    Open-Realty 2 Documentation

    ~The Difference Between an ORDEAL and an ADVENTURE is ATTITUDE~

Similar Threads

  1. How to display data using google analytics?
    By pradeep273 in forum General Discussion
    Replies: 1
    Last Post: 12-26-2009, 09:15 PM
  2. can`t add google analytics code
    By raschidt in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 0
    Last Post: 02-03-2009, 12:57 PM
  3. can`t add google analytics code
    By raschidt in forum General Discussion
    Replies: 0
    Last Post: 02-03-2009, 12:57 PM
  4. google analytics
    By edtaa in forum Language help, ideas, discussion & Releases (CLOSED)
    Replies: 1
    Last Post: 12-14-2008, 07:09 PM
  5. Google analytics page tracking
    By Yellowcake in forum General Help (CLOSED)
    Replies: 1
    Last Post: 10-17-2008, 12:45 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts