<?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>Fri, 24 May 2013 19:31:20 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sherif Ramadan: Web Analytics with PHP and Google Visualization: Made Simple]]></title>
      <guid>http://www.phpdeveloper.org/news/18918</guid>
      <link>http://www.phpdeveloper.org/news/18918</link>
      <description><![CDATA[<p>
in <a href="http://sheriframadan.com/2012/12/web-analytics-with-php-and-google-visualization-made-simple/">this new post</a> to his site <i>Sherif Ramadan</i> shares a method for visualizing your website's visitor data with the help of the <a href="https://developers.google.com/chart/interactive/docs/reference">Google Visualization APIs</a> and some geolocation.
</p>
<blockquote>
<p>
The web is a place where everyone is in your backyard. This can be both a blessing and a curse. How do you know where your website traffic is coming from and how much of it there is? [...] How was traffic led to your website in the first place and why? How long do people stick around and what do they like the most about your site? These are all some of the many questions you can answer with web analytic software, but the real question is why would you want to answer these questions at all and what's the best way to look at the answer?
</p>
<p>
[...] If we look at a heat map it's easier to spot where the majority of our visitors and traffic are coming from, geographically. It also helps us understand that people visiting a virtual space can, and will, be physically located in different parts of the world.
</p>
</blockquote>
<p>
He includes the steps to recreate a map like the one <a href="http://sheriframadan.com/examples/geodata.html">included in this page</a> showing the current view statistics on his site. He uses a MySQL backend to store the GeoIP data and parses out the Apache "access_log" to get the IPs of the visiting users. He then runs these against the GeoIP data and passes this country data on to Google's visualization for handling. He also recommends using the tools offered by the <a href="https://www.google.com/webmasters/tools/">Google Webmaster Tools</a> to further enhance your introspection into your site's visitors.
</p>]]></description>
      <pubDate>Wed, 19 Dec 2012 12:38:47 -0600</pubDate>
    </item>
  </channel>
</rss>
