<?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/"
		>
<channel>
	<title>Comments on: jQuery Google Analytics Tracking API Integration (ga.js)</title>
	<atom:link href="http://jamiethompson.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamiethompson.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/</link>
	<description>Web Developer</description>
	<lastBuildDate>Fri, 03 Feb 2012 14:06:18 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Christiaan Stegeman</title>
		<link>http://jamiethompson.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/comment-page-1/#comment-154</link>
		<dc:creator>Christiaan Stegeman</dc:creator>
		<pubDate>Sun, 01 Nov 2009 22:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://jamazon.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/#comment-154</guid>
		<description>Hi Jamie,

After implementing your script on my website I noticed that if you want to log a download url that has a question mark in it, that it doesn&#039;t work.
Example URL:
http://www.slimweb.org/mp3/Elektra2006-12Gauge.m3u?play=1

I added m3u as file extension and noticed that clicks were not logged. The script seems to think that the extension of the url is: m3u?play=1

The quickfix I made can be added after the following line:
var ext = u.split(&#039;.&#039;)[u.split(&#039;.&#039;).length - 1];

The fix:
if(ext.indexOf(&#039;?&#039;) &gt; -1) { ext = ext.split(&#039;?&#039;)[0]; }

I send you the comment and not the original author because you seem to have the most recent version.

Regards,

Chris</description>
		<content:encoded><![CDATA[<p>Hi Jamie,</p>
<p>After implementing your script on my website I noticed that if you want to log a download url that has a question mark in it, that it doesn&#8217;t work.<br />
Example URL:<br />
<a href="http://www.slimweb.org/mp3/Elektra2006-12Gauge.m3u?play=1" rel="nofollow">http://www.slimweb.org/mp3/Elektra2006-12Gauge.m3u?play=1</a></p>
<p>I added m3u as file extension and noticed that clicks were not logged. The script seems to think that the extension of the url is: m3u?play=1</p>
<p>The quickfix I made can be added after the following line:<br />
var ext = u.split(&#8216;.&#8217;)[u.split('.').length - 1];</p>
<p>The fix:<br />
if(ext.indexOf(&#8216;?&#8217;) &gt; -1) { ext = ext.split(&#8216;?&#8217;)[0]; }</p>
<p>I send you the comment and not the original author because you seem to have the most recent version.</p>
<p>Regards,</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://jamiethompson.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/comment-page-1/#comment-153</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Thu, 03 Sep 2009 13:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://jamazon.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/#comment-153</guid>
		<description>Has this been updated to use the newer ga.js script?</description>
		<content:encoded><![CDATA[<p>Has this been updated to use the newer ga.js script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Thompson</title>
		<link>http://jamiethompson.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/comment-page-1/#comment-152</link>
		<dc:creator>Jamie Thompson</dc:creator>
		<pubDate>Tue, 04 Nov 2008 12:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://jamazon.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/#comment-152</guid>
		<description>yeah, it kicks over at midnight. Glad you found the above script useful</description>
		<content:encoded><![CDATA[<p>yeah, it kicks over at midnight. Glad you found the above script useful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://jamiethompson.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/comment-page-1/#comment-151</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Tue, 04 Nov 2008 09:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://jamazon.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/#comment-151</guid>
		<description>After a night of sleep, GA seems to have caught up. Thanks for the plugin!</description>
		<content:encoded><![CDATA[<p>After a night of sleep, GA seems to have caught up. Thanks for the plugin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://jamiethompson.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/comment-page-1/#comment-150</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Tue, 04 Nov 2008 01:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://jamazon.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/#comment-150</guid>
		<description>Hi!

Tried this, but GA website don&#039;t see the script? Says tracking isn&#039;t installed..?</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Tried this, but GA website don&#8217;t see the script? Says tracking isn&#8217;t installed..?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brad</title>
		<link>http://jamiethompson.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/comment-page-1/#comment-149</link>
		<dc:creator>brad</dc:creator>
		<pubDate>Mon, 25 Aug 2008 15:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://jamazon.co.uk/web/2008/03/26/jquery-google-analytics-tracking-api-integration-gajs/#comment-149</guid>
		<description>Thanks for this. I&#039;m about to use this for a client site, I&#039;ll let you know how it works out.

Have you submitted this to the plug-in repository at jquery.com?</description>
		<content:encoded><![CDATA[<p>Thanks for this. I&#8217;m about to use this for a client site, I&#8217;ll let you know how it works out.</p>
<p>Have you submitted this to the plug-in repository at jquery.com?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

