在 Google Analytics 目标漏斗步骤中使用正则表达式 [英] Using regexp in Google Analytics Goal Funnel steps

查看:20
本文介绍了在 Google Analytics 目标漏斗步骤中使用正则表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个目标,可以从我网站上的两个页面实现,例如/page1 和/page2.我为可视化漏斗的第一个必需步骤"制作了一个正则表达式:

I have a goal that can be reached from two pages on my website, for example, /page1 and /page2. I've made a regular expression for the first 'Required step' of the visualization funnel:

^/(page1|page2)$

如果我将其用作热门内容报告中的过滤器 - 它工作正常.但是转换漏斗中没有任何记录.我实际上找不到有关漏斗步骤的任何信息 - 甚至可以像在目标页面 URL 中那样使用正则表达式吗?

If i apply it as a filter in the Top Content report - it works fine. But there's nothing registered in the conversion funnel. I actually couldn't find any information about funnel steps - is it even possible to use regexp there just like it's done in the Goal page URL?

推荐答案

我刚刚被这个问题所困扰.渠道步骤中的网址与目标目标网址相同:

I've just been bitten by this. The URLs in the funnel steps are the same as the Goal Destination URL:

https://support.google.com/analytics/answer/1116091?hl=en#matchTypes 状态

三种不同的匹配类型定义了 Google Analytics(分析)如何识别目标或渠道的网址.您为目标网址选择的匹配类型也适用于渠道中的网址(如果您创建了一个).

There are three diferent match types that define how Google Analytics identifies a URL for either a goal or a funnel. The match type that you select for your goal URL also applies to the URLs in the funnel, if you create one.

因此,如果您在目标"下拉列表中选择了正则表达式,那么您只能在漏斗步骤中使用正则表达式匹配.

So you can only have regex matches in your funnel steps, if you've chosen Regular Express in the Destination dropdown.

我遇到了和你一样的问题.我在目标 URL 的下拉菜单中选择了等于",但在我的漏斗步骤中使用了开头为"样式匹配,因此在我的漏斗可视化中显示了 0 个条目.

I had the same problem as you. I'd chosen "Equal to" in the dropdown for the destination URL but was using "Begins with" style matches in my funnel steps and therefore getting 0 entries showing in my funnel visualisation.

这篇关于在 Google Analytics 目标漏斗步骤中使用正则表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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