Real Estate Forums

Real Estate and Google By far the leader of the Search Engine Pack, a real estate site ranking at the top of Google, is an amazingly powerful lead generation tool. Discuss how to rank your real estate site in Google HERE!

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-31-2008, 01:31 AM
Mark Z's Avatar
Mark Z Mark Z is offline
REW Client
 
Join Date: Sep 2007
Location: Commerce Township, MI
Posts: 489
Mark Z is on a distinguished road
Default Adding Google Analytics To Each Page

When REW created my site they set up my google analytics code somewhere in the site so I don't have to add it to every page, somehow it's just automatically added to every new page I make, but they only put the code in one time. I am in the process of creating a new site and was wondering if someone new where to add the analytics code so it works the same way and I don't have to worry about adding it to each page?

I'm also having another problem it says to add it immediately before the </body> tag in the html source code, so I do that and when get back in the regular viewing mode I can see the code which I shouldn't be able to see. Any idea what I could be doing wrong?
__________________
MARK Z. Real Estate Team

Coldwell Banker Real Estate
Northville, MI 48168
(248) 937-1337
Northville MI Real Estate
Michigan Divorce Attorney
Metro Detroit Real Estate Blog

Servicing the entire Metropolitan Detroit Real Estate market. If you know of anyone looking to relocate to Michigan, call me with their name and number. I am willing to pay you up to a 30% referral fee.
Reply With Quote
Old 05-31-2008, 05:03 AM
Web Agent's Avatar
Web Agent Web Agent is offline
Uber Real Estate Webmaster
 
Join Date: Mar 2007
Location: Greenville, SC
Posts: 504
Web Agent is on a distinguished road
Default Re: Adding Google Analytics To Each Page

If you have CMS 2, click TOOLS on the navigation and there is a box there for your Google Analytics code.
__________________
Eddy Kicker
Greenville SC Relocation Specialist
Greenville SC Real Estate
Simpsonville SC Real Estate
Greer SC Real Estate
Reply With Quote
Old 05-31-2008, 06:39 AM
Mark Z's Avatar
Mark Z Mark Z is offline
REW Client
 
Join Date: Sep 2007
Location: Commerce Township, MI
Posts: 489
Mark Z is on a distinguished road
Default Re: Adding Google Analytics To Each Page

I am using Joomla
__________________
MARK Z. Real Estate Team

Coldwell Banker Real Estate
Northville, MI 48168
(248) 937-1337
Northville MI Real Estate
Michigan Divorce Attorney
Metro Detroit Real Estate Blog

Servicing the entire Metropolitan Detroit Real Estate market. If you know of anyone looking to relocate to Michigan, call me with their name and number. I am willing to pay you up to a 30% referral fee.
Reply With Quote
Old 05-31-2008, 09:59 AM
RonnieG's Avatar
RonnieG RonnieG is offline
Uber Real Estate Webmaster
 
Join Date: Sep 2005
Location: Denver, Colorado
Posts: 1,083
RonnieG is on a distinguished road
Default Re: Adding Google Analytics To Each Page

Mark,
I wish we had discussed this further yesterday! I didn't realize the site was in Joomla! In Joomla, you can automatically put the Analytics code in every page by putting it in one place.

In /templates/<templatename>/index.php, put the GA code at the end, after the debug include statement and before the </body> tag, like this, changing the UA code to the one for your GA account:

<jdoc:include type="modules" name="debug" />

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-999999-0");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</body>
</html>

Since the template index.php file is called when constructing every page, the GA code will be on every page. The same technique and location works for HitTail and any other special code you need on every page.

This is template specific. There are Joomla mods that can be installed to make it template independent, but you and your website consultants would need to install and implement those from the administrator backend.
__________________
Ron Goodman, GRI, REALTORŪ
Prudential Colorado Real Estate
Denver Colorado Real Estate: Highlands Ranch, Parker, Littleton, Castle Rock
Adwords for Real Estate: PPC Setup Services & Consulting

Last edited by RonnieG; 05-31-2008 at 10:06 AM.
Reply With Quote
Old 05-31-2008, 10:15 AM
Mark Z's Avatar
Mark Z Mark Z is offline
REW Client
 
Join Date: Sep 2007
Location: Commerce Township, MI
Posts: 489
Mark Z is on a distinguished road
Default Re: Adding Google Analytics To Each Page

Is </body> the same as </p> because I don't have anything that says </body> and as far as the index page would this also be the home page? Sorry for silly questions but all this programing is new to me and my website designer is out of town until next week.
__________________
MARK Z. Real Estate Team

Coldwell Banker Real Estate
Northville, MI 48168
(248) 937-1337
Northville MI Real Estate
Michigan Divorce Attorney
Metro Detroit Real Estate Blog

Servicing the entire Metropolitan Detroit Real Estate market. If you know of anyone looking to relocate to Michigan, call me with their name and number. I am willing to pay you up to a 30% referral fee.
Reply With Quote
Old 05-31-2008, 10:51 AM
RonnieG's Avatar
RonnieG RonnieG is offline
Uber Real Estate Webmaster
 
Join Date: Sep 2005
Location: Denver, Colorado
Posts: 1,083
RonnieG is on a distinguished road
Default Re: Adding Google Analytics To Each Page

You will not find that file or be able to edit it in the Joomla CMS. You have to do it to the raw source in the server folder/file I mentioned. That means you need to make a backup of the file before you change anything, ftp the file from the server to your local disk, make the changes, then ftp the modified file back up to the server. If your ftp client supports direct editing on the server, like the one I use: WSftp Pro, then you can skip the download/upload steps, but still be sure to make a backup of the original file on the server in case it has to be restored later. If you don't have ftp access to the root directory of your Joomla site, your website's support/development folks will need to do this for you.
__________________
Ron Goodman, GRI, REALTORŪ
Prudential Colorado Real Estate
Denver Colorado Real Estate: Highlands Ranch, Parker, Littleton, Castle Rock
Adwords for Real Estate: PPC Setup Services & Consulting
Reply With Quote
Old 05-31-2008, 07:34 PM
Daniel Gaitan's Avatar
Daniel Gaitan Daniel Gaitan is offline
Real Estate Web Guru
 
Join Date: Nov 2007
Location: San Antonio, TX
Posts: 445
Daniel Gaitan is on a distinguished road
Default Re: Adding Google Analytics To Each Page

Any particular reason why your using Joomla?
__________________
Daniel Gaitan, REALTORŪ
Trend Setter Realty
San Antonio, Texas
(210) 846-5282
San Antonio Real Estate | San Antonio MLS | San Antonio Builders
Reply With Quote
Old 05-31-2008, 10:07 PM
Mark Z's Avatar
Mark Z Mark Z is offline
REW Client
 
Join Date: Sep 2007
Location: Commerce Township, MI
Posts: 489
Mark Z is on a distinguished road
Default Re: Adding Google Analytics To Each Page

Joomla is what the web designer chose to control the back office. And I have always heard Joomla is one of the best content management systems out there.
__________________
MARK Z. Real Estate Team

Coldwell Banker Real Estate
Northville, MI 48168
(248) 937-1337
Northville MI Real Estate
Michigan Divorce Attorney
Metro Detroit Real Estate Blog

Servicing the entire Metropolitan Detroit Real Estate market. If you know of anyone looking to relocate to Michigan, call me with their name and number. I am willing to pay you up to a 30% referral fee.
Reply With Quote
Old 06-01-2008, 10:00 AM
RonnieG's Avatar
RonnieG RonnieG is offline
Uber Real Estate Webmaster
 
Join Date: Sep 2005
Location: Denver, Colorado
Posts: 1,083
RonnieG is on a distinguished road
Default Re: Adding Google Analytics To Each Page

Quote:
Originally Posted by Daniel Gaitan View Post
Any particular reason why your using Joomla?
Like most current CMS platforms, it is a great extensible platform for website designers and developers who have clients that maintain their own content. I use Joomla for my non-RE personal site. REW has spoiled me on CMS technologies, and the Joomla CMS has a huge base of open source and commercial templates, mods and plug-ins available from hundreds of developers. My Joomla genealogy site allows author/editor collaboration, has a roles-based security system, and integrates nicely with my SMS forum. In one of my earlier Joomla thread posts, I commented that the latest Joomla would be a great REW 3.0 platform, since it does have such a wealth of open source mods that could greatly enhance our REW environment, relatively easily for the REW developers, since Joomla and its various mods are PHP and MySQL based.
__________________
Ron Goodman, GRI, REALTORŪ
Prudential Colorado Real Estate
Denver Colorado Real Estate: Highlands Ranch, Parker, Littleton, Castle Rock
Adwords for Real Estate: PPC Setup Services & Consulting
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Page Rank riefderrico Real Estate and Google 21 04-24-2008 12:27 PM
Google Analytics ColoradoHomeFinder Work Orders 1 03-21-2008 11:43 AM
Google Analytics question erinonline Real Estate and Google 5 04-16-2007 08:17 AM



For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 02:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.