gpt4 book ai didi

google-analytics - 谷歌分析 API : filter by URI?

转载 作者:行者123 更新时间:2023-12-03 09:23:36 28 4
gpt4 key购买 nike

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

例如,这有效:

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

问题在于 /profile/123/ 后面可能还有其他 URI 段。 .我想做这样的事情(不起作用):
filters=ga:pagePath==/profile/123/*

建议?

最佳答案

使用 Dimension Filters 中的“包含正则表达式的匹配项”运算符 (~) .

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

关于google-analytics - 谷歌分析 API : filter by URI?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4245132/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com