<?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: SWFAddress and the new Google Analytics (ga.js)</title>
	<atom:link href="http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/</link>
	<description>Flash, ActionScript, SEO and everything in between</description>
	<lastBuildDate>Sat, 04 Feb 2012 08:16:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mecanographik</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-5857</link>
		<dc:creator>Mecanographik</dc:creator>
		<pubDate>Wed, 12 Jan 2011 16:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-5857</guid>
		<description>Thanks for this post but here is the last release :
With the new GA and SWFAddress 2.4, the GA tracking through SWFAddress doesnt work anymore. Thats because the ‘pageTracker’ that SWFAddress uses no longer exists. All you would have to do to make it work is to add the following line at the end of the GA script: :

var pageTracker = {    _trackPageview: function (url) {_gaq.push ([&#039;_trackPageview&#039;, url ]);}}; 

This creates that ‘pageTracker’ that SWFAddress needs to track through GA. So now it looks like this:


          var _gaq = _gaq &#124;&#124; [];
          _gaq.push([&#039;_setAccount&#039;, &#039;xx-xxxxxxxx-x&#039;]);
          _gaq.push([&#039;_trackPageview&#039;]);
          (function() {
            var ga = document.createElement(&#039;script&#039;); ga.type = &#039;text/javascript&#039;;
        ga.async = true;
            ga.src = (&#039;https:&#039; == document.location.protocol ? &#039;https://ssl&#039; :
        &#039;http://www&#039;) + &#039;.google-analytics.com/ga.js&#039;;
            var s = document.getElementsByTagName(&#039;script&#039;)[0];
        s.parentNode.insertBefore(ga, s);
          })();

        // Tracker for SWFAddress
        var pageTracker = {    _trackPageview: function (url) {_gaq.push ([&#039;_trackPageview&#039;, url ]);}}; 


Just check out the following post:
http://activeden.net/forums/thread/swfaddress-google-analytics/37460</description>
		<content:encoded><![CDATA[<p>Thanks for this post but here is the last release :<br />
With the new GA and SWFAddress 2.4, the GA tracking through SWFAddress doesnt work anymore. Thats because the ‘pageTracker’ that SWFAddress uses no longer exists. All you would have to do to make it work is to add the following line at the end of the GA script: :</p>
<p>var pageTracker = {    _trackPageview: function (url) {_gaq.push (['_trackPageview', url ]);}}; </p>
<p>This creates that ‘pageTracker’ that SWFAddress needs to track through GA. So now it looks like this:</p>
<p>          var _gaq = _gaq || [];<br />
          _gaq.push(['_setAccount', 'xx-xxxxxxxx-x']);<br />
          _gaq.push(['_trackPageview']);<br />
          (function() {<br />
            var ga = document.createElement(&#8216;script&#8217;); ga.type = &#8216;text/javascript&#8217;;<br />
        ga.async = true;<br />
            ga.src = (&#8216;https:&#8217; == document.location.protocol ? &#8216;<a href="https://ssl" rel="nofollow">https://ssl</a>&#8216; :<br />
        &#8216;<a href="http://www" rel="nofollow">http://www</a>&#8216;) + &#8216;.google-analytics.com/ga.js&#8217;;<br />
            var s = document.getElementsByTagName(&#8216;script&#8217;)[0];<br />
        s.parentNode.insertBefore(ga, s);<br />
          })();</p>
<p>        // Tracker for SWFAddress<br />
        var pageTracker = {    _trackPageview: function (url) {_gaq.push (['_trackPageview', url ]);}}; </p>
<p>Just check out the following post:<br />
<a href="http://activeden.net/forums/thread/swfaddress-google-analytics/37460" rel="nofollow">http://activeden.net/forums/thread/swfaddress-google-analytics/37460</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Hodges</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-5612</link>
		<dc:creator>Philip Hodges</dc:creator>
		<pubDate>Fri, 26 Nov 2010 08:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-5612</guid>
		<description>Thanks Mark.</description>
		<content:encoded><![CDATA[<p>Thanks Mark.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murdoch</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-5352</link>
		<dc:creator>Murdoch</dc:creator>
		<pubDate>Wed, 04 Aug 2010 06:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-5352</guid>
		<description>Thank you very much. As Dmitar has fairly commented, this code still works prefectly in 2010. Cheers.</description>
		<content:encoded><![CDATA[<p>Thank you very much. As Dmitar has fairly commented, this code still works prefectly in 2010. Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitar</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-5209</link>
		<dc:creator>Dmitar</dc:creator>
		<pubDate>Wed, 16 Jun 2010 11:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-5209</guid>
		<description>&lt;a href=&quot;#comment-1772&quot; rel=&quot;nofollow&quot;&gt;@ Mark Kemper&lt;/a&gt; 
Thanks, Mark this worked for me in 2010 :-)</description>
		<content:encoded><![CDATA[<p><a href="#comment-1772" rel="nofollow">@ Mark Kemper</a><br />
Thanks, Mark this worked for me in 2010 <img src='http://www.zedia.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fun with Google Analytics in the Flash IDE with AS3 &#171; timshaya</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-4713</link>
		<dc:creator>Fun with Google Analytics in the Flash IDE with AS3 &#171; timshaya</dc:creator>
		<pubDate>Fri, 08 Jan 2010 18:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-4713</guid>
		<description>[...] for Google Analytics tracking There&#8217;s a way to use SWFaddress 2.0 together with ga.js to track page views in Flash [...]</description>
		<content:encoded><![CDATA[<p>[...] for Google Analytics tracking There&#8217;s a way to use SWFaddress 2.0 together with ga.js to track page views in Flash [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hurby</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-4642</link>
		<dc:creator>Hurby</dc:creator>
		<pubDate>Thu, 17 Dec 2009 17:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-4642</guid>
		<description>Google analytics  doesn’t take the “#” to the link it tracks. So when u click “view this page”, it will bring u to the wrong url. Does anybody have a solution.</description>
		<content:encoded><![CDATA[<p>Google analytics  doesn’t take the “#” to the link it tracks. So when u click “view this page”, it will bring u to the wrong url. Does anybody have a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-3865</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 28 Jul 2009 14:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-3865</guid>
		<description>&lt;a href=&quot;#comment-1772&quot; rel=&quot;nofollow&quot;&gt;@ Mark Kemper&lt;/a&gt; 

Hi Mark,

U want to say that the following code will work?:


			try {
            var pageTracker = _gat._getTracker(&quot;UA-xxxxxxxxx&quot;);
            pageTracker._initData();
            SWFAddress.setTracker(pageTracker._trackPageview);
			} catch(err) {}


Do I have to add some code to awfaddress.js or to leave it as it is? would U show me a website with a working example. 

P.S. I use SWFaddress 2.3 and SWFobject 2 in my head tag.</description>
		<content:encoded><![CDATA[<p><a href="#comment-1772" rel="nofollow">@ Mark Kemper</a> </p>
<p>Hi Mark,</p>
<p>U want to say that the following code will work?:</p>
<p>			try {<br />
            var pageTracker = _gat._getTracker(&#8220;UA-xxxxxxxxx&#8221;);<br />
            pageTracker._initData();<br />
            SWFAddress.setTracker(pageTracker._trackPageview);<br />
			} catch(err) {}</p>
<p>Do I have to add some code to awfaddress.js or to leave it as it is? would U show me a website with a working example. </p>
<p>P.S. I use SWFaddress 2.3 and SWFobject 2 in my head tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zedia.net</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-3863</link>
		<dc:creator>zedia.net</dc:creator>
		<pubDate>Thu, 23 Jul 2009 17:48:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-3863</guid>
		<description>&lt;a href=&quot;#comment-3862&quot; rel=&quot;nofollow&quot;&gt;@ Zach Foley&lt;/a&gt; 
Because GA for Flash didn&#039;t exist at the time I wrote this, events weren&#039;t even out yet. Now it&#039;s a whole new ball game.</description>
		<content:encoded><![CDATA[<p><a href="#comment-3862" rel="nofollow">@ Zach Foley</a><br />
Because GA for Flash didn&#8217;t exist at the time I wrote this, events weren&#8217;t even out yet. Now it&#8217;s a whole new ball game.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach Foley</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-3862</link>
		<dc:creator>Zach Foley</dc:creator>
		<pubDate>Thu, 23 Jul 2009 17:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-3862</guid>
		<description>Why not use ga for flash and track events from there?</description>
		<content:encoded><![CDATA[<p>Why not use ga for flash and track events from there?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/comment-page-1/#comment-3652</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Wed, 10 Jun 2009 18:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/2008/swfaddress-and-the-new-google-analytics-gajs/#comment-3652</guid>
		<description>Hey everyone,

I&#039;m having a heck of a time getting this to work for some reason. I&#039;ve included the code just as described above but my Google Analytics insists the tracking code isn&#039;t installed.

At www.bryanbeca.ca, view the source. Can anybody help me? I&#039;ll be eternally grateful.</description>
		<content:encoded><![CDATA[<p>Hey everyone,</p>
<p>I&#8217;m having a heck of a time getting this to work for some reason. I&#8217;ve included the code just as described above but my Google Analytics insists the tracking code isn&#8217;t installed.</p>
<p>At <a href="http://www.bryanbeca.ca" rel="nofollow">http://www.bryanbeca.ca</a>, view the source. Can anybody help me? I&#8217;ll be eternally grateful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

