1
我想在这里找回ga:pagePathLevel1
但得到错误无法检索pagePathLevel1尺寸
警告:array_merge():参数#2是不是在 ... \谷歌API的PHP客户端阵列\ SRC \谷歌\服务\ Analytics.php上线 1925年
function getResults(&$analytics, $profileId) {
// Calls the Core Reporting API and queries for the number of sessions
// for the last seven days.
$analytica_report['data_ga_get'] = $analytics->data_ga->get(
'ga:' . $profileId,
'7daysAgo',
'today',
'ga:sessions,ga:pageviews,ga:uniquePageviews,ga:bounces,ga:timeOnPage,ga:sessionDuration,ga:entrances,ga:exits,ga:searchUniques,ga:transactions',
'ga:pagePathLevel1,ga:pagePathLevel2'
);
任何人都可以建议我怎样才能使它正确吗?
我自己解决了,但你的答案是正确的。 –