<?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: Google Analytics API class for PHP</title>
	<atom:link href="http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html</link>
	<description></description>
	<lastBuildDate>Wed, 10 Mar 2010 16:15:13 +0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: webmaster</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-19540</link>
		<dc:creator>webmaster</dc:creator>
		<pubDate>Wed, 24 Feb 2010 09:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-19540</guid>
		<description>Hi Hannes

You can do something like this to get all pagePaths matching your string. In my case, it&#039;s &#039;/tutorials/&#039;

$report = $ga-&gt;getReport(
		array(&#039;dimensions&#039;=&gt;urlencode(&#039;ga:pagePath&#039;),
			&#039;metrics&#039;=&gt;urlencode(&#039;ga:pageviews&#039;),
			&#039;filters&#039;=&gt;urlencode(&#039;ga:pagePath=~/tutorials/&#039;),
			&#039;sort&#039;=&gt;&#039;-ga:pageviews&#039;
			)
		);

The sort will sort it based on descending order using pageviews as the metric.</description>
		<content:encoded><![CDATA[<p>Hi Hannes</p>
<p>You can do something like this to get all pagePaths matching your string. In my case, it&#8217;s &#8216;/tutorials/&#8217;</p>
<p>$report = $ga->getReport(<br />
		array(&#8217;dimensions&#8217;=>urlencode(&#8217;ga:pagePath&#8217;),<br />
			&#8216;metrics&#8217;=>urlencode(&#8217;ga:pageviews&#8217;),<br />
			&#8216;filters&#8217;=>urlencode(&#8217;ga:pagePath=~/tutorials/&#8217;),<br />
			&#8217;sort&#8217;=>&#8217;-ga:pageviews&#8217;<br />
			)<br />
		);</p>
<p>The sort will sort it based on descending order using pageviews as the metric.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dorjay</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-19501</link>
		<dc:creator>dorjay</dc:creator>
		<pubDate>Mon, 22 Feb 2010 18:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-19501</guid>
		<description>...btw i fix it out...  actually ...when i was authenticating i 
was putting the argument for  as $ga = new 

GoogleAnalytics(&#039;{abc@gmail.coml}&#039;,&#039;{mypass}&#039;);  
and the right way was
GoogleAnalytics(&#039;abc@gmail.com&#039;,&#039;mypass&#039;)  :) btw i login but there is still no output on the screen. :(</description>
		<content:encoded><![CDATA[<p>&#8230;btw i fix it out&#8230;  actually &#8230;when i was authenticating i<br />
was putting the argument for  as $ga = new </p>
<p>GoogleAnalytics(&#8217;{abc@gmail.coml}&#8217;,'{mypass}&#8217;);<br />
and the right way was<br />
GoogleAnalytics(&#8217;abc@gmail.com&#8217;,'mypass&#8217;)  <img src='http://www.askaboutphp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  btw i login but there is still no output on the screen. <img src='http://www.askaboutphp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l0gk</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-19497</link>
		<dc:creator>l0gk</dc:creator>
		<pubDate>Mon, 22 Feb 2010 15:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-19497</guid>
		<description>I have the same error of 

&quot;Error: Failed to authenticate, please check your email and password.&quot;
Though i have entered them correctly.Can anyone help?</description>
		<content:encoded><![CDATA[<p>I have the same error of </p>
<p>&#8220;Error: Failed to authenticate, please check your email and password.&#8221;<br />
Though i have entered them correctly.Can anyone help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hannes</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-19207</link>
		<dc:creator>Hannes</dc:creator>
		<pubDate>Tue, 09 Feb 2010 11:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-19207</guid>
		<description>Is it in any Way possible to filter after a given pagePath? (just like i do in the interface)?
So that i get, for example, the top 10 Pages with a pagePath that starts with &quot;/search/&quot; ?</description>
		<content:encoded><![CDATA[<p>Is it in any Way possible to filter after a given pagePath? (just like i do in the interface)?<br />
So that i get, for example, the top 10 Pages with a pagePath that starts with &#8220;/search/&#8221; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IPSURE &#124; Hands-On (Weblog) &#124; Creating Dynamic &#38; Realtime Statistical Charts By Integration Of Google Analytics API And Google Chart API &#171;</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-19189</link>
		<dc:creator>IPSURE &#124; Hands-On (Weblog) &#124; Creating Dynamic &#38; Realtime Statistical Charts By Integration Of Google Analytics API And Google Chart API &#171;</dc:creator>
		<pubDate>Mon, 08 Feb 2010 13:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-19189</guid>
		<description>[...] the various sample classes I tried, I would like to thank Eldee for his Google Analytics API PHP and Andrey Savchenko (Rarst) for his Google Chart API which I used [...]</description>
		<content:encoded><![CDATA[<p>[...] the various sample classes I tried, I would like to thank Eldee for his Google Analytics API PHP and Andrey Savchenko (Rarst) for his Google Chart API which I used [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IPSURE &#124; Uygulamalar (Weblog) &#124; Google Analytics API ve Google Chart API Entegrasyonu İle Dinamik İstatistik Çizelgeleri Oluşturma &#171;</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-19138</link>
		<dc:creator>IPSURE &#124; Uygulamalar (Weblog) &#124; Google Analytics API ve Google Chart API Entegrasyonu İle Dinamik İstatistik Çizelgeleri Oluşturma &#171;</dc:creator>
		<pubDate>Fri, 05 Feb 2010 23:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-19138</guid>
		<description>[...] iki örnek class içerisinden Google Analytics API PHP class çalışmasından dolayı Eldee’ye ve Google Chart API class çalışmasından dolayı Andrey Savchenko (Rarst)’a teşekkür [...]</description>
		<content:encoded><![CDATA[<p>[...] iki örnek class içerisinden Google Analytics API PHP class çalışmasından dolayı Eldee’ye ve Google Chart API class çalışmasından dolayı Andrey Savchenko (Rarst)’a teşekkür [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-18632</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Mon, 18 Jan 2010 14:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-18632</guid>
		<description>Hello,
I tried to use: 
$report = $ga-&gt;getReport(
	array(&#039;dimensions&#039;=&gt;urlencode(&#039;ga:searchKeyword&#039;),
		&#039;metrics&#039;=&gt;urlencode(&#039;ga:pageviews&#039;),
		&#039;sort&#039;=&gt;&#039;-ga:pageviews&#039;
		)
In this case I get nothing in report:(. At the same time I&#039;m sure that the statistic exists by keywords.

Why the report is empty?</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I tried to use:<br />
$report = $ga-&gt;getReport(<br />
	array(&#8217;dimensions&#8217;=&gt;urlencode(&#8217;ga:searchKeyword&#8217;),<br />
		&#8216;metrics&#8217;=&gt;urlencode(&#8217;ga:pageviews&#8217;),<br />
		&#8217;sort&#8217;=&gt;&#8217;-ga:pageviews&#8217;<br />
		)<br />
In this case I get nothing in report:(. At the same time I&#8217;m sure that the statistic exists by keywords.</p>
<p>Why the report is empty?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-18576</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Fri, 15 Jan 2010 14:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-18576</guid>
		<description>can one use a segment in the api ? I have used a &quot;views with conversion segment&quot;(gaid::-9) but I get the normal data .I get no changes in the data at all .

this is my code
$ga-&gt;getReport(array(&#039;dimensions&#039;=&gt;urlencode(&#039;ga:pagePath&#039;),&#039;metrics&#039;=&gt;urlencode(&#039;ga:uniquePageviews&#039;),&#039;segment&#039;=&gt;urlencode(&#039;gaid::-9&#039;),&#039;sort&#039;=&gt;&#039;-ga:uniquePageviews&#039;,&#039;max-results&#039;=&gt;&#039;10&#039;))  

When i use the same dimensions and metrics with the same segment in the Query explorer from the google api website I get the reflected changes.</description>
		<content:encoded><![CDATA[<p>can one use a segment in the api ? I have used a &#8220;views with conversion segment&#8221;(gaid::-9) but I get the normal data .I get no changes in the data at all .</p>
<p>this is my code<br />
$ga-&gt;getReport(array(&#8217;dimensions&#8217;=&gt;urlencode(&#8217;ga:pagePath&#8217;),&#8217;metrics&#8217;=&gt;urlencode(&#8217;ga:uniquePageviews&#8217;),&#8217;segment&#8217;=&gt;urlencode(&#8217;gaid::-9&#8242;),&#8217;sort&#8217;=&gt;&#8217;-ga:uniquePageviews&#8217;,'max-results&#8217;=&gt;&#8217;10&#8242;))  </p>
<p>When i use the same dimensions and metrics with the same segment in the Query explorer from the google api website I get the reflected changes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Momen</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-17854</link>
		<dc:creator>Momen</dc:creator>
		<pubDate>Wed, 30 Dec 2009 04:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-17854</guid>
		<description>hello now found the problem in this class

add the information login  and id 

when login i can not login and resulted 
Error: Failed to authenticate, please check your email and password.

why ;
no&#039;s  when used this information to login in Googleanalytics
i can login and see the analytics site</description>
		<content:encoded><![CDATA[<p>hello now found the problem in this class</p>
<p>add the information login  and id </p>
<p>when login i can not login and resulted<br />
Error: Failed to authenticate, please check your email and password.</p>
<p>why ;<br />
no&#8217;s  when used this information to login in Googleanalytics<br />
i can login and see the analytics site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmaster</title>
		<link>http://www.askaboutphp.com/63/google-analytics-api-class-for-php.html/comment-page-2#comment-17279</link>
		<dc:creator>webmaster</dc:creator>
		<pubDate>Wed, 16 Dec 2009 01:17:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=63#comment-17279</guid>
		<description>Hi Scott
You can email me at webbie@askaboutphp.com. Thanks!
D.</description>
		<content:encoded><![CDATA[<p>Hi Scott<br />
You can email me at <a href="mailto:webbie@askaboutphp.com">webbie@askaboutphp.com</a>. Thanks!<br />
D.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
