FAQ AG Google Analytics
Configuring plugin Print
Written by Алексей Гордеев   
Saturday, 10 April 2010 16:12

The AG Google Analytics plugins configuration panels

Data on ip addresses will be available within a few hours and only from the moment when was installed and configured plugin. From the previous periods the ip addresses and user names will not be available.

Web Resource ID - Your ID is a Web resource, known informally as the number UA, can be found by clicking on "check status" while in the profile of your web resource. Id Web resource consists of two parts: the number of "X" (UA-XXXXX-YY) is the account number and the number of "Y" (UA-XXXXX-YY) - the profile number in your account. Full line (UA-XXXXX-YY) is used as an identifier of a Web resource.

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try { var pageTracker = _gat._getTracker("UA-XXXXXXXX-X");
pageTracker._trackPageview();
} catch(err) {}
</script>

IP Accounting visitors - Adds a tracker code variable VisitorCustomVar (1), the name of the variable user_ip, the value of the variable will be ip address of the visitor.

pageTracker._setCustomVar( 1, "user_ip", "XX.XX.XX.XX", 1 );

Accounting for the names of visitors - Adds a tracker code variable VisitorCustomVar (2), the name of the variable joomla_user, the value of the variable is the name of an authorized visitor.

pageTracker._setCustomVar( 2, "joomla_user", "nickname", 1 );

Add custom code - The field allows you to add a body tracker additional variables, events and methods.

pageTracker._addOrganic("yandex.ru","text");

Google verification - The field allows you to add a meta tag to identify the services Google Webmaster Tools.

<meta name="google-site-verification" content="23hGKSkYQYD7zojE4ss1wfjqPUjSXOKO3UrpXEIMjF0" />

Yahoo verification - The field allows you to add a meta tag to identify the service Yahoo Site Explorer.

<meta name="y_key" content="PUjSXOKO3UrpXEIMjF0" />

Bing verification - The field allows you to add a meta tag to identify the service Bing Webmaster Center.

<meta name="msvalidate.01" content="P44C5B458730C0E94F574467C9B9580" />

Yandex verification - The field allows you to add a meta tag identification service for service Yandex Webmaster.

<meta name="yandex-verification" content="P4ityfikvB9580" />

Custom name / Custom key - The field allows you to add a meta tag is something whose identity.

<meta name="custom_name" content="custom_key" />

All meta tags including the tracker code is inserted inside the tag <head>.........</head> .

Last Updated on Saturday, 24 April 2010 14:12