How can we access specific Google Analytics account data using API?

后端 未结 3 556
星月不相逢
星月不相逢 2021-01-15 11:41

We\'re developing a web application that allows clients to create and display products. We\'d like to provide our clients with metrics from our Google Analytics account reg

相关标签:
3条回答
  • 2021-01-15 11:54

    GAPI can do this for you, the account details go in the code rather than needing a user to auth a GA account: GAPI - Google Analytics API PHP Interface

    0 讨论(0)
  • 2021-01-15 12:02

    You can create your own dashboard by accessing the analytics data with an API. See https://developers.google.com/analytics/devguides/reporting/

    0 讨论(0)
  • 2021-01-15 12:05

    Is there a way to access Google Analytics data for an account we have access to but the user of the web application does not?

    Yes, you can use a refresh token. Store the refresh token in a db or secure config file, then use it to show the client stats on their dashboard.

    0 讨论(0)
提交回复
热议问题