This Help forum is for issues relates to the latest release (1.2.x). For issues related to beta or svn version please use their own Help forum.
When requesting help please provide as much information as possible. Explain what version of webtrees, PHP and MYSQL you are using. If possible provide a URL to your site so we can see the problem first-hand.
Tip: Think about putting these details in your signature, so it appears in the footer of ALL your messages
  • Page:
  • 1

TOPIC:

where is the best place for google stats code? 8 years 11 months ago #1

  • sinedv
  • sinedv's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
Hello,
I'd like to monitor my webtrees sites with google stats.
where is the best place to add the google stats code?
at the moment, I try to add the code in the themes\webtrees\footer.php

thanks in advance for your help.
webtrees 2.0.9 PHP 7.4

Please Log in or Create an account to join the conversation.

Re: where is the best place for google stats code? 8 years 11 months ago #2

  • ToyGuy
  • ToyGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Posts: 4925
You have posted in English on the French site ??
Use the custom javascript to add Google analytics (is that what you meant by Google stats?)

Vous avez posté en anglais sur le site français?
Utilisez le javascript personnalisé pour ajouter Google analytics (est-ce que vous entendez par Google stats?)
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28

Please Log in or Create an account to join the conversation.

Re: where is the best place for google stats code? 8 years 11 months ago #3

  • kiwi
  • kiwi's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 4986

ToyGuy wrote: Use the custom javascript to add Google analytics (is that what you meant by Google stats?)

That is here:
webtrees.net/en/add-ons/modules/viewdownload/2/92
Nigel

www.our-families.info

Hosted at:
Follow me at:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum