Analisys of Quarto website traffic (Google Analytics)

Hello, I have set up my quarto website deployed on Github Pages (+ domain in AWS) with its own GoogleAnalytics tracking id.

Now I am seeking examples or suggestions on how to track and analyze the traffic in an R-based way. I am envisioning a process like this:

  1. automatic extraction of traffic data from GoogleAnalytics and import into R
  2. analysis and simple charts refreshed monthly
  3. rendering monthly analysis in the form of a Quarto page/dashboard (or similar)
  4. (the latter, ideally visible only to the website owner. )

Can anyone point me to any suggestion/tutorial/examples?
Thanks!