开发者

Regular Expression in Google Analytics

I need to test that the URL contains this string

form.aspx?title=domestic_forms&id=4783&dataid=508866

How do I do this with reg expressions. I 开发者_JAVA百科need to set up a goal.

Many thanks


Maybe you want something like this: ?

form\.aspx\?title=[a-z_]+&id=[0-9]+&dataid=[0-9]+

This matches any URL that looks like

form.aspx?title=<any word with characters a-z or _>
&id=<any number>&dataid=<any number>


Using regular expression match on a static string is not recommended. Just use the "head match" for the goal and input that string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜