|
|
|
Forum 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
|
|
|
|
|
Forum 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.
|
|
|
|
|
Forum Newbie
      
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.
|
|
|
|