&gt; It took us only a few weeks to write our home-brew analytics package.<p>Unfortunately, there&#x27;s no way to replicate what Google Analytics currently offers (for free!) within a couple of weeks (or even months). Not with big data sets. Yes, GA does enforce sampling if you don&#x27;t pay for GA Premium, but the free edition is still one of hell of a deal (if you don&#x27;t care about privacy).<p>If you only use Google Analytics as a hit counter, sure, you can do that yourself within a couple of minutes. The advanced features are way more complicated, though (think segmentation and custom reports).<p>This also begs the question: why not use Piwik?