<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: [Plugin: Google Analytics for WordPress] Problem with german GA and full URL tracking</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: [Plugin: Google Analytics for WordPress] Problem with german GA and full URL tracking</description>
<language>en</language>
<pubDate>Wed, 25 Nov 2009 22:39:38 +0000</pubDate>

<item>
<title>onelargeprawn on "[Plugin: Google Analytics for WordPress] Problem with german GA and full URL tracking"</title>
<link>http://wordpress.org/support/topic/277019#post-1097099</link>
<pubDate>Wed, 10 Jun 2009 10:51:01 +0000</pubDate>
<dc:creator>onelargeprawn</dc:creator>
<guid isPermaLink="false">1097099@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi RokBlog,&#60;/p&#62;
&#60;p&#62;I've asked here for assistance here about an onclick tracking issues with GA and domains with two dots (e.g. .co.za) but no one has replied so I wonder if you can offer some assistance?&#60;/p&#62;
&#60;p&#62;My support topic is at &#60;a href=&#34;http://wordpress.org/support/topic/274888&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/topic/274888&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks in advance.
&#60;/p&#62;</description>
</item>
<item>
<title>RokBlog on "[Plugin: Google Analytics for WordPress] Problem with german GA and full URL tracking"</title>
<link>http://wordpress.org/support/topic/277019#post-1093457</link>
<pubDate>Sat, 06 Jun 2009 10:08:28 +0000</pubDate>
<dc:creator>RokBlog</dc:creator>
<guid isPermaLink="false">1093457@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi, first i would like to thank you for your great plugin. Very good work and exactly what i was looking for!&#60;/p&#62;
&#60;p&#62;I need to track the full URLs for outbound links. This works ok:&#60;br /&#62;
onclick-Handler is set, GA receives the data, so everything would be fine, except:&#60;br /&#62;
I use the german, localized GA, and when i click through &#34;/outbound/&#34; &#34;/article/&#34;, the next clickable item is: &#34;/http:/&#34; and thats the problem. It should be &#34;/http://&#34;. The only way to workaround is to manually add %2f in the URL-field of the browser to get the outbounding URLs displayed.&#60;/p&#62;
&#60;p&#62;Because this sucks, i hacked the googleanalytics.php to skip adding &#34;http://&#34; for full url tracking:&#60;br /&#62;
In &#60;code&#62;function ga_parse_link($leaf, $matches)&#60;/code&#62;, i changed:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;} else if ($options[&#38;#39;domainorurl&#38;#39;] == &#38;quot;url&#38;quot;) {
						$coolBit .= &#38;quot;javascript:pageTracker._trackPageview(&#38;#39;&#38;quot;.$leaf.&#38;quot;/&#38;quot;.$matches[2].&#38;quot;//&#38;quot;.$matches[3].&#38;quot;&#38;#39;);&#38;quot;;
					}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;} else if ($options[&#38;#39;domainorurl&#38;#39;] == &#38;quot;url&#38;quot;) {
						$coolBit .= &#38;quot;javascript:pageTracker._trackPageview(&#38;#39;&#38;quot;.$leaf.&#38;quot;/&#38;quot;.$matches[3].&#38;quot;&#38;#39;);&#38;quot;;
					}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Seems to work nice so far, but maybe there is an official workaround for this Problem?&#60;/p&#62;
&#60;p&#62;Kind Regards,&#60;/p&#62;
&#60;p&#62;RokBlog
&#60;/p&#62;</description>
</item>

</channel>
</rss>
