<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.phpgedview.net/en/index.php?action=history&amp;feed=atom&amp;title=Add_Google_Analytics</id>
	<title>Add Google Analytics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.phpgedview.net/en/index.php?action=history&amp;feed=atom&amp;title=Add_Google_Analytics"/>
	<link rel="alternate" type="text/html" href="https://wiki.phpgedview.net/en/index.php?title=Add_Google_Analytics&amp;action=history"/>
	<updated>2026-05-15T12:35:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.phpgedview.net/en/index.php?title=Add_Google_Analytics&amp;diff=10963&amp;oldid=prev</id>
		<title>Fisharebest at 15:54, 11 May 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.phpgedview.net/en/index.php?title=Add_Google_Analytics&amp;diff=10963&amp;oldid=prev"/>
		<updated>2008-05-11T15:54:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;PhpGedView can automatically add the code required for [http://www.google-analytics.com/ Google Analytics].&lt;br /&gt;
&lt;br /&gt;
There are two versions of the Google Analytics code.  PhpGedView will generate the &amp;quot;new&amp;quot; version.  This offers more features than the &amp;quot;old&amp;quot; version, but is incompatible with the Urchin Tracker software.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
 define('PGV_GOOGLE_ANALYTICS', 'UA-XXXXX-XX');&lt;br /&gt;
&lt;br /&gt;
The end of config.php should then look something like this:&lt;br /&gt;
&lt;br /&gt;
 $CONFIGURED = true;&lt;br /&gt;
 require_once(&amp;quot;includes/session.php&amp;quot;);&lt;br /&gt;
 define('PGV_GOOGLE_ANALYTICS', 'UA-XXXXX-XX');&lt;br /&gt;
&lt;br /&gt;
This functionality was added in SVN3040 / release 4.1.6&lt;br /&gt;
&lt;br /&gt;
[[Category:How To]]&lt;/div&gt;</summary>
		<author><name>Fisharebest</name></author>
		
	</entry>
</feed>