我想从Google Analytics(分析)中获取所有数据。您能否解释一下如何获取“ isitors-demographics-interest-overview”数据
我使用了一些代码来从Google analatics获取数据,但是我被困在“ intrest菜单”上
$age = Analytics::performQuery($pobj, 'data', ['metrics' => 'ga:users','dimensions' => 'ga:userAgeBracket']);
$google['age'] = $age;
/*gender*/
$gender = Analytics::performQuery($pobj, 'data', ['metrics' => 'ga:users','dimensions' => 'ga:userGender']);
$google['gender'] = $gender;
答案 0 :(得分:1)
google analytics API与Google Analytics(分析)网站无关。谷歌分析网站已经建立了内部处理的报告。