Add Google Analytics

From PGVWiki
Jump to navigation Jump to search

PhpGedView can automatically add the code required for Google Analytics.

There are two versions of the Google Analytics code. PhpGedView will generate the "new" version. This offers more features than the "old" version, but is incompatible with the Urchin Tracker software.

You need to obtain a user code from Google Analytics. This looks something like UA-XXXXX-XX. You then need to add the following line to the end of your config.php file.


The end of config.php should then look something like this:


This functionality was added in SVN3040 / release 4.1.6