Steps followed:
- Put the script from GA in index.html
- Put a logic from the frontend and send to GA to increase the count on each page navigation
- Created API KEY, OAuth client ID, Service account from google cloud console
- Enabled Google Analytics Data API from google cloud console
Stucked with calling the GA api
API to get the count This one I tried. But not getting the count. Call is not even going inside this. Can anyone help me with this?