Perk interview question

How would you design a Google Site Analytics clone?