如何在 Google 数据工作室中跟踪商店或工作室名称/ID?

发布于 2025-01-16 06:32:20 字数 233 浏览 3 评论 0原文

我有一个网站,其中有多个商店/工作室。每当用户下订单时,感谢页面如下所示 -

abc.com/auckland/checkout/order-received/88410/ & abc.com/hamilton/checkout/order-received/88411/

这里是奥克兰和奥克兰Hamilton 是商店/工作室的名称。如何在 Google Data Studio 中根据商店/工作室名称创建过滤器?

I have a website, which has multiple stores/studios. Whenever a user placed the order, thank you page look like this-

abc.com/auckland/checkout/order-received/88410/
&
abc.com/hamilton/checkout/order-received/88411/

Here Auckland & Hamilton are store/studio names. How can I create a filter in Google Data Studio on the basis of store/studio name?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

指尖微凉心微凉 2025-01-23 06:32:21

要提取 url 的第一部分,可以使用以下代码。将有两个新字段,并且可以为每个字段构建一个过滤器。

REGEXP_EXTRACT(url_field,r"/([^/]*)/")

REGEXP_EXTRACT(url_field,r"&[^/]+/([^/]*)/")

To extract the 1st part of the url, following code can be used. There will be two new fields and for each a filter can be build.

REGEXP_EXTRACT(url_field,r"/([^/]*)/")

and

REGEXP_EXTRACT(url_field,r"&[^/]+/([^/]*)/")
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文