<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Piwik &#187; Blog</title>
	<atom:link href="http://piwik.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://piwik.org</link>
	<description># open source web analytics</description>
	<lastBuildDate>Wed, 16 May 2012 11:41:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to track Mobile apps usage (clicks, phones, errors, etc.) or track software analytics</title>
		<link>http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/</link>
		<comments>http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 01:45:28 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Documentation]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=7231</guid>
		<description><![CDATA[This post is aimed at Mobile Apps developers and Software developers (Desktop apps) who wish to implement Usage Tracking &#38; Analytics of their apps using the leading Free Web Analytics platform Piwik. You are maybe familiar with using Piwik and track visits using the Javascript code. In many cases however, using Javascript is not an [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong><em>This post is aimed at Mobile Apps developers and Software developers (Desktop apps) who wish to implement Usage Tracking &amp; Analytics of their apps using the leading Free Web Analytics platform Piwik.</em></p>
<p>You are maybe familiar with using Piwik and track visits using the <a href="http://piwik.org/docs/javascript-tracking/">Javascript code</a>. In many cases however, using Javascript is not an option. Luckily you can also track user interactions from non Javascript devices using the <a href="http://piwik.org/docs/javascript-tracking/?page_id=2285">Piwik Tracking API</a>.</p>
<p>This tutorial will showcase examples and screenshots of Mobile app tracking using Piwik. The last section of this tutorial explains how to implementat Tracking in your existing app.</p>
<div class="toc">
<ol>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-mobile-app-desktop-software-statistics-reports">Mobile App &amp; Desktop software statistics reports</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-how-do-i-get-free-software-analytics-and-mobile-app-tracking">How do I get Free Software Analytics and Mobile App tracking?</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-use-case-mobile-app-tracking-reporting">Use case: Mobile App tracking &amp; reporting</a>
<ol>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-example-tracking-clicks-and-events">Example tracking clicks and events</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-example-tracking-custom-variables">Example tracking Custom Variables</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-example-tracking-goals-in-your-app">Example: tracking Goals in your app</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-example-tracking-visit-count">Example: tracking Visit count</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-example-opt-in-tracking-ui">Example: Opt-in tracking UI</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-example-visitor-log-in-a-mobile-analytics-use-case">Example: Visitor Log in a Mobile Analytics use case</a></li>
</ol>
</li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-how-do-i-implement-tracking-in-my-app">How do I implement tracking in my app?</a>
<ol>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-send-tracking-requests-to-piwik-from-your-mobile-app-desktop-software">Send tracking requests to Piwik from your mobile app / desktop software</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-assign-a-custom-unique-id-to-each-user">Assign a custom unique id to each user</a></li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-other-important-notes">Other important notes</a></li>
</ol>
</li>
<li><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/#toc-conclusion">Conclusion</a></li>
</ol>
</div>
<h2 id="toc-mobile-app-desktop-software-statistics-reports">Mobile App &amp; Desktop software statistics reports</h2>
<p><strong></strong><span style="color: #000000;">Using Piwik to track your app usage would give interesting statistics usage</span> such as:</p>
<ul>
<li>number of active users (per day, week, month, &#8230;) of my mobile or desktop app,</li>
<li>how long users spend in the app,</li>
<li>track which icons, buttons are clicked (or any other custom event),</li>
<li>record device info, operating system,</li>
<li>reports on any Custom Variables you that are relevant to your app (see examples below),</li>
<li>
<div>how often is the app opened? When and how long is the app opened?</div>
</li>
<li>number of new users, active users, total users,</li>
<li>record errors or exception thrown</li>
</ul>
<p>You would also access the power of the Piwik platform: <a href="https://piwik.org/docs/email-reports/">Automatic Email reports</a> (PDF, HTML), <a href="http://piwik.org/docs/analytics-api/">Analytics API</a>, Historical analysis and <a href="http://piwik.org/features/">much more</a>.</p>
<h2 id="toc-how-do-i-get-free-software-analytics-and-mobile-app-tracking">How do I get Free Software Analytics and Mobile App tracking?</h2>
<p>To track usage data in your existing Mobile app or Desktop app, you will need to:</p>
<ol>
<li><a href="http://piwik.org/features/?page_id=168">Install Piwik</a> the Free Software Analytics framework &#8212; if you are not already using Piwik </li>
<li><a href="http://piwik.org/features/?page_id=5562#toc-create-a-website">Create a new &#034;Website&#034;</a> in Piwik &#8212; set the website name to your App name</li>
<li><strong>Modify your App source code so it sends tracking data to Piwik (clicks, settings, errors, etc.) using the <a href="http://piwik.org/docs/tracking-api/reference/?page_id=8191">Tracking API</a><br />
</strong></li>
</ol>
<p>Implementing tracking in an App requires technical knowledge and will take <strong>a minimum of 2 hours to implement and can take up to 2 days for a complex software</strong>. Implementation depends on how much data should be tracked and how easy it is to add the tracking calls in your software source code.</p>
<p>Once you deploy your app or software with Piwik tracking, statistics about your software will be available in <a href="http://piwik.org/docs/tracking-api/reference/?page_id=5973">Real time</a>. You will then access all reports such as &#034;Top Pages&#034;, &#034;Goal conversions&#034;, &#034;Locations &amp; Provider&#034; and other standard Piwik reports.</p>
<h2 id="toc-use-case-mobile-app-tracking-reporting">Use case: Mobile App tracking &amp; reporting</h2>
<p>In this section we will showcase how we have used Software Analytics in our Piwik Mobile App to provide relevant and useful reports on our Mobile App usage. The last section of this tutorial will explain implementation steps and technical details.</p>
<h3 id="toc-example-tracking-clicks-and-events">Example tracking clicks and events</h3>
<p><a href="http://piwik.org/wp-content/uploads/2011/11/piwik_faq_mobile_pages.png"><img class="alignright size-medium wp-image-7435" title="piwik_faq_mobile_pages" src="http://piwik.org/wp-content/uploads/2011/11/piwik_faq_mobile_pages-400x683.png" alt="" width="200" height="260" /></a>In Piwik Mobile, we decided to differentiate three types of pageviews: <em>Window</em>, <em>Event</em> and <em>Exception</em>s.</p>
<ul>
<li><strong>Window</strong> <strong>change</strong><br />
Everytime the user opens a new window, we track a pageview with the url path starting with &#039;<strong>/window</strong>&#039;. For example &#039;<strong>/window/statistics/show</strong>&#039; which means the user opened the statistics window. We also generate an appropriate custom title, for example &#039;Statistics Show&#039;.</li>
<li><strong>Event</strong><br />
Events are actions within a window,  eg. user selects another date or changes a setting. Each event is tracked with url path starting with &#039;<strong>/event</strong>&#039;. For example &#039;<strong>/event/settings/change-language</strong>&#039; and the title &#039;Settings Change Language&#039;.</li>
<li><strong>Error or exception</strong><br />
If an error occurs or something unexpected happens, we track the occurred exception starting with &#039;<strong>/exception</strong>&#039;.<br />
For example &#039;<strong>/exception/TypeError/filename/line</strong>&#039;. This helps us identify issues users experience.</li>
</ul>
<h3 id="toc-example-tracking-custom-variables">Example tracking Custom Variables</h3>
<p><a href="http://piwik.org/docs/tracking-api/reference/?page_id=8191&page_id=5562&page_id=2023&page_id=5973&page_id=5530">Custom Variables</a> are extremely powerful as they let you track any custom name and value for your visitor or page views.</p>
<ul>
<li>In a Custom Variable with <span style="text-decoration: underline;">scope &#039;Visit&#039;</span>, we track for example the current used Mobile App Version, the operating system including the exact version number, the used locale (language code) and the number of accounts each user created.</li>
<li>In Custom Variables with <span style="text-decoration: underline;">scope &#039;Page&#039;</span> we track window related variables. For example in the statistics window, we track which report the user is currently viewing and which period is being used.</li>
</ul>
<p><a href="http://piwik.org/wp-content/uploads/2012/01/Custom-Variables-tracking-number-of-accounts-in-the-app-Mobile-app-tracking.png"><img class="aligncenter  wp-image-8205" title="Custom Variables tracking number of accounts in the app - Mobile app tracking" src="http://piwik.org/wp-content/uploads/2012/01/Custom-Variables-tracking-number-of-accounts-in-the-app-Mobile-app-tracking.png" alt="" width="424" height="405" /></a></p>
<h3 id="toc-example-tracking-goals-in-your-app">Example: tracking Goals in your app</h3>
<p><a href="http://piwik.org/docs/tracking-api/reference/?page_id=8191&page_id=5562&page_id=2023&page_id=2023">Tracking Goals</a> is a great way to track and measure your business objectives. Piwik provides many reports for each configured Goal. In our Mobile App, we created Goals with the following definitions (see screenshot):</p>
<ul>
<li><strong>Create an account</strong><strong></strong><br />
Visit a given URL (page or group of pages), Pattern contains: /account/create/success</li>
<li><strong>Click on Contact/Feedback</strong><br />
Visit a given URL (page or group of pages), Pattern contains: /help/feedback</li>
<li><strong>Click on Visit settings</strong><br />
Visit a given URL (page or group of pages), Pattern contains: /settings/index</li>
</ul>
<p><a href="http://piwik.org/wp-content/uploads/2011/11/piwik_faq_mobile_creategoal.png"><img class="alignright" title="piwik_faq_mobile_creategoal" src="http://piwik.org/wp-content/uploads/2011/11/piwik_faq_mobile_creategoal-400x251.png" alt="" width="200" height="125" /></a>Note: You only need to create the goals in the Piwik interface, tracking goals does not require code changes in your App tracking source code.</p>
<p>Goal reports will show the conversions, conversion rate and revenue per visit for each Country, Custom Variable, etc. You can also easily visualize how popular a specific part of your app is over time by analyzing the evolution graphs at the top of the Goal report.</p>
<h3 id="toc-example-tracking-visit-count">Example: tracking Visit count</h3>
<p>If you would like to populate the report &#034;Visitors &gt; Engagement &gt; Visits by visit number&#034;, you can manually set the REST API parameter &#039;_idvc&#039;. We store this value in the user session on the phone.  The visit counter is incremented if the user starts the app again but not if the user resumes the application from background.</p>
<p style="text-align: center;"><a href="http://piwik.org/wp-content/uploads/2012/01/visits-by-visits-number-Mobile-app-tracking.png"><img class="aligncenter  wp-image-8203" title="Visits by visits number - Mobile app tracking" src="http://piwik.org/wp-content/uploads/2012/01/visits-by-visits-number-Mobile-app-tracking.png" alt="" width="373" height="388" /></a></p>
<h3 id="toc-example-opt-in-tracking-ui">Example: Opt-in tracking UI</h3>
<p>Our official <a href="http://piwik.org/docs/tracking-api/reference/?page_id=3272">Piwik Mobile</a> application offers an opt-in feature to let users send us anonymously their clicks and usage data. Users can enable and disable the opt-in usage tracking mechanism at any time. When the users are not opt-in (which is the default) no data is sent to the Piwik server at all.</p>
<p><a href="http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/piwik-optin-example-3/" rel="attachment wp-att-8228"><img src="http://piwik.org/wp-content/uploads/2012/04/piwik-optin-example2.png" alt="" title="Piwik Mobile Opt-In Example" width="195" height="340" class="aligncenter size-medium wp-image-8228" /></a></p>
<h3 id="toc-example-visitor-log-in-a-mobile-analytics-use-case">Example: Visitor Log in a Mobile Analytics use case</h3>
<p>The Visitor Log will let you easily visualize the full set of actions for each visitor on your website. The Visitor Log shows all custom variables set to the visit, Converted goals, all Pageviews/events during the visit. It can even be used for troubleshooting a particular user of your app or software.</p>
<p><a href="http://piwik.org/wp-content/uploads/2012/01/Visitor-Log-showing-Mobile-App-analytics-with-Goals.png"><img class="aligncenter size-medium wp-image-8206" title="Visitor Log showing Mobile App analytics with Goals" src="http://piwik.org/wp-content/uploads/2012/01/Visitor-Log-showing-Mobile-App-analytics-with-Goals-400x222.png" alt="" width="400" height="222" /></a></p>
<h2 id="toc-how-do-i-implement-tracking-in-my-app">How do I implement tracking in my app?</h2>
<p>In this section we will describe at a high level how to implement the source code changes required to make Tracking your app possible.</p>
<p><em>Note: If you want to use Piwik to track a mobile web app running in a web browser, you would probably want to use <a href="http://piwik.org/docs/tracking-api/reference/?page_id=3272&page_id=5562&page_id=2023&page_id=2023&page_id=17">Javascript Tracking</a>.</em></p>
<h3 id="toc-send-tracking-requests-to-piwik-from-your-mobile-app-desktop-software">Send tracking requests to Piwik from your mobile app / desktop software</h3>
<p>If<a href="http://piwik.org/wp-content/uploads/2011/11/piwik_faq_mobile_settings.png"><img class="alignright size-medium wp-image-7259" title="Piwik Mobile App Tracking - Settings" src="http://piwik.org/wp-content/uploads/2011/11/piwik_faq_mobile_settings-400x626.png" alt="" width="200" height="313" /></a> you use the programming languages PHP or Java, it will be easy to implement tracking in your app since there is already a Tracking API client in these languages: see doc <a href="http://piwik.org/docs/tracking-api/reference/?page_id=3272&page_id=5562&page_id=2023&page_id=2023&page_id=2285">PHP &amp; Java tracking clients</a>.</p>
<p>If you use another programming language (python, ruby, etc.), you will have to enhance your source code by creating a &#034;Piwik Tracking&#034; class which will create requests to the <a href="http://piwik.org/docs/tracking-api/reference/?page_id=8191"><strong>Piwik Tracking API</strong></a> (link opens the Tracking REST API reference doc).</p>
<p><b>Updated!</b> &#8212; Note about Python: there is a beta Tracking API client available in: <a href="http://dev.piwik.org/trac/ticket/3079">http://dev.piwik.org/trac/ticket/3079</a> &#8211; please test and report any errors or suggestion in the ticket. We hope to include this class in Piwik core in the future.</p>
<p>This new class in your project will typically allow to set attributes (url, idsite, action_name, etc.) and then trigger the HTTP request to /piwik.php (the tracking API endpoint). Other areas of your code (Window manager, Click manager, etc.) would then instantiate an instance of this class, set the parameters, and then trigger the request.</p>
<p>This class would typically have a few functions such as:</p>
<ul>
<li>functions to set attributes:</li>
<ul>
<li>setUrl( url )</li>
<li>setUserAgent( userAgent )</li>
<li>setVisitorId ( id )</li>
<li>etc.</li>
</ul>
<li>functions to use these attributes to build a HTTP request to record the visit/event</li>
<ul>
<li>trackPageView ( customPageTitle ) &#8212; triggers the HTTP request to /piwik.php using your favorite  programming language HTTP library / function.</li>
<li>trackGoal ( idGoal)</li>
<li>etc.</li>
</ul>
</ul>
<p>Creating such a class is just a suggestion (there might be better ways to do it in your environment). For inspiration, we recommend to check out the <a href="http://piwik.org/docs/tracking-api/reference/?page_id=2285#toc-tracking-api-php-client-reference">PiwikTracker PHP client documentation</a>.</p>
<p>To set the parameters correctly, please head over to the Tracking API documentation: <a href="http://piwik.org/docs/tracking-api/reference/?page_id=8191"><strong>Piwik Tracking API Reference</strong></a></p>
<h3 id="toc-assign-a-custom-unique-id-to-each-user">Assign a custom unique id to each user</h3>
<p>To make sure that all requests from a given user are sent to the right visitor in Piwik, it is highly recommended to set a unique ID to the user using your app. The parameter is called _id and must be hexadecimal string with a length of 16 characters.</p>
<p>In our Mobile App, we create an anonymous unique user id for each user. Here is an example of an ID generation in Javascript:</p>
<p><code>var uuid = os_name() + unique_id_of_device();<br />
uuid += phone_model() + random_unique_id();<br />
uuid = md5(uuid).slice(0, 16);</code></p>
<h3 id="toc-other-important-notes">Other important notes</h3>
<ul>
<li>For performance reasons, it is very important that you send the Tracking requests only after all the content is loaded in your application. User experience and speed is always more important than usage tracking!</li>
<li>If you do not use &#034;Opt-in&#034; and track all usage by default, we highly recommend to update your App <a href="http://piwik.org/docs/tracking-api/reference/?page_id=7711">Privacy Policy</a>to mention the fact that users will be tracked using Piwik. We highly recommend to have a setting that will let users disable this tracking if they wish.
<ul>
<li>If you do not provide such a setting to disable User Tracking, your app wouldn&#039;t follow industry best practises and might be considered a spyware.</li>
</ul>
</li>
<li>In a Mobile or Desktop app, there is not really a notion of Page URL.  Because Piwik Tracking API requires a URL, we recommend to create fake (but still useful!) URLs such as: http://myapp/menu/about-us/newsletter-add</li>
<ul>
<li>It is important to choose your URLs wisely, with useful names (the button being clicked, the menu label, etc.). A relevant naming scheme will make the data analysis much more useful. It will also help you to easily create <a href="http://piwik.org/docs/tracking-api/reference/?page_id=8191&page_id=5562&page_id=2023&page_id=2023">Goals</a> using URL matching.</li>
</ul>
<li>To record more information than the URL and Page Title, you could also use <a href="http://piwik.org/docs/tracking-api/reference/?page_id=8191&page_id=5562&page_id=2023&page_id=5973&page_id=5530">Custom Variables</a>.</li>
</ul>
<h2 id="toc-conclusion">Conclusion</h2>
<p>In this post we have explained how Piwik can be used to track Mobile App user interactions or desktop software usage. We have highlighted a few examples of useful usage statistics using the example of our own mobile application usage data. While implementing Mobile App Analytics might take a few hours of coding work, the value of aggregated usage data presented in a clean User Interface (Piwik!) is certainly worth it.</p>
<p>We hope that you will consider using Piwik to track usage data in your next Mobile app or Desktop software. We believe Piwik is now a reliable and effective <strong><span style="color: #333399;">Open Source Software <strong>Analytics</strong> Platform </span></strong><span style="color: #333399;"><span style="color: #000000;">and we are looking forward to seeing how this technique helps you! </span></span></p>
<p><strong></strong>For any question or feedback, please leave a comment here or ask in the forums.</p>
<p><em>Happy Software &amp; Mobile Analytics!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2012/04/how-to-use-piwik-to-track-mobile-apps-activity-clicks-phones-errors-etc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Urchin is discontinued&#8230; Piwik Server Log Import goes Live!</title>
		<link>http://piwik.org/blog/2012/04/urchin-is-discontinued-piwik-server-log-import-goes-live/</link>
		<comments>http://piwik.org/blog/2012/04/urchin-is-discontinued-piwik-server-log-import-goes-live/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 10:35:55 +0000</pubDate>
		<dc:creator>Piwik team</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Development]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=8173</guid>
		<description><![CDATA[Since March 28th, 2012 it is no longer possible to buy a license for Urchin Web Analytics software. Google decided to close down the Server Log import software Urchin to focus all their energy on Google Analytics, the same service hosted on the Google servers. We are proud to announce that we have successfully built [...]]]></description>
			<content:encoded><![CDATA[<p>Since March 28th, 2012 it is no longer possible to buy a license for Urchin Web Analytics software. Google decided to close down the Server Log import software Urchin to focus all their energy on Google Analytics, the same service hosted on the Google servers.</p>
<p><span style="color: #800080;"><span style="color: #000000;">We are proud to announce that we have successfully built a</span> <strong>Free Software alternative to Urchin now available! Check it out at: <a href="http://piwik.org/log-analytics/"><span style="color: #800080;">Piwik Server Log Import</span></a></strong>.</span></p>
<p>You can now <strong><span style="color: #008000;"> easily import Web Server (<strong>Apache/ Nginx/IIS</strong>) Access logs in Piwik</span></strong>. Piwik Server log analytics is a full-featured Python script that lets you import a set of log files in a Piwik server. Some beta testers even said the Piwik log import script is easier to use than Urchin (eg. Piwik does not require any profile setup). Several Web Hosts companies who are using the script say that Piwik Log Analytics is <strong>also easier to manage than AWStats</strong>. It does not require any configuration and can be just be executed in a cron tab &#8212; or Windows scheduled task &#8212; to run on a daily basis.</p>
<p><strong>Import server logs in Piwik</strong></p>
<p>The script will let you import a set of log files in one website specifically, but the script can also find automatically record the data in the website in Piwik based on the URL hostname in the log. If a hostname is not found in the list of Website in Piwik, the script can also automatically create the new websites. The script is optimized and can parse and import hundreds of log lines per second. The tracking requests are made from the Python script to the <a href="http://piwik.org/docs/tracking-api/">REST Piwik Tracking API</a>. The script has many options to <strong>enable tracking of search bots, track static files (JS, CSS, Images, etc.), track HTTP errors and redirects</strong>, ignore specific user agents, etc.</p>
<p><a href="http://piwik.org/log-analytics/"><img title="Piwik Server Log Analytics: Import Your Logs" src="http://piwik.org/wp-content/uploads/2012/04/piwik-log-analytics-import-logs.png" alt="" style='border:0;margin:auto' width="568" height="244" /></a></p>
<p><strong>New to Piwik but using Urchin or AWStats</strong></p>
<p>If you are currently using Urchin, AWStats or Webalizer, but are new to Piwik: we recommend you <a href="http://piwik.org/docs/installation/">install Piwik</a> (it only takes 5 minutes!) and then use the Python script to import logs. You will enjoy all <a href="http://piwik.org/docs/piwik-tour/">Piwik reporting functionnality</a> and <a href="http://piwik.org/features/">many other features</a>.</p>
<p><strong><a href="http://piwik.org/log-analytics/">Analyze your Server Logs now!</a></strong></p>
<p><em>We wish to warmly thank the french <a href="http://www.alwaysdata.com/">web hosting company AlwaysData</a> for their great work on getting this project done under the <a href="http://piwik.org/free-software/">GPL License</a>. We also thank<em> all of our <a href="http://piwik.org/about/sponsors/">fantastic sponsors</a></em> all beta testers of the script for their reports and feedback.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2012/04/urchin-is-discontinued-piwik-server-log-import-goes-live/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New features in Piwik 1.7 (screenshots!)</title>
		<link>http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/</link>
		<comments>http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 05:01:29 +0000</pubDate>
		<dc:creator>Piwik team</dc:creator>
				<category><![CDATA[Development]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=7789</guid>
		<description><![CDATA[We are excited to announce the immediate availability of Piwik 1.7 after weeks of development and testing. Download link How to update Piwik? List of all tickets closed: Changelog The Piwik team has been implementing new features based on your feedback and on Professional Services requests: New Web Analytics reports (Loyalty and Recency reports) Better [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #008000;"><strong>We are excited to announce the immediate availability of Piwik 1.7</strong></span> after weeks of development and testing.</p>
<ul>
<li><strong><a href="/latest.zip">Download link</a></strong></li>
<li><a href="/docs/update/">How to update Piwik?</a></li>
<li>List of all tickets closed: <a href="http://piwik.org/blog/2012/02/7775/">Changelog</a></li>
</ul>
<p>The <a href="http://piwik.org/blog/2012/02/7775/?page_id=1259">Piwik team</a> has been implementing new features based on your feedback and on <a href="http://piwik.org/blog/2012/02/7775/?page_id=406">Professional Services requests</a>:</p>
<ul>
<li>New Web Analytics reports (Loyalty and Recency reports)</li>
<li>Better performance when tracking hundreds or thousands of websites</li>
<li>Improved PDF/HTML reports (now including Graphs, possible to add the &#034;All Websites&#034; dashboard to the reports)</li>
<li>Better usability (Change Dashboard layouts, Plot specified metric on graphs)</li>
</ul>
<p>Here are some screenshots of the new features.</p>
<div class="toc">
<ol>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-loyalty-report">Loyalty report</a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-recency-report">Recency Report</a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-loyalty-recency-reports-for-goals-and-ecommerce-conversions">Loyalty &amp; Recency reports for <a href="http://piwik.org/docs/tracking-goals-web-analytics/">Goals </a>and <a href="http://piwik.org/docs/ecommerce-analytics/">Ecommerce conversions</a></a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-visitors-overview-now-displays-page-views-downloads-and-outlinks-stats-separately">Visitors &gt; Overview now displays Page views, Downloads and Outlinks stats separately</a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-pdf-html-reports-now-include-graphs-optional">PDF / HTML Reports now include Graphs! (optional)</a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-graphs-select-the-metric-to-plot"> Graphs: Select the metric to plot</a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-dashboard-with-custom-columns-layout">Dashboard with Custom Columns layout</a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-how-to-change-the-dashboard-columns-layout"> How to change the Dashboard columns layout?</a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-include-the-all-websites-dashboard-in-pdfhtml-email-reports">Include the All Websites dashboard in PDF/HTML Email reports</a></li>
<li><a href="http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/#toc-summary">Summary</a></li>
</ol>
</div>
<h3 id="toc-loyalty-report">Loyalty report</h3>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Visits-by-Visit-number-Analytics-report.png"><img class="alignnone size-full wp-image-7806" title="Visits by Visit number - Analytics report" src="http://piwik.org/wp-content/uploads/2012/02/Visits-by-Visit-number-Analytics-report.png" alt="" width="500" height="529" /></a></p>
<h3 id="toc-recency-report">Recency Report</h3>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Visits-by-days-since-last-visit-Report-analytics.png"><img class="alignnone size-full wp-image-7805" title="Visits by days since last visit - Report analytics" src="http://piwik.org/wp-content/uploads/2012/02/Visits-by-days-since-last-visit-Report-analytics.png" alt="" width="524" height="569" /></a></p>
<h3 id="toc-loyalty-recency-reports-for-goals-and-ecommerce-conversions">Loyalty &amp; Recency reports for <a href="http://piwik.org/docs/tracking-goals-web-analytics/">Goals </a>and <a href="http://piwik.org/docs/ecommerce-analytics/">Ecommerce conversions</a></h3>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Visits-to-conversion-Analytics-report.png"><img title="Visits to conversion - Analytics report" src="http://piwik.org/wp-content/uploads/2012/02/Visits-to-conversion-Analytics-report.png" alt="" width="479" height="475" /></a></p>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Days-to-conversion-Analytics-report.png"><img title="Days to conversion - Analytics report" src="http://piwik.org/wp-content/uploads/2012/02/Days-to-conversion-Analytics-report.png" alt="" width="480" height="491" /></a></p>
<h3 id="toc-visitors-overview-now-displays-page-views-downloads-and-outlinks-stats-separately">Visitors &gt; Overview now displays Page views, Downloads and Outlinks stats separately</h3>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Visitors-Overview-now-reports-Page-views-downloads-and-outlinks-separately.png"><img class="alignnone size-full wp-image-7804" title="Visitors - Overview now reports Page views, downloads and outlinks separately" src="http://piwik.org/wp-content/uploads/2012/02/Visitors-Overview-now-reports-Page-views-downloads-and-outlinks-separately.png" alt="" width="970" height="219" /></a></p>
<h3 id="toc-pdf-html-reports-now-include-graphs-optional">PDF / HTML Reports now include Graphs! (optional)</h3>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/PDF-Report-Top-Browsers-report-with-new-horizontal-bar-graph.png"><img class="alignnone size-full wp-image-7801" title="PDF Report - Top Browsers report, with new horizontal bar graph" src="http://piwik.org/wp-content/uploads/2012/02/PDF-Report-Top-Browsers-report-with-new-horizontal-bar-graph.png" alt="" width="951" height="598" /></a></p>
<p>Of course it works in all <a href="http://piwik.org/translations/">46 languages in which Piwik is translated</a></p>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Graphs-in-scheduled-reports-work-with-all-characters-sets.png"><img class="alignnone size-full wp-image-7800" title="Graphs in scheduled reports work with all characters sets" src="http://piwik.org/wp-content/uploads/2012/02/Graphs-in-scheduled-reports-work-with-all-characters-sets.png" alt="" width="672" height="379" /></a></p>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Extract-from-PDF-Report-containing-the-Evolution-graph.png"><img title="Extract from PDF Report containing the Evolution graph" src="http://piwik.org/wp-content/uploads/2012/02/Extract-from-PDF-Report-containing-the-Evolution-graph.png" alt="" width="778" height="499" /></a></p>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Ecommerce-report-with-graph-in-PDF-report.png"><img title="Ecommerce report with graph in PDF report" src="http://piwik.org/wp-content/uploads/2012/02/Ecommerce-report-with-graph-in-PDF-report.png" alt="" width="651" height="490" /></a></p>
<h3 id="toc-graphs-select-the-metric-to-plot"> Graphs: Select the metric to plot</h3>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Ecommerce-comparing-orders-and-conversion-rate-or-revenue.png"><img title="Ecommerce comparing orders and conversion rate or revenue" src="http://piwik.org/wp-content/uploads/2012/02/Ecommerce-comparing-orders-and-conversion-rate-or-revenue.png" alt="" width="756" height="249" /></a></p>
<p>In Piwik 1.6 you used to only be able to see the main metric, but you can now plot several metrics at once, and compare metrics to each other.</p>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Graph-Comparing-two-metrics-with-different-scales-Comparing-Ecommerce-orders-and-Revenue.png"><img class="alignnone size-full wp-image-7799" title="Graph Comparing two metrics with different scales, Comparing Ecommerce orders and Revenue" src="http://piwik.org/wp-content/uploads/2012/02/Graph-Comparing-two-metrics-with-different-scales-Comparing-Ecommerce-orders-and-Revenue.png" alt="" width="625" height="251" /></a></p>
<p>&nbsp;</p>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Graph-comparing-metrics-bounce-rate-and-downloads.png"><img class="alignnone size-full wp-image-7798" title="Graph comparing metrics bounce rate and downloads" src="http://piwik.org/wp-content/uploads/2012/02/Graph-comparing-metrics-bounce-rate-and-downloads.png" alt="" width="618" height="260" /></a></p>
<p>&nbsp;</p>
<h3 id="toc-dashboard-with-custom-columns-layout">Dashboard with Custom Columns layout</h3>
<p>&nbsp;</p>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Dashboard-with-new-layout-two-wide-graphs-and-two-columns-with-reports-and-Real-time-visitors.png"><img class="alignnone size-full wp-image-7793" title="Dashboard with new layout - two wide graphs and two columns with reports and Real time visitors" src="http://piwik.org/wp-content/uploads/2012/02/Dashboard-with-new-layout-two-wide-graphs-and-two-columns-with-reports-and-Real-time-visitors.png" alt="" width="1875" height="792" /></a></p>
<h3 id="toc-how-to-change-the-dashboard-columns-layout"> How to change the Dashboard columns layout?</h3>
<p>Click on &#034;Dashboard &amp; Widgets&#034; (previously called &#034;Add a Widget&#8230;&#034;).</p>
<div class="mceTemp">
<dl id="attachment_7792" class="wp-caption alignnone" style="width: 478px;">
<dt class="wp-caption-dt"><a href="http://piwik.org/wp-content/uploads/2012/02/Dashboard-New-options.png"><img class="size-full wp-image-7792" title="Dashboard New options" src="http://piwik.org/wp-content/uploads/2012/02/Dashboard-New-options.png" alt="" width="468" height="391" /></a></dt>
<dd class="wp-caption-dd"></dd>
</dl>
</div>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Please-select-your-new-dashboard-layout.png"><img title="Please select your new dashboard layout" src="http://piwik.org/wp-content/uploads/2012/02/Please-select-your-new-dashboard-layout.png" alt="" width="843" height="666" /></a></p>
<h3 id="toc-include-the-all-websites-dashboard-in-pdfhtml-email-reports">Include the All Websites dashboard in PDF/HTML Email reports</h3>
<p><a href="http://piwik.org/wp-content/uploads/2012/02/Scheduled-email-reports-can-contain-All-Websites-dashboard.png"><img title="Scheduled email reports can contain All Websites dashboard" src="http://piwik.org/wp-content/uploads/2012/02/Scheduled-email-reports-can-contain-All-Websites-dashboard.png" alt="" width="847" height="172" /></a></p>
<h3 id="toc-summary">Summary</h3>
<p>For the full list of changes in Piwik 1.7 <a href="http://piwik.org/blog/2012/02/7775/">check out the Changelog</a>.</p>
<p>Thank you to the <a href="http://piwik.org/the-piwik-team/">core developers</a>, all the beta testers, the <a href="http://piwik.org/translations/">translators</a> &amp; everyone who <a href="http://piwik.org/participate/user-feedback/#toc-how-to-submit-a-bug">reported bugs</a> or feature requests.</p>
<p>Stay tuned, we have a few very cool features coming in the next few months. Also, please consider <a href="http://piwik.org/participate/">participating in the project</a> &#8212; did you check our <a href="http://piwik.org/shop/">T-shirts merchandising page</a>?.</p>
<p>Happy Analytics!</p>
<p><em>PS: Piwik is a <a href="http://piwik.org/shop/?page_id=7716">Free/Libre software</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2012/02/new-features-in-piwik-1-7-screenshots/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Piwik best alternative to Urchin! Web Analytics via Log files import</title>
		<link>http://piwik.org/blog/2012/01/piwik-best-alternative-to-urchin-web-analytics-via-log-files-import/</link>
		<comments>http://piwik.org/blog/2012/01/piwik-best-alternative-to-urchin-web-analytics-via-log-files-import/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 00:47:35 +0000</pubDate>
		<dc:creator>Piwik team</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Development]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=7690</guid>
		<description><![CDATA[Urchin development and support will be discontinued by Google as of March 2012. Urchin was a Log Analysis software bought by Google in 2005. They have used this software as a base for Google Analytics and have now announced they will focus exclusively on Google Analytics. We have since received a number of emails from [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Urchin</strong> development and support will be discontinued by Google as of March 2012. Urchin was a <strong>Log Analysis software</strong> bought by Google in 2005. They have used this software as a base for Google Analytics and have now announced they will focus exclusively on Google Analytics. We have since received a number of emails from Urchin users, asking if Piwik could be setup to do the Log Analysis the same way Urchin was doing it, and import all past logs in a Piwik server.</p>
<p><span style="color: #333399;"><strong>We are happy to say that we have been developing a powerful, simple to use script that will analyse your webserver log files (Apache, Nginx, IIS, Akamai, etc.) and will import visits, page views in Piwik.</strong></span></p>
<p><span style="color: #000000;"><strong>We hope that in the next few months, Piwik will become the best alternative to Urchin and AWStats (and others).</strong></span></p>
<p><strong><span style="color: #ff0000;">! UPDATE 2012, March 20th !<br />
</span></strong></p>
<p><strong><span style="color: #008000;">We have now released the beta version of the script to import and analyze server logs using Piwik.</span></strong></p>
<p><span style='font-size:14pt'> Find all the documentation and details on the page <strong><a href="http://piwik.org/log-analytics/">Server Log Analytics</a></span></strong></p>
<h3 id="toc-piwik-features-when-used-to-import-log-files">Piwik Features when used to Import Log files</h3>
<p>Piwik normally uses Javascript code to track visits and pages. This new script will also make it easy to track visits by importing one or many web server log files in Piwik. This is useful if you are not able to add the JS code to the websites, or if you wish to import large amount of historical data at once, or if you are looking for a software that does the same thing as Urchin, AWStats, Webanalyzer or Webtrends.</p>
<p>Some features of the Piwik Log Import script include:</p>
<ul>
<li>Great performance, we have tested to track several millions of log lines per day with success. See <a href="http://piwik.org/log-analytics/?page_id=124#faq_137">Piwik for high traffic</a> check list.</li>
<li>Bot traffic is automatically excluded: to keep your Web Analytics report clean and useful, and increased performance.</li>
<li>Piwik can track websites with the standard Javascript code, and other websites could be tracked by importing the access logs. For example Javascript tagging for website 1 and 3, and Log import for site 2 and 4. We expect these hybrid Piwik servers to become a common configuration among the community.</li>
<li>File downloads appearing in the logs will be automatically tracked as &#034;Downloads&#034; in Piwik</li>
<li>Because Logs will be imported via the <a href="http://piwik.org/log-analytics/?page_id=2285">Tracking API</a>, all Piwik features will be supported (Goal tracking based on URL, <a href="http://piwik.org/log-analytics/?page_id=7667">IP Anonymization</a>, <a href="http://piwik.org/log-analytics/?page_id=5973">Visitor log</a>, etc.)</li>
<li>Some reports will have no data because the log data is more limited that data obtained via Javascript. For example: screen resolutions, Supported Browser plugins, <a href="http://piwik.org/log-analytics/?page_id=5530">Custom variables</a>, <a href="http://piwik.org/log-analytics/?page_id=6393">Ecommerce Analytics</a> will not work.</li>
<li>This script will effectively replace <a href="http://piwik.org/log-analytics/?p=6620">Apache2Piwik</a>, the new tool providing more features and better performance.</li>
<li>In later versions we are planning to support Log reprocessing, Error code tracking, Search engine &amp; spam Bot tracking, Feature to use the logs to enhance existing JS tracked pages, and more (based on user popularity and feedback).</li>
</ul>
<p>This script will be written in Python and will be released under the GPL license, for Free (just like Piwik!)</p>
<h3 id="toc-perfect-for-web-hosts-company-and-web-agencies-but-also-for-a-one-off-log-import">Perfect for Web hosts company and Web agencies, but also for a one-off log import</h3>
<p>The script will have 2 modes:</p>
<ol>
<li><strong>Web Host &#8211; Web Analytics Provider user<br />
</strong>This mode is ideal for Web hosts, where new websites are often added in the access logs, but the Piwik admin does not wish to create manually each <a href="http://piwik.org/log-analytics/?page_id=5562">website</a>. The script will automatically detect the Piwik website ID to track based on the URL being parsed: it will look for any Piwik website registered with a URL or &#034;Alias URL&#034; set to this page view host. If a website with the hostname doesn&#039;t exist, a new website is automatically created for this URL.<br />
A summary is then emailed to the Piwik Super User so he/she knows which websites are automatically created by the Log import script, so you can <a href="http://piwik.org/log-analytics/?page_id=3852">create users or assign permissions </a>to view these new websites.<strong></strong></li>
<li><strong>Simple Log Import for one or a few websites only</strong><br />
This mode is ideal if you import only a small number of websites or if you wish to control exactly in which websites requests are tracked.<br />
When a line contains a URL to an unknown Piwik website, Piwik will ignore all these pageviews and will report, at the end of the script execution, the list of hostnames that were not matched to any website in Piwik.<br />
If these unknown URLs turn out to be legitimate pageviews, you can either create a new website manually, or add an Alias URL to an existing website, so the page URLs are directly tracked in this website the next time you import similar logs.</li>
</ol>
<h3 id="toc-join-the-beta-testing-group">Join the beta testing group</h3>
<p>To be part of our beta testing group, please email us at <a href="mailto:hello@piwik.org?subject=Urchin / AWStats user: beta group">hello@piwik.org</a> and mention the Testing of the Urchin/Awstats log import script. Please also mention the number of websites to track, how many pages per day, and if you are willing to test the script and report bugs or feedback.</p>
<h3 id="toc-featured-sponsor-a-web-host-that-tracks-millions-of-log-lines-with-piwik">Featured sponsor: a Web Host that tracks millions of log lines with Piwik</h3>
<p>This work is <strong>sponsored by <a href="https://www.alwaysdata.com/">Alwaysdata</a></strong>, a French web hosting company. They provide Piwik as the Web Analytics package of choice, deprecating AWStats, for thousands of their users. They have been using Piwik for a few years and we are finally integrating this Log Import Analytics key feature in Piwik, and ensuring good performance for the script. We want to make it easy for Web hosts and large Web Agencies to use it as their <em>Web Analytics platform</em>.</p>
<h3 id="toc-goodbye-urchin-scale-of-google-analytics-in-2012">Goodbye Urchin + Scale of Google Analytics in 2012</h3>
<p>The Google Analytics team have decided to focus on the privately hosted Google Analytics (GA) service and discontinue the Log Analysis version (Urchin). <a href="http://piwik.org/log-analytics/?page_id=1259">At Piwik</a> we are quite simply amazed at the scale and reach of Google Analytics in 2012: <strong>GA is used by over 55% of all Internet websites</strong> (<a href="http://w3techs.com/technologies/details/ta-googleanalytics/all/all">source</a>)<strong>. At least 15 million websites use Google Analytics</strong>! (<a href="http://trends.builtwith.com/analytics/Google-Analytics">source</a>). In comparison Piwik is used on 1% of the Internet (cheers!) and 250k+ websites.</p>
<p><strong>Million of pings (page views) are tracked by GA per </strong><strong>SECOND.</strong> It is hard to imagine such scale which would make any software developer speechless. We can only congratulate Google engineers and product designers for the work they are doing to track and aggregate so much data, while allowing to slice this data in real time across dozens of dimensions. This is an amazing technical milestone. We also hope that Google users privacy will be respected and privacy standards will improve in the future.</p>
<p>Regarding the end of Urchin, we at Piwik will do our best to provide to existing Urchin users a good experience to upgrade to Piwik, and try the leading Free software platform. If you are a Urchin user and would like to <a href="http://piwik.org/features/">try Piwik</a>, send us an email us at <a href="mailto:hello@piwik.org?subject=Urchin%20/%20AWStats%20user:%20beta%20group">hello@piwik.org</a> with your current setup. We will help and check similar functionnality is do-able with Piwik and the log import script.</p>
<h3 id="toc-privacy-security-implications-of-self-hosting-your-web-analytics-data">Privacy &amp; Security implications of self hosting your Web Analytics data</h3>
<p>Ensuring the full control over your customers Log files, Piwik database are important requirements if you are a Web agency or a Web host providing web analytics to hundreds or thousands of users.</p>
<p>The tips in the <a href="http://piwik.org/log-analytics/?page_id=7667">Privacy page</a> will help ensure that you make the changes to data collection and data retention required by your Privacy Policy. We also focus on <a href="http://piwik.org/log-analytics/?page_id=7652">Code security</a> and recommend to all Piwik users to spend some time <a href="http://piwik.org/log-analytics/?page_id=7652">securing the Piwik server</a>.</p>
<h3 id="toc-piwik-also-an-alternative-to-awstats-webalizer-modern-ui-better-performance-and-more">Piwik also an alternative to AWStats, Webalizer, : modern UI, better performance, and more!</h3>
<p>We hope that Piwik will become the leading alternative to Urchin and to AWStats. AWStats was a great tool but we hope to modernize the Log analysis open source software world and make use of all the great Piwik <a href="http://piwik.org/features/">features and capabilities</a> in terms of data analysis and graphing. Users in 2012 and beyond will need a modern interface to access the data gathered from their Web server Access logs.</p>
<p>We expect a release in 1-2 months. Stay tuned&#8230;</p>
<p>Happy Log files import with Piwik!</p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2012/01/piwik-best-alternative-to-urchin-web-analytics-via-log-files-import/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Piwik Stickers design contest, prizes!</title>
		<link>http://piwik.org/blog/2011/11/piwik-stickers-design-contest-prizes/</link>
		<comments>http://piwik.org/blog/2011/11/piwik-stickers-design-contest-prizes/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 18:40:14 +0000</pubDate>
		<dc:creator>Piwik team</dc:creator>
				<category><![CDATA[Community]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=7365</guid>
		<description><![CDATA[Piwik Stickers Contest Everyone loves stickers, you can use &#039;em to jazz up your car, laptop, books or even lamp posts! Therefore, we would love to offer beautiful Piwik stickers to the community. So, we are launching a Design Contest to come up with a funky design that we will use to print stickers! ** [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Piwik Stickers Contest<br />
</strong></p>
<p>Everyone loves <a href="https://en.wikipedia.org/wiki/Sticker">stickers</a>, you can use &#039;em to jazz up your car, laptop, books or even lamp posts! Therefore, we would love to offer beautiful Piwik stickers to the community.</p>
<p>So, we are launching a <strong><span style="color: #000080;">Design Contest to come up with a funky design that we will use to print stickers</span></strong>!</p>
<p><strong>** Update: March, 13th 2012</strong> <strong>**</strong></p>
<p><strong></strong>Thank you to everybody who submitted their designs for the sticker contest.</p>
<p>We have now selected the top 3 sticker designs which will be used and soon available on the site.</p>
<p><strong>Congratulations to the winners:</strong> <span style="color: #993300;"><strong>Stevy Georgiadi, Jason McIntire, Michal Predotka</strong></span></p>
<p><span style="color: #800080;">We are <span style="text-decoration: underline;">still open to submissions for great sticker designs</span>, so please <a href="mailto:design@piwik.org"><span style="color: #800080;">submit your design by email</span></a>.</span> If you are chosen, we will send you a $137 bounty gift by Paypal.</p>
<p><img class="aligncenter size-full wp-image-8123" title="sticker-piwik-analytics-5colors-400x174" src="http://piwik.org/wp-content/uploads/2011/11/sticker-piwik-analytics-5colors-400x1741.jpg" alt="" style='border:0' width="400" height="174" /></p>
<p>&nbsp;</p>
<p><img class="aligncenter  wp-image-8115" style="border: 0;" title="Sticker Liberate your Analytics" src="http://piwik.org/wp-content/uploads/2011/11/Sticker-Liberate-your-Analytics.png" alt="" width="411" height="155" /></p>
<p>&nbsp;</p>
<p><img class="aligncenter  wp-image-8116" style="border: 0;" title="Sticker Privacy Piwik" src="http://piwik.org/wp-content/uploads/2011/11/Sticker-Privacy-Piwik-400x400.png" alt="" width="347" height="347" /></p>
<p>&nbsp;</p>
<p><strong><span style="color: #800080;">Which is your favorite that you&#039;d like to see on a Piwik sticker?<br />
</span></strong></p>
<p><strong>Contest &amp; Sticker Design guidelines</strong></p>
<ul>
<li><span style="text-decoration: underline;">Themes</span>: we would prefer if the sticker included at least the <a href="http://piwik.org/media/">Piwik logo</a> or stylised Piwik text. Otherwise, you can get creative! As an idea, you could add in text about related topics such as: Open source web analytics,  Data privacy &amp; protection, private cloud, Freedom, open data, real time analytics, etc. You are free to design how you like!<br />
<strong></strong></li>
<li><span style="text-decoration: underline;">Shape</span>: sticker designs can contain transparency and can be of any shape: oval, rectangular or square</li>
<li><span style="text-decoration: underline;">Sizes</span>: maximum reasonable size for a sticker would be around 10*6 centimeters. Small stickers are also possible, up to you. We will do our best to find the right sticker printing company to print the winning designs</li>
<li><span style="text-decoration: underline;">Duration</span>: we will award prizes for the first <strong>5 winning designs</strong>! <a href="http://piwik.org/media/?page_id=1259">Piwik team</a> will pick the winning designs, but we will also post them on this page and listen to community feedback :)</li>
</ul>
<p><strong>YOU COULD WIN!!</strong></p>
<p>The prize for the winning sticker design is <span style="color: #000080;"><strong>$137</strong></span><span style="color: #000080;"><strong> for each design</strong></span> we end up printing on stickers &#8211; payment by Paypal. You will <strong>also get free stickers</strong> with your design(s) shipped to your preferred address wherever you are in the world so you can show your cool design off to your friends!</p>
<p>The stickers will then be available in the <a href="http://piwik.org/media/?page_id=7207">Piwik shop</a> for the smallest price possible: we want all Piwik users to enjoy and put their stickers wherever they like.</p>
<p><strong>Submit your logo designs</strong></p>
<p>Send your designs to <a href="mailto:design@piwik.org?subject=Piwik%20sticker%20design%21"><strong>design@piwik.org</strong></a> in png or jpg format, with a max width of 1200 pixels.</p>
<p>We hope to receive many cool sticker design submissions, and will update this page with the best ones in the next few days.</p>
<p>Happy designing!</p>
<p>Thanks so much for your submission.<br />
There was a lot of competition, we have chosen others for the <a href="../blog/2011/11/piwik-stickers-design-contest-prizes/">top 3</a>,<br />
but thank you for your design! We hope you enjoy Piwik,<br />
All the best</p>
<p>Piwik team</p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2011/11/piwik-stickers-design-contest-prizes/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>New: Quality Piwik T-shirts now available!</title>
		<link>http://piwik.org/blog/2011/11/new-quality-piwik-t-shirts-now-available/</link>
		<comments>http://piwik.org/blog/2011/11/new-quality-piwik-t-shirts-now-available/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 23:36:19 +0000</pubDate>
		<dc:creator>Piwik team</dc:creator>
				<category><![CDATA[Community]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=7363</guid>
		<description><![CDATA[Now you can buy your VERY OWN custom Piwik t-shirt or hoody in our Piwik merchandise shop. We have partnered with our friends at ooShirts.com, a customized tshirts company that provides great, high quality prints for affordable prices. Order your very own Piwik t-shirt or hoodie here: About the T-shirts ooShirts.com is a reputable Custom [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Now you can buy your VERY OWN custom Piwik t-shirt or hoody in our <a href="http://piwik.org/shop/">Piwik merchandise shop</a>. </strong>We have partnered with our friends at <a href="http://www.ooshirts.com/">ooShirts.com, a customized tshirts</a> company that provides great, high quality prints for affordable prices.</p>
<p><strong>Order your very own <a href="http://piwik.org/shop/">Piwik t-shirt</a> or hoodie here:</strong></p>
<p><a href="http://piwik.org/shop/"><img title="Piwik womens tshirt and hoody" src="/wp-content/uploads/2011/10/Piwik-womens-tshirt-hoody.png" alt="" width="388" height="210" /></a></p>
<p><strong>About the T-shirts</strong></p>
<p><a href="http://www.ooshirts.com/">ooShirts.com</a> is a reputable Custom T-shirts company, dedicated to providing a great service and products. The T-shirt quality is great (we have tested many washes and it still looks good!). Also, the shirts comply to standards of<strong> Fair labor</strong>, which is very important to us. <strong>Shipping</strong> anywhere in the world is just $5 USD. More details on the <a href="http://piwik.org/shop/">tshirts page</a>.</p>
<p><strong>Other Piwik news!</strong></p>
<p>We are currently working on the next version of Piwik with some of the new features already in SVN: new reports in Piwik, graphs in PDF reports, cool new features in the user interface: we hope to release <strong>Piwik 1.7 in a few weeks time</strong>, so stay tuned!</p>
<p>We are also working on posting <strong>new content on the <a href="http://piwik.org/blog/">Piwik blog</a></strong> and will publish a &#034;<strong>How to&#034; </strong>series. The tutorial series will for example explain: how to track various pages and sections of a website effectively, how to track facebook activity, how to track clicks on slideshows&#8230; and more! We will use a Piwik community member site, <a href="http://divezone.net/">divezone.net</a> scuba diving guide, holidays&#8230; as an example and show how to track and analyse relevant user interactions on your website!</p>
<p>If you have any suggestions or request for tutorials, how to, please <a href="mailto:hello@piwik.org?subject=Blog post or tutorial request">submit us</a> your ideas.</p>
<p>Thank you for your support &amp; we hope you enjoy wearing your Piwik gears!</p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2011/11/new-quality-piwik-t-shirts-now-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Announcing Piwik meetup in Munich, Germany on Oct 22nd – Register now, FREE!!</title>
		<link>http://piwik.org/blog/2011/09/announcing-piwik-meetup-in-munich-germany-on-oct-22nd-register-now-free/</link>
		<comments>http://piwik.org/blog/2011/09/announcing-piwik-meetup-in-munich-germany-on-oct-22nd-register-now-free/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 00:20:03 +0000</pubDate>
		<dc:creator>Piwik team</dc:creator>
				<category><![CDATA[Community]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=7044</guid>
		<description><![CDATA[Updated Nov 2011: the meetup was a great success, 30 people were present and lots of interesting moments and presentations. The slides can be found at the end of this post. Stay tuned on this blog for the next Piwik meetup announcement! We are happy to announce that Piwik is ranked #2 in the top [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #008000;"><strong>Updated Nov 2011</strong></span>: the meetup was a great success, 30 people were present and lots of interesting moments and presentations. The slides can be found at the end of this post. Stay tuned on this blog for the next Piwik meetup announcement!</p>
<p><strong>We are happy to announce that Piwik is ranked #2 in the top of web analytics tools in Germany.</strong> A total of 13% of German websites .de that are using an analytics tool have chosen the open source alternative Piwik.</p>
<p style="text-align: left;">To celebrate this amazing news, we would like to invite the Piwik community to meet for our first meetup in Munich, Germany!</p>
<p style="text-align: left;"><span style="color: #000080;">Location: <strong>Mannhardtstrasse 6, 80538 Munich </strong>- <a href="http://www.bing.com/maps/?v=2&amp;cp=48.13497043024963~11.58499666458605&amp;lvl=17&amp;dir=0&amp;sty=r&amp;where1=Mannhardtstra%C3%9Fe%206%2C%2080538%20M%C3%BCnchen&amp;form=LMLTCC">Map &amp; address </a></span><span style="color: #000080;"><br />
Date:<strong> Oct 22nd, afternoon from 2pm<br />
</strong>Cost:<strong> Free!<br />
<a href="http://piwik-meetup-munich.eventzilla.net/">Register now on the event page</a><br />
</strong></span></p>
<p>We would love to see you there for an afternoon of talks, fun, meeting other Piwik community users and core team members. We also hope to discuss the roadmap and generate new ideas and suggestions to improve Piwik.  Please <strong><span style="color: #800000;">register on <a href="http://piwik-meetup-munich.eventzilla.net/">the event page</a> for a free ticket</span></strong> (limited to 25 seats).</p>
<h4>More info: Piwik ranked #2 Web Analytics tool in Germany</h4>
<p>Piwik is ranked #13 worldwide with a global marketshare of 1.5%. Piwik is the most popular open source software and the only <a href="http://en.wikipedia.org/wiki/Free_software">Free software</a> to have a significant marketshare. However in Germany Piwik has <span style="color: #800000;">13% marketshare</span> in Web Analytics tools, which is an incredible achievement!!</p>
<p>Below is the screenshot of Web analytics Germany marketshare (<a href="http://w3techs.com/technologies/segmentation/tld-de-/traffic_analysis">Source W3techs</a>)<br />
<a href="http://piwik.org/wp-content/uploads/2011/09/web-analytics-germany-marketshare.png"><img class="size-full wp-image-7053   " src="http://piwik.org/wp-content/uploads/2011/09/web-analytics-germany-marketshare-top.png" alt="" width="648" height="373" /></a></p>
<p>Germany is <a href="http://piwik.org/blog/2011/03/piwik-can-be-used-in-compliance-with-data-protection-laws/">leading Privacy issues awareness</a> with open political discussions and decisions. In particular, internet businesses with servers in foreign countries are restricted in the way they collect Personally Identifiable Information (PII) from German visitors. Piwik has become a building block of the Free Internet and Open data movement. We believe that user privacy should always be protected, and more websites will make use of open source technologies to keep control over this sensitive data. Work is always ongoing to make Piwik better and faster. We also hope to keep developing our active community <a href="http://forum.piwik.org/index.php?">on the forums</a> and organise more meetups in the future.</p>
<h4>Piwik meetup: Munich, Saturday October 22nd</h4>
<p>Germany is the most represented country in the Piwik community, and half of the core dev team is German. So we are excited to meet community members and meet other Piwik users in Munich! We will announce the agenda (all talks will be in German language) in a few days on the event page. Food and drinks will be provided.</p>
<p><a href="http://piwik-meetup-munich.eventzilla.net/">Click here to register</a> quickly, limited entries (first come first served).</p>
<p>For any questions or feedback about the meetup, please contact us at <a href="hello@piwik.org?subject=Piwik Meetup Munich">hello@piwik.org</a>. Thank you to <a href="http://www.mayflower.de/">Mayflower</a> for hosting the meetup.</p>
<p><strong><span style="color: #008000;">We hope to see you there!</span></strong></p>
<p>Thomas, Stefan, Timo, Peter and André<br />
<a href="http://piwik.org/the-piwik-team/">Piwik team</a></p>
<p>Updated: Piwik slides can now be found below!</p>
<p><b>Piwik Roadmap 2.0 &#8211; Oct 2011</b>, by Timo Besenreuther</p>
<p><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/piwik/piwik-roadmap-october-2011" title="Piwik Roadmap 2.0 - October 2011" target="_blank">Piwik Roadmap 2.0 &#8211; October 2011</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/9859536" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> </p>
<p><b>Piwik Mobile Overview &#8211; Oct 2011</b>, by Thomas Steur</p>
<p> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/piwik/piwik-mobile-october-2011" title="Piwik Mobile Overview - October 2011" target="_blank">Piwik Mobile Overview &#8211; October 2011</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/9859642" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> </p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2011/09/announcing-piwik-meetup-in-munich-germany-on-oct-22nd-register-now-free/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How can we improve the website piwik.org? Feedback, suggestions!</title>
		<link>http://piwik.org/blog/2011/07/how-can-we-improve-the-website-piwik-org-feedback-suggestions/</link>
		<comments>http://piwik.org/blog/2011/07/how-can-we-improve-the-website-piwik-org-feedback-suggestions/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 22:26:35 +0000</pubDate>
		<dc:creator>Piwik team</dc:creator>
				<category><![CDATA[Community]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=6987</guid>
		<description><![CDATA[We believe the website piwik.org does a good job, but it can be improved and hopefully serve the Piwik community better. In particular, we are planning to work on a website redesign for piwik.org website, which contains the various documentations, FAQs, the download counter, Participate in the project, and many other pages. What are your [...]]]></description>
			<content:encoded><![CDATA[<p>We believe the website <a href="http://piwik.org">piwik.org</a> does a good job, but it can be improved and hopefully serve the Piwik community better.</p>
<p>In particular, we are<span style="color: #008000;"><strong> planning to work on a website redesign for piwik.org website</strong></span>, which contains the various documentations, FAQs, the <a href="http://piwik.org/download/counter/">download counter</a>, <a href="http://piwik.org/contribute/">Participate in the project</a>, and many other pages.</p>
<p>What are your ideas on the website redesign? What look and feel should it have, etc.</p>
<p>Please <span style="color: #333399;">leave your best suggestions/ constructive feedback</span>, in a comment in this blog post, or in the Facebook fan page, or RT &amp; Reply to us. Thank you to all for leaving your ideas!</p>
<p>Happy life &amp; analytics,<br />
Piwik team</p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2011/07/how-can-we-improve-the-website-piwik-org-feedback-suggestions/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Ecommerce Analytics is Hard</title>
		<link>http://piwik.org/blog/2011/07/ecommerce-analytics-is-hard/</link>
		<comments>http://piwik.org/blog/2011/07/ecommerce-analytics-is-hard/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 21:57:18 +0000</pubDate>
		<dc:creator>Piwik team</dc:creator>
				<category><![CDATA[Community]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=6949</guid>
		<description><![CDATA[One of the key features in v1.5 of Piwik is the ability to track ecommerce events, like viewing a product, placing items in a shopping cart, and purchasing an order. The Piwik team has been working with the folks at ecommerce analytics company Jirafe on these features, and we are very proud of our progress [...]]]></description>
			<content:encoded><![CDATA[<p>One of the key features in v1.5 of Piwik is the ability to <span style="color: #008000;"><strong><a href="http://piwik.org/docs/ecommerce-analytics/">track ecommerce events</a></strong></span>, like viewing a product, placing items in a shopping cart, and purchasing an order.  The Piwik team has been working with the folks at <a href="http://jirafe.com">ecommerce analytics company Jirafe</a> on these features, and we are very proud of our progress to date.</p>
<p>While tracking and reporting ecommerce data is hard, it is equally hard to implement ecommerce analytics tags on your web site.  Just think about the integration &#8211; each product page, shopping cart page, confirmation page needs specialized tags, which hook into data (e.g. price, quantity, tax, shipping, etc).  And this is not taking into account Javascript &#039;add to cart&#039; functions, returns, and other features!</p>
<p>We pride ourselves on making Piwik INCREDIBLY <a href="http://piwik.org/docs/installation/">simple to install</a>, setup, and use. We also want to make the <strong>process of implementing ecommerce tracking even simpler</strong>. To this end, we are working closely with the folks from Jirafe to implement plugins in ecommerce platforms (such as Magento, Prestashop, etc.) that automate setting up tags in all of the right places, and to create a <strong>hosted service</strong> so that there is an automated registration, installation, setup, and reporting inside of the ecommerce platform.</p>
<p>We are really excited about the potential developments here.  By using an open source tool like Piwik, with our huge community to help provide feedback on plugins on various platforms, we have a truly unique way to bring enterprise level reporting to all ecommerce businesses, big and small.</p>
<p><span style="color: #800080;"><strong>If you run an ecommerce store, and would like to participate in a beta of a hosted Piwik service for ecommerce platforms, please fill in your details below.</strong></span><br />
<a href="http://eepurl.com/evPfs"><br />
<strong style="font-size: x-large;">→ Sign Up For Ecommerce Analytics</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2011/07/ecommerce-analytics-is-hard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Export statistics from Apache log files to Piwik with Apache2Piwik [DEPRECATED]</title>
		<link>http://piwik.org/blog/2011/06/import-log-files-piwik/</link>
		<comments>http://piwik.org/blog/2011/06/import-log-files-piwik/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 22:26:12 +0000</pubDate>
		<dc:creator>maciej</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Development]]></category>
		<guid isPermaLink="false">http://piwik.org/?p=6620</guid>
		<description><![CDATA[UPDATE March 2012: we have developed a new Server Log Analytics script. The new import_logs.py is now included in Piwik core distribution (as of Piwik 1.7.2) in piwik/misc/log-analytics/import_logs.py Click HERE for the newer version! Note: Apache2Piwik described below is deprecated: we recommend using import_logs.py (click for more info!) Apache2Piwik, a script written in Python under [...]]]></description>
			<content:encoded><![CDATA[<div style="border:3px solid #4A338F;color:#4A338F;font-size:16pt;padding:15px">UPDATE March 2012: we have developed a new <a href="http://piwik.org/log-analytics/">Server Log Analytics script</a>.<br />
The new <a href="http://piwik.org/log-analytics/">import_logs.py</a> is now included in Piwik core distribution (as of Piwik 1.7.2) in piwik/misc/log-analytics/import_logs.py</p>
<p><a href="http://piwik.org/log-analytics/">Click HERE for the newer version!</a>
</div>
<p>Note: Apache2Piwik described below is deprecated: we recommend using <a href="http://piwik.org/log-analytics/">import_logs.py</a> (click for more info!)</p>
<p><span style="color: #0000ff;"><strong><a href="http://clearcode.cc/offer/open-source-projects/apache2piwik/">Apache2Piwik</a></strong></span>, a script written in Python under GPL license, enables <strong>exporting statistics from Apache logs to Piwik!</strong></p>
<p>Log files are known to contain a wealth of information about activity on a website, and are usually analyzed with tools such as <span style="color: #993300;"><strong>AWStats </strong>or <strong>Webalizer</strong></span>. Being able to transfer it to <strong><span style="color: #333399;">Piwik</span></strong>, a powerful web analysis tool, can greatly enhance data mining and presentation. This, in turn, means more control over your web property, better informed decisions and greater potential for optimalization.</p>
<p><strong><span style="color: #003300;">Importing visits, pages, Goal conversions from logs</span></strong> is very fast, processing thousands of log lines per second and can also read &amp; process your log files in real time. Piwik reports after import have a few missing data points compared to the standard Javascript code and standard Piwik reports. However, compared to older log analyser softwares such as Webalizer or AWStats, Piwik reports are sharp, easy to understand, and lets you focus on your analysis goals!</p>
<p>This page contains the following sections: Apache2Piwik requirements, How to use guide, List of missing reports when using log files, Performance of the script, and Credits.</p>
<p>&nbsp;</p>
<h3 id="toc-apache2piwik-requirements">Apache2Piwik Requirements</h3>
<ul>
<li>access to Piwik installation</li>
<li>access to Apache logs with read privileges (you can specify log format in settings.py)</li>
<li>Python 2.6 with MySQLdb, GeoIP for Python and httpagentparser</li>
</ul>
<h3 id="toc-how-to-import-apache-logs-in-piwik">How to import Apache logs in Piwik?</h3>
<p>Follow these steps for a test export with Apache2Piwik:</p>
<ul>
<li><strong>Important:</strong> create backup of your Piwik MySQL Database.</li>
<li>create `settings.py` as a copy of settings.py.sample and edit MySQL Piwik Database configuration</li>
<li>execute apache2piwik.py &#8211; see examples below</li>
</ul>
<p><strong>Example 1 &#8211; importing log file, all settings set in settings.py file:</strong></p>
<p><code>$ python2.6 ./apache2piwik.py<br />
Started processing /path/to/file/logfile1 file...<br />
Finished in 2m16s.<br />
Started processing /path/to/file/logfile2 file...<br />
Finished in 2m59s.<br />
</code></p>
<div><strong>Example 2 &#8211; live processing of apache log files.</strong></div>
<div>You can enable, in the config file settings.py, the feature of Apache log Live processing. When enabled, Piwik will check your log files for modifications and automatically import the new requests/visits/pageviews in Piwik.</div>
<div>To start a daemon on log file run:</div>
<p><code>$ python2.6 ./apache2piwik.py start</code></p>
<div>To stop the daemon from reading and importing your logs in Piwik in real time:</div>
<p><code>$ python2.6 ./apache2piwik.py stop</code></p>
<div><strong>Example 3 &#8211; goals processing.</strong></div>
<div>If you added new goals to Piwik after data was imported into the database, you can simply run:</div>
<p><code>$ python apache2piwik.py -g</code></p>
<div>in order to reprocess logs and update the goals data in your database.</div>
<div></div>
<div>Important notes about Apache2Piwik:</div>
<ul>
<li><span style="color: #000080;">Images files</span> are automatically ignored. You can customize ignored extensions in settings.py file. You can also ignore specific logs with regular expressions there</li>
<li><span style="color: #000080;">Search bots</span> are not excluded at this stage. We might add a feature to exclude bots in a future version.</li>
<li>When you <span style="color: #000080;">import data in the past</span>, or when you want to reprocess your reports from the logs, you can delete piwik_archive_* tables. See more information <a href="../faq/how-to/#faq_59">in this FAQ</a>.</li>
<li>Apache2Piwik imports data into the <span style="color: #000080;">idsite specified in settings.py</span>. You can override this by &#034;-i [idsite]&#034; command line parameter</li>
</ul>
<h3 id="toc-reporting-differences-between-server-logs-and-javascript-code">Reporting differences between Server Logs and Javascript code</h3>
<div>The server web access log files contain a lot of interesting information: URL, Date &amp; time, Referrer URL, Visitor IP, etc. but some reports in Piwik require the <a href="../?page_id=17">Javascript Tracking code</a> to be processing.</div>
<div>The following information <strong>will not be tracked </strong>when importing logs in Piwik: Screen resolution &amp; type, Custom variables, Page titles, Outlinks, Campaigns, Providers, Plugins support.</div>
<div>
<h3 id="toc-apache-log-import-performance">Apache log import Performance</h3>
<div>Our tests, on a Intel Dual Core 2.5 Ghz, indicated that the script could parse <strong>3000 lines per second</strong> on average (processing a single 300MB file with about 500,000 lines was performed under 3 minutes and generated about 21.000 visits and 71.000 actions). During this test, only 14% of log lines were actual Pageviews types requests tracked by Piwik.</div>
<div>Important notes about performance:</div>
<ul>
<li>If your URLs contain session id, add a regular expression in URL_REGEXPR directive in settings.py to cut it out</li>
<li>Do you have any monitoring or cron scripts that call some URLs every X minutes?<br />
If so, add them to IGNORED_LOGS directive in settings.py</li>
<li>The script is designed more for a &#034;single website&#034; use case, or for a few websites. We haven&#039;t tested in a &#034;web hosting&#034; environment type load at this stage, but we hope to in the future.</li>
</ul>
<h3 id="toc-credits">Credits</h3>
<p>The project has been developed initially for <a href="http://www.clanmo.com/">CLANMO GmbH</a>, an award-winning mobile interactive agency from Köln, Germany.</p>
<p><a href="http://www.clanmo.com/"><img src="/wp-content/uploads/2011/06/clanmo2.gif" alt="" width="225" height="25" /></a></p>
<p>Apache2Piwik was specified and implemented by Clearcode, official <a href="../?page_id=406">Piwik consultant</a>. <a href="http://clearcode.cc/">Clearcode</a> supports further development of <a href="http://piwik.org/log-analytics/?p=6620"><strong>Apache2Piwik</strong></a> and <strong><a href="http://piwik.org/log-analytics/?p=5375">Google2Piwik</a></strong>. Our next project is  to develop a GUI for MacOS X/Windows/Linux for these tools.</p>
<h3 id="toc-download-feedback-questions">Download, Feedback &amp; Questions</h3>
<p>The script is available at <strong><a href="http://clearcode.cc/offer/open-source-projects/apache2piwik//">Apache2Piwik official page</a></strong><strong>. </strong></p>
<p>If you have any suggestion, bug report, or feedback about Apache2Piwik, please leave in a comment in above page directly.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://piwik.org/blog/2011/06/import-log-files-piwik/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

