Getting a link to a specific Google Analytics view

后端 未结 3 1235
-上瘾入骨i
-上瘾入骨i 2021-01-06 16:10

I have a GA account, with defined properties and views. Now, I gave viewing rights for a few users to a specific view. How can I construct/get programmatically a direct URL

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-06 16:40

    Further to Matt's brilliant answer, you can use the "Try this API" section in their documentation here to get this information without writing a line of code:

    https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/accountSummaries/list

    There is also some code snippets to do this programmatically.

    Don't forget you will need to be logged in with an account with GA access for this to work.

提交回复
热议问题