Is there a boxed software to gather statistics and create a database on the user / client site / online store? In brief: is issued to the visitor id, if this is his first visit assigns to it id all the information about the user (data from the headlines, referrers, what bought) in the case of re-entering - adds info to the database for this id + statistical analysis (graphs, etc., etc.)
With magento's feature rich and scalability there's no way this platform can't perform this functionality. So i suggest you go with magento.