How can i collect data from my website

Im currently using reactjs to develop my website i want to create a functioning admin page for my shop how can i collect data like who bought and how much money i made and a visitor count. Or is there any tutorials to do that.

There are a lot of ways to answer this question. To help us, have you conducted some preliminary research? The search phrase ‘react admin page’ has many results on Google, to include some tutorials. I think reading some of those results would help you ask some more specific questions that would be easier for community members to provide helpful answers.