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

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

问题描述

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

  ^ /(page1 | page2) 

如果我将它作为过滤器应用于热门内容报告中 - 它可以正常工作。但是转化渠道中没有注册。我实际上找不到有关渠道步骤的任何信息 - 甚至可以在目标页面URL中使用regexp吗?

解决方案 div>

我刚刚被这个咬了。渠道步骤中的网址与目标网址相同:



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


有三种不同的匹配类型可以定义Google Analytics如何为目标或渠道标识网址。 您为目标网址选择的匹配类型也适用于渠道中的网址,如果您创建的话。


因此,如果您在目的地下拉列表中选择了常规快递 ,那么只能在渠道步骤中使用正则表达式匹配



我和你有同样的问题。我在目标网址的下拉菜单中选择了等于,但在我的渠道步骤中使用了始于样式匹配,因此在我的渠道可视化中显示了0个条目。


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)$

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 states

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.

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天全站免登陆