Sales and download analysis is an important task to improve your software and its marketing. I am glad that Apple provides a daily and weekly report on my iPhone App sales. The problem is that they purge the historical data on a regular basis (after 7 days), so it’s important to download and save it to somewhere for later analysis.
Kirby at thecave.com shared his script on automating the download. You can set a cronjob after midnight to download the report daily. I also improved it a bit to make it work better and has a fewer http calls. You can grab the script at the end of the post. UPDATE: The changes are now committed to upstream. Thanks Kirby.
In addition, you can download a PHP script called AppStoreReports which will render your daily sales reports into html page and allow you to filter the report by region, app, and day. [via this thread]
I love automated reports and metrics. The next step would be generating some beautiful and meaningful graphs. I will work on it and share with you all soon.


John Ballinger
December 8th, 2008 at 9:04 pm
Super super cool! Thanks a lot, I have been looking for something like this for ages.
Have downloaded and got it working.
Cheers, again, John.
Troy Simon
January 31st, 2009 at 4:52 pm
I was sitting down to produce this type of report because a client of mine wanted to see the download progress of our Best Buys iPhone application. This report is great and I will pass the word about it.. !
App Store sales tracking at Under The Bridge
March 3rd, 2009 at 1:53 am
[...] appstorereports on Google Code; screenshot here [...]
Hong Kong CocoaHeads » Blog Archive » App Store sales tracking and analysis
April 3rd, 2009 at 10:51 pm
[...] iPhone App Sales Report: Automate Download and HTML Report Script - a post by our friend Leon [...]