【问题标题】:Google Analytics Goal Regex URL谷歌分析目标正则表达式 URL
【发布时间】:2016-01-07 06:47:19
【问题描述】:

我对正则表达式有点陌生,不知道这个 Google Analytics(分析)目标网址的正则表达式应该是什么。

网址

examplesite.com/order/898/card

应该被认为是一样的

examplesite.com/order/card

但不一样

examplesite.com/order/898/delivery

所以基本上我想要 URL 的正则表达式

examplesite.com/order/*card

examplesite.com/order/*delivery

等等

我已经在 Google 上搜索过类似的内容,但对我来说正则表达式仍然有点困难。

【问题讨论】:

    标签: regex google-analytics goal-tracking


    【解决方案1】:

    试试这个:

    examplesite.com/order/(\d+/)?card
    

    说明

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多