How to add Google Analytics to your site ?
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



How to add Google Analytics to your site ? Expand / Collapse
Author
Message
Post #24034 Posted 5/1/2009 9:47:25 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/26/2009 4:26:30 AM
GenoPro Version: 2.b15c
Posts: 7, Visits: 25
Hi Guys,

I've had a read through the posts on 'statcounter' and the information is insightful but not clear. I want to add the short bit of javascript code supplied by Google Analytics for my (independently hosted) site, to almost every page (individuals, families, sources, places, pictures, etc).

Without doing it manually on over a thousand pages, I figured the obvious way is to modify the various templates supplied in the skin of my choosing and used for generating the report. The question is then, there are approximately 20 or so templates in the standard skin, do I have to add the code to each one of them or to only 6 of them or is there a way to develop an 'include'?

Any guidance would be appreciated.

Thanks Nial
Post #24045 Posted 5/6/2009 12:41:38 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/26/2009 4:26:30 AM
GenoPro Version: 2.b15c
Posts: 7, Visits: 25
Hi Guys,

I seem to have sorted it out on my own. For those of you who may have the same question I had, here is my solution that worked for me:

Modify the following files in the /skin folder for the skin you'll be using in your report. Simply add the code for Google Analytics to (index.htm, home.htm, individual.htm, family.htm, place.htm, source.htm, picture.htm, and entity.htm). Do not add the code to the default.htm file.

Enjoy.
Post #24868 Posted 10/30/2009 11:04:21 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 10/30/2009 11:02:44 AM
GenoPro Version: 2.0.1.6
Posts: 1, Visits: 5
I did same thing.
Everything is OK.
It works.
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 8:58 PM

Copyright 1998-2009 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.