AppFusions的权限问题Confluence的Google Analytics插件

问题描述 投票:0回答:2

我最近为Confluence安装了AppFusion的Google Analytics插件,但当我在某个空间的某个页面上时,我会点击“查看该页面的用户”,我将获得一个永久加载框,说明它正在从Google Analytics获取信息。

检查日志,这是我得到的:

2015-09-16 20:38:33,423 ERROR [http-nio-8090-exec-9] [plugins.googleanalytics.utils.DataFeedUtils] getGaData  ++ Oh heck:  GoogleJsonResponseException -- 403 Forbidden
{
  "code" : 403,
  "errors" : [ {
    "domain" : "global",
    "message" : "User does not have sufficient permissions for this profile.",
"reason" : "insufficientPermissions"
  } ],
  "message" : "User does not have sufficient permissions for this profile."
}
 -- referer: https://confluenceURL | url: /rest/googleanalytics/1.0/content/page/47843376/pageviews/2015-08-16/2015-09-16 | userName: [email protected]

有关设置插件的信息,请参阅此处:https://www.appfusions.com/display/GANLC/Documentation

google-analytics confluence
2个回答
1
投票

在这种情况下,在步骤4:在插件配置屏幕中选择网站配置文件中未选择任何网站配置文件,因此记录的错误有点误导。

Google Analytics Administration中创建了一个属性,然后在插件配置屏幕(下面)中选择了一个配置文件,一切都重新开始了。

enter image description here


0
投票

您通过身份验证的用户无权访问您在代码中设置的Google Analytics配置文件。

向您正在进行身份验证的用户提供从该帐户读取的权限。或使用具有访问权限的帐户进行身份验证。

© www.soinside.com 2019 - 2024. All rights reserved.