<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 17 May 2012 04:27:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Project: Zend Framework Google Analytics Code Generation]]></title>
      <guid>http://www.phpdeveloper.org/news/16764</guid>
      <link>http://www.phpdeveloper.org/news/16764</link>
      <description><![CDATA[<p>
<i>Martin Aarhof</i> has put together <a href="https://github.com/lsv/zf-maa_analytics">an handy tool</a> for Zend Framework applications that creates the async javascript analytic code recommended by Google to provide tracking information back to Analytics.
</p>
<blockquote>
It supports: browser Settings Detection, campaign Duration, campaign Fields (custom), cross-domain linking and last but not least Ecommerce tracking.
</blockquote>
<p>
The configuration lets you set the various keys for your Analytics accounts, the domain name for it to live under, browser detection settings and various other settings for <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html">campaign configuration</a> and <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html">domain setup</a>. You can find the full code on <a href="https://github.com/lsv/zf-maa_analytics">his github account</a> ready to download or clone.
</p>]]></description>
      <pubDate>Wed, 24 Aug 2011 09:46:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: Google2Piwik - From Google Analytics to Piwik (Open Source Analytics)]]></title>
      <guid>http://www.phpdeveloper.org/news/15877</guid>
      <link>http://www.phpdeveloper.org/news/15877</link>
      <description><![CDATA[<p>
<i>Dominik Jendroszczyk</i> passed along a tip about a tool that's been released to help make transitioning from the proprietary Google Analytics systems over to the Piwik open source analytics option simple - <a href="http://clearcode.cc/2011/02/05/export-google-analytics-piwik-google2piwik/">Google2Piwik</a>.
</p>
<blockquote>
More and more users are turning away from Google Analytics (GA) as a provider of web measurement solutions on security, independence and functionality grounds. One problem they run into is that after years of using Google's product they have a considerable inventory of data about their websites stuck with GA, which makes starting over with an alternative provider something of a hassle. [...] Effectively, thanks to <a href="http://clearcode.cc/offer/open-source-projects/google2piwik/">Google2Piwik</a>, nothing is stopping you from moving away from Google Analytics to a safer, more robust and more functional alternative.
</blockquote>
<p>
The tool is written in Python, so you'll need to have that and both access to the Google API and have a Piwik install set up (it's PHP/MySQL based) to make the translation. There's a few limitations to the import, though, so be sure to check out the tool's <a href="http://clearcode.cc/offer/open-source-projects/google2piwik/">project page</a> for those. <a href="http://piwik.org/">Piwik</a> is an open source project that provides real-time web analytics that installs on your own server and gathers data via a Javascript tag embedded in your site.
</p>]]></description>
      <pubDate>Wed, 09 Feb 2011 09:15:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Retrieving Data from Google Analytics API using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15557</guid>
      <link>http://www.phpdeveloper.org/news/15557</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has <a href="http://www.lornajane.net/posts/2010/Retrieving-Data-from-Google-Analytics-API-using-PHP">a new post</a> to her blog continuing her look at using the Google Analytics API. This time the focus is on pulling data out of the API (if you're looking for connection advice, see her <a href="http://www.lornajane.net/posts/2010/Google-Analytics-Accounts-API">previous post</a>).
</p>
<blockquote>
Recently I started playing with the google analytics API, looking at ways to bring analytics onto dashboards and generate simple reports from the data in there. Very shortly after I started to look at the API, I had working data retrieval, so I thought I'd share my experiences (and code!). 
</blockquote>
<p>
She mentions the <a href="http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDataFeed.html">data reference document</a> you can use to find the methods to call for specifically what you want as well as a snippet of sample code to connect and pull data based on a set of "query data".
</p>]]></description>
      <pubDate>Thu, 09 Dec 2010 13:40:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Google Analytics Accounts API]]></title>
      <guid>http://www.phpdeveloper.org/news/15477</guid>
      <link>http://www.phpdeveloper.org/news/15477</link>
      <description><![CDATA[<p>
In <a href="http://www.lornajane.net/posts/2010/Google-Analytics-Accounts-API">this new post</a> to her blog <i>Lorna Mitchell</i> looks at some of the work she's done to extract information out of the Google Analytics accounts API via an OAuth interface and parsed via SimpleXML.
</p>
<blockquote>
I'm using <a href="http://pecl.php.net/package/oauth">pecl_oauth</a> to authenticate users against their google accounts (see my post about <a href="http://www.lornajane.net/posts/2010/Authenticating-with-OAuth-from-PHP">using OAuth from PHP</a>), but even after I have a valid google user, working out which analytics accounts they have access to and how to refer to them is a puzzle in itself, so I thought I'd share what I learned.
</blockquote>
<p>
In her example she shows how to fetch the permissions for a user (which analytics they can access) via a call to the "/feeds/datasources/ga/accounts" URL. This returns some XML easily parsed by <a href="http://php.net/simplexml">SimpleXML</a> to grab the accounts' names and IDs. This is used to fetch the profiles and gather the "magic tableId" for use with the <a href="http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDataFeed.html">Export API</a> to pull the actual data.
</p>]]></description>
      <pubDate>Tue, 23 Nov 2010 10:56:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas' Blog: Solar Framework Shorts - Future release looks promising]]></title>
      <guid>http://www.phpdeveloper.org/news/14816</guid>
      <link>http://www.phpdeveloper.org/news/14816</link>
      <description><![CDATA[<p>
<i>Richard Thomas</i> has a <a href="http://www.phpjack.com/content/solar-framework-shorts-future-release-looks-promising">quick new (Solar Framework) post</a> to his blog about some of the upcoming cool features of the framework.
</p>
<blockquote>
A lot of cool features are being hatched in branches that should hit trunk in the near future! [...] Things to look forward to are view helpers for various services like Google Analytics and the various CDN loaders although this is still under review and might be a few releases away.
</blockquote>
<p>
Other new features he mentions include a reworked authentication stack that will allow for more than one auth adapter to be used at one time (his example is a normal login and a Facebook login). To help, an auth module for Facebook will also be included to make this even easier.
</p>]]></description>
      <pubDate>Tue, 20 Jul 2010 08:35:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Reading Google Analytics data from PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/13960</guid>
      <link>http://www.phpdeveloper.org/news/13960</link>
      <description><![CDATA[<p>In a new post to his blog today <i>Sameer Borate</i> has <a href="http://www.codediesel.com/php/reading-google-analytics-data-from-php/">a tutorial</a> about linking your application to the Google Analytics backend and using the requestReportData method to pull back interesting statistics on your sites.
</p>
<blockquote>
Although no standard library is available from Google for PHP, some small and easy interfaces are available out there. In this post we will see how to access Google Analytics data using PHP using the GAPI library.
</blockquote>
<p>
The <a href="http://code.google.com/p/gapi-google-analytics-php-interface/">GAPI library</a> is an open sourced project that provides a direct, easy to use interface you can use to connect directly to the Analytics service without having to handle all of the manual stuff yourself. <i>Sameer</i> shows how to get information from the service like the top ten sources and visit counts, regional information and how to do some filtering on the results returned.
</p>]]></description>
      <pubDate>Wed, 03 Feb 2010 11:06:08 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ask About PHP Blog: Google Analytics API class for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12592</guid>
      <link>http://www.phpdeveloper.org/news/12592</link>
      <description><![CDATA[<p>
On the Ask About PHP blog today there's <a href="http://www.askaboutphp.com/tutorials/63/google-analytics-api-class-for-php.html">a new tutorial</a> (and a new class) helping you to connect your applications with the Google Analytics backend.
</p>
<blockquote>
I've been thinking about how I can make use of this API to enhance the sites I'm working on. But before kicking off ideas, I had to find out how to access and use the API. I finally came up with a PHP class that will do all the grunt work of calling the API, you just need to supply your report's parameter and the PHP class will return you an array of Analytics data.
</blockquote>
<p>
<a href="http://www.askaboutphp.com/wp-post-images/63/googleanalytics.class.zip">The class</a> [zip] makes connecting to the Analytics backend as easy as dropping in a username/password, defining which profile to use and the date range. The getReport() method does the hard work 
</p>]]></description>
      <pubDate>Fri, 29 May 2009 09:33:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Blue Parabola Blog: Magento Feature Analysis Series, Part 1: Analytics and Reporting]]></title>
      <guid>http://www.phpdeveloper.org/news/12530</guid>
      <link>http://www.phpdeveloper.org/news/12530</link>
      <description><![CDATA[<p>
On the Blue Parabola site <i>Matthew Turland</i> has <a href="http://blueparabola.com/blog/magento-feature-analysis-series-part-1-analytics-and-reporting">started a series</a> looking at a "new kid on the block" when it comes to PHP e-commerce applications - <a href="http://www.magentocommerce.com/">Magento</a>.
</p>
<blockquote>
<a href="http://www.magentocommerce.com/">Magento</a>, has gotten a good amount of attention leading up to and since its initial release. I was recently entasked with doing an analysis of its features and thought it might make for an interesting series of blog posts. This first one will cover the <a href="http://www.magentocommerce.com/product/features/analytics-and-reporting/view">Analytics and Reporting</a> feature set.
</blockquote>
<p>
He mentions the Administrator Action logging, the Google Analytics integration, the Admin Dashboard for reporting overview, included RSS feeds, Accounting Reports and Feedback reporting.
</p>]]></description>
      <pubDate>Mon, 18 May 2009 10:46:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tiffany Brown's Blog: Collecting e-commerce conversion data with Zen Cart and Google Analytics]]></title>
      <guid>http://www.phpdeveloper.org/news/11983</guid>
      <link>http://www.phpdeveloper.org/news/11983</link>
      <description><![CDATA[<p>
<i>Tiffany Brown</i> has <A href="http://tiffanybbrown.com/2009/02/19/zen-cart-and-google-analytics/">a new post</a> today showing how you can gather some statistics about the (successful) use of your e-commerce Zen Cart website with the help of <a href="http://google.com/analytics">Google Analytics</a>.
</p>
<blockquote>
<a href="http://google.com/analytics">Google Analytics</a> allows you to collect pretty robust data about how users move through your e-commerce site. Here's how to make it work with <a href="http://www.zen-cart.com/">Zen Cart</a>, an open source shopping cart.
</blockquote>
<p>
You'll need to already have a Google Analytics account set up for the application, a Zen Cart instance installed and have at least a passing knowledge with using PHP and MySQL. There's two steps to the process - a creation of a custom functions file (code provided) and a modification to two other files (the checkout success page and global footer) to send additional information to the Analytics service.
</p>]]></description>
      <pubDate>Thu, 19 Feb 2009 11:18:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: New Google Analytics API / DataSource!]]></title>
      <guid>http://www.phpdeveloper.org/news/9275</guid>
      <link>http://www.phpdeveloper.org/news/9275</link>
      <description><![CDATA[<p>
Due to the new advancements Google has made in their Analytics API (Datasource) functionality, the API changed slightly and the code that <i>Felix Geisendorfer</i> had created to work with a CakePHP install wasn't working anymore. He's corrected the problem with <a href="http://www.thinkingphp.org/2007/12/18/new-google-analytics-api/">this new post</a> with the new code and an example of its use.
</p>
<blockquote>
In a very productive CakePHP session with nate a couple weeks ago in Atlanta I finally implemented some new HttpSocket stuff that was needed (minimal support for cookies / ssl) for creating the new API as a datasource. Now that its done I'm fairly happy with the outcome of the new API.
</blockquote>
<p>
You can <a href="http://thinkingphp.org/code/datasources/google_analytics_source.phps">download the source here</a> and follow his simple two-ish step process for getting it working on your site and with your Google account. 
</p>]]></description>
      <pubDate>Wed, 19 Dec 2007 10:29:00 -0600</pubDate>
    </item>
  </channel>
</rss>

