Google AnalyticsAPI:按URI过滤? [英] Google Analytics API: filter by URI?

查看:246
本文介绍了Google AnalyticsAPI:按URI过滤?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站有可通过如下所示的网址访问的用户个人资料: www.domain.com/profile/123 /...。我想向用户显示其个人资料的页面查看统计信息,但需要能够通配符。

My site has user profiles that are accessible via URLs that look like this: www.domain.com/profile/123/.... I want to show users page view statistics of their profiles, but need to be able to do wildcards.

例如,这可以工作:

filters=ga:pagePath==/profile/123/

问题是,在 / profile / 123 / 之后可能还有其他URI段。我想做这样的事情(不起作用):

The problem is that there are potentially other URI segments that follow /profile/123/. I want to do something like this (does not work):

filters=ga:pagePath==/profile/123/*

建议?

Suggestions?

推荐答案

使用维度过滤器

filters=ga:pagePath=~/profile/123/*

这篇关于Google AnalyticsAPI:按URI过滤?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆