<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>(function() { &#187; analytics</title>
	<atom:link href="http://maxb.net/blog/tag/analytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxb.net/blog</link>
	<description>// MAXB.NET LABS</description>
	<lastBuildDate>Mon, 16 May 2011 19:12:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>jAnalytics 1.0</title>
		<link>http://maxb.net/blog/2009/02/20/janalytics-10/</link>
		<comments>http://maxb.net/blog/2009/02/20/janalytics-10/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 14:16:51 +0000</pubDate>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://maxb.net/blog/?p=182</guid>
		<description><![CDATA[Dopo vari test di compatibilità finalmente sono riuscito a trovare la quadra per avere un wrapper a Google Analytics un po&#8217; più flessibile e non intrusivo. Il codice è testato su: Internet explorer 6 e 7 Firefox 3 e 3.1b2 &#8230; <a href="http://maxb.net/blog/2009/02/20/janalytics-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Dopo vari test di compatibilità finalmente sono riuscito a trovare la quadra per avere un wrapper a Google Analytics un po&#8217; più flessibile e non intrusivo.</p>
<p>Il codice è testato su:</p>
<p>Internet explorer 6 e 7<br />
Firefox 3 e 3.1b2<br />
Safari 3.2.1 (winxp)<br />
Opera 9.63</p>
<p>Dipende da:</p>
<p><a target="_blank" href="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js">jQuery 1.3.1</a><br />
<a target="_blank" href="http://jqueryjs.googlecode.com/svn/tags/plugins/metadata/2.0/jquery.metadata.js">jQuery Metadata</a></p>
<p>Istruzioni per l&#8217;uso:</p>
<p>0: PREREQUISITI BASE &#8211; SCRIPTS</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script src=&quot;jquery-1.3.1.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;jquery.metadata.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;janalytics.pack.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>1: PREREQUISITI BASE &#8211; HTML ELEMENT</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;analytics&quot; class=&quot;UA-258871-1&quot;&gt;&lt;/div&gt;
</pre>
<p>2: DEBUG</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;analytics&quot; class=&quot;UA-258871-1 {debug : true}&quot;&gt;&lt;/div&gt;
</pre>
<p>3: DOMAIN LIMIT</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;analytics&quot; class=&quot;UA-258871-1 {host : 'maxb.net'}&quot;&gt;&lt;/div&gt;
</pre>
<p>* questa opzione è molto utile. Spesso rilasciando codice con demo html con dentro lo snippet di codice di google analytics mi vedo nei report statistiche generate da prove in locale o addirittura da siti esterni. <a href="http://www.touchofdeathgaming.com/smo/">questo sito</a> per dire mi ha completamente sballato le statistiche di ycodaslider (5000 click non miei).</p>
<p>4: CLICK TRACKING</p>
<pre class="brush: xml; title: ; notranslate">
&lt;a href=&quot;#&quot; class=&quot;tracking {label: '/janalytics/rev53'}&quot;&gt;click me&lt;/a&gt;&lt;br /&gt;
</pre>
<p><a target="_blank" href="http://maxb.net/scripts/janalytics/janalytics.js">JS</a><br />
<a target="_blank" href="http://maxb.net/scripts/janalytics/janalytics.pack.js">PACKED</a><br />
<a target="_blank" href="http://maxb.net/scripts/janalytics/demo/">DEMO</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maxb.net/blog/2009/02/20/janalytics-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

