<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for dvdsmpsn's blog has moved elsewhere</title>
	<atom:link href="http://dvdsmpsn.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://dvdsmpsn.wordpress.com</link>
	<description>has moved to http://davidsimpson.me/</description>
	<lastBuildDate>Fri, 27 Mar 2009 21:28:57 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by eleventh.attempt</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-29</link>
		<dc:creator>eleventh.attempt</dc:creator>
		<pubDate>Fri, 27 Mar 2009 21:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-29</guid>
		<description>Where is the outgoing links info displayed in GoogAnal</description>
		<content:encoded><![CDATA[<p>Where is the outgoing links info displayed in GoogAnal</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by dvdsmpsn</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-13</link>
		<dc:creator>dvdsmpsn</dc:creator>
		<pubDate>Fri, 30 Jan 2009 21:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-13</guid>
		<description>@Erik:
I&#039;m glad it&#039;s working for you - please let me know the sites you&#039;ve got it on.

Sorry - I guess I could have compressed it, but when we build our javascript, we compress many files into one, so it&#039;s of no use to me ;-)</description>
		<content:encoded><![CDATA[<p>@Erik:<br />
I&#8217;m glad it&#8217;s working for you &#8211; please let me know the sites you&#8217;ve got it on.</p>
<p>Sorry &#8211; I guess I could have compressed it, but when we build our javascript, we compress many files into one, so it&#8217;s of no use to me <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by Erik Karulf</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-12</link>
		<dc:creator>Erik Karulf</dc:creator>
		<pubDate>Tue, 14 Oct 2008 02:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-12</guid>
		<description>I just wanted to say thanks. We have this in testing over on our site and it has worked like a dream. I&#039;ll let you know when we get a compressed version uploaded.</description>
		<content:encoded><![CDATA[<p>I just wanted to say thanks. We have this in testing over on our site and it has worked like a dream. I&#8217;ll let you know when we get a compressed version uploaded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by dvdsmpsn</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-11</link>
		<dc:creator>dvdsmpsn</dc:creator>
		<pubDate>Sun, 28 Sep 2008 23:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-11</guid>
		<description>@Harri:
Thanks.  I&#039;ll get it updated.</description>
		<content:encoded><![CDATA[<p>@Harri:<br />
Thanks.  I&#8217;ll get it updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by Harri Kauhanen</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-10</link>
		<dc:creator>Harri Kauhanen</dc:creator>
		<pubDate>Sun, 28 Sep 2008 19:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-10</guid>
		<description>Great plugin! Thanks! One problem though...

Using $.getScript will reload ga.js from google every time a page is requested. I fixed it by creating a function with the following code:

return jQuery.ajax({
	type: &quot;GET&quot;,
	url: gaScriptURL,
	dataType: &quot;script&quot;,
	cache: true,
	success: function() {	setupTracking(); }
});

The essential part is to pass parameter cache: true. Now, jQuery will not force reloading the script every time.</description>
		<content:encoded><![CDATA[<p>Great plugin! Thanks! One problem though&#8230;</p>
<p>Using $.getScript will reload ga.js from google every time a page is requested. I fixed it by creating a function with the following code:</p>
<p>return jQuery.ajax({<br />
	type: &#8220;GET&#8221;,<br />
	url: gaScriptURL,<br />
	dataType: &#8220;script&#8221;,<br />
	cache: true,<br />
	success: function() {	setupTracking(); }<br />
});</p>
<p>The essential part is to pass parameter cache: true. Now, jQuery will not force reloading the script every time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by Tim</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-8</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 21 Jul 2008 13:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-8</guid>
		<description>Ops sorry about the html (with square brackets):

[a href=&quot;/order/?li=241&amp;vi=167&amp;act=add&quot; class=&quot;upsellt&quot; title=&quot;Classic+Wax+100g&quot;][img src=&quot;/img/bYes.png&quot; /][/a]</description>
		<content:encoded><![CDATA[<p>Ops sorry about the html (with square brackets):</p>
<p>[a href="/order/?li=241&amp;vi=167&amp;act=add" class="upsellt" title="Classic+Wax+100g"][img src="/img/bYes.png" /][/a]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by Tim</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-7</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 21 Jul 2008 10:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-7</guid>
		<description>Thanks for getting back to me, I&#039;ve done something similar however as my upsell links are image buttons (so no text) I&#039;ve done the following (the user has the choice in upgrading or not hence the true/false):

    
        $.jGoogleAnalytics(
            &#039;UA-123456-7&#039;,
            {
            evalClickEvents: {
                &#039;.upsellt&#039;: &quot;&#039;/upsell/true/&#039; + $(this).attr(&#039;title&#039;)&quot;,
                &#039;.upsellf&#039;: &quot;&#039;/upsell/false/&#039; + $(this).attr(&#039;title&#039;)&quot;
            }
            }
        );
    

And here&#039;s the relevant HTML:
&lt;a href=&quot;/order/?li=239&amp;vi=167&amp;act=add&quot; title=&quot;Classic+Wax+100g&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;

But I can&#039;t see the upsell being logged anywhere in Google (but the page hits are).

Any ideas?

Tim</description>
		<content:encoded><![CDATA[<p>Thanks for getting back to me, I&#8217;ve done something similar however as my upsell links are image buttons (so no text) I&#8217;ve done the following (the user has the choice in upgrading or not hence the true/false):</p>
<p>        $.jGoogleAnalytics(<br />
            &#8216;UA-123456-7&#8242;,<br />
            {<br />
            evalClickEvents: {<br />
                &#8216;.upsellt&#8217;: &#8220;&#8216;/upsell/true/&#8217; + $(this).attr(&#8216;title&#8217;)&#8221;,<br />
                &#8216;.upsellf&#8217;: &#8220;&#8216;/upsell/false/&#8217; + $(this).attr(&#8216;title&#8217;)&#8221;<br />
            }<br />
            }<br />
        );</p>
<p>And here&#8217;s the relevant HTML:<br />
<a href="/order/?li=239&amp;vi=167&amp;act=add" title="Classic+Wax+100g" rel="nofollow"></a></p>
<p>But I can&#8217;t see the upsell being logged anywhere in Google (but the page hits are).</p>
<p>Any ideas?</p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by dvdsmpsn</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-6</link>
		<dc:creator>dvdsmpsn</dc:creator>
		<pubDate>Fri, 18 Jul 2008 20:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-6</guid>
		<description>Tim: If your upselling links had a parent container with a class name of &quot;upsell&quot;, e.g.

&lt;code&gt;
[ul class=&quot;upsell&quot;]
	[li][a href=&quot;http://example1.com&quot;]Example 1[/a][/li]
	[li][a href=&quot;http://example2.com&quot;]Example 2[/a][/li]
	[li][a href=&quot;http://example3.com&quot;]Example 3[/a][/li]
[/ul]
&lt;/code&gt;
...sorry for the square brackets

Your call to jGoogleAnalytics would be:
&lt;code&gt;
$.jGoogleAnalytics( &#039;UA-XXXXXX-X&#039;, evalClickEvents:  {&#039;.upsell a&#039;: &quot;&#039;/upsell/&#039;+ $(this).text()&quot;} );
&lt;/code&gt;

This registers a click event for each anchor in the .upsell container, evaluates the link text and send it to GA.

The page impressions in GA for each link above would read:
/upsell/Example 1
/upsell/Example 2
/upsell/Example 3
</description>
		<content:encoded><![CDATA[<p>Tim: If your upselling links had a parent container with a class name of &#8220;upsell&#8221;, e.g.</p>
<p><code><br />
[ul class="upsell"]<br />
	[li][a href="http://example1.com"]Example 1[/a][/li]<br />
	[li][a href="http://example2.com"]Example 2[/a][/li]<br />
	[li][a href="http://example3.com"]Example 3[/a][/li]<br />
[/ul]<br />
</code><br />
&#8230;sorry for the square brackets</p>
<p>Your call to jGoogleAnalytics would be:<br />
<code><br />
$.jGoogleAnalytics( 'UA-XXXXXX-X', evalClickEvents:  {'.upsell a': "'/upsell/'+ $(this).text()"} );<br />
</code></p>
<p>This registers a click event for each anchor in the .upsell container, evaluates the link text and send it to GA.</p>
<p>The page impressions in GA for each link above would read:<br />
/upsell/Example 1<br />
/upsell/Example 2<br />
/upsell/Example 3</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by Bert</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-5</link>
		<dc:creator>Bert</dc:creator>
		<pubDate>Fri, 18 Jul 2008 12:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-5</guid>
		<description>Great stuff!</description>
		<content:encoded><![CDATA[<p>Great stuff!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jGoogleAnalytics &#8211; Google Analytics integration for jQuery by Tim</title>
		<link>http://dvdsmpsn.wordpress.com/2008/06/18/jgoogleanalytics-google-analytics-integration-for-jquery/#comment-4</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 08 Jul 2008 14:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://dvdsmpsn.wordpress.com/?p=3#comment-4</guid>
		<description>Hi,

Thanks for this, it looks like a good upgrade from Jason Huck&#039;s code, I&#039;m interested how I can track events that only happen on a single page (so shouldn&#039;t be wired up throughout the site). e.g. Upselling, at the moment we do this onclick: javascript:urchinTracker(&#039;/upsold/false/Some-Item&#039;);

Is that possible with your code?

Tim</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for this, it looks like a good upgrade from Jason Huck&#8217;s code, I&#8217;m interested how I can track events that only happen on a single page (so shouldn&#8217;t be wired up throughout the site). e.g. Upselling, at the moment we do this onclick: javascript:urchinTracker(&#8216;/upsold/false/Some-Item&#8217;);</p>
<p>Is that possible with your code?</p>
<p>Tim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
