How to test a web analytics function
We're implementing an analytic function for our own web, it's a bit like google analytic. At this moment, I do not have any idea about how to test it, just an intention to add as much as possible data in DB then verify if the counting is correct via charts. But that seems not a good/easy way.
Could someone please help me in advance?