Add view count to webpage from Google Analytics
问题 I am trying to create a view count feature for a webpage. To do this, I created a new property and generated a tracking id from Google Analytics. Is there a way I can use the page vists data from there and display it on the same page that I am tracking? 回答1: You can, but since GA APIs are authenticated, you will need to handle that authentication one way or another . You have basically 3 options: User doing OAuth : by default you would need to implement the OAuth flow like the Query Explorer