我试图访问谷歌分析,以便了解我的现场的页面访问,但由于GA4 Im的更新无法通过客户——秘密查阅。 I m 发现这一错误:
"
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{ "message": "Login Required.",
"domain": "global",
"reason": "required",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "CREDENTIALS_MISSING",
"domain": "googleapis.com",
"metadata": {
"service": "analyticsreporting.googleapis.com",
"method": "google.analytics.reporting.v4.Reporting.GetReports"
}
}
]
}
}"
我必须做些什么,我如何利用这种财产,而不是 view眼? 我只需要看到我所有网页的页面浏览。
my php-v 7.3
laravel平台 7