i want to create a simple analytic dashboard to show page views, clicks, number of users online, month weekly etc.
With charts and API connection capabilities you can do that relatively easy. Can utilise things like Google Analytics and their API or create your own using Real Time Data via Sockets etc. Layout wise just stick to Bootstrap. Nothing too complicated. Most aspects have been covered here on the Community.
It really depends on your data source on how complicated this can get. What are you using for a data source?
sqllite database local within wappler
So what exactly is your question? Which part of the dashboard is not clear for you? Which part do you have problems with?
Your question is too broad for people to help you.
Is that not what google analytics will do for you.
Why reinvent a solution when there is already a comprehensive one available free?
If you must,look at the Google Analytics Reporting API
i want to create a simple dashboard with basic information, like numbers of users, active online users, page views etc
Then i would suggest you
-
Use google analytics.
-
look at the google analytics API and use that to extract the data
Once you have the data you can display it in a dashboard in any way you want.
If using node you could use sockets to track the number online at any time.
this what i want to do but don't know how
Would be a big ask to expect anyone to write this for you but we can point you on the right direction.
Firstly learn about using oAuth2 to authenticate your google account
Good tutorial here.
Alternatively use jwt
Take a look at the google analytics API docs.
Look at these great tutorials,not analytic specific but great api tutorials.
thanks alot