I've setup an goal funnel with dynamic urls in Google Analytics, but I am not sure if I did it correclty.
Funnel Steps:
^/
^/compare
^/compare/([^/]+)/
^/compare/([^/]+)/([^/]+)/
The goal-URL is (regex) ^/go/.*
which is a redirect link, for eg www.domain.com/go/comparedcompany
Any help is appreciated
I would actually reconfigure your regexes as follows:
Step 1: ^\\/$
Step 2: ^\\/compare$
Step 3: ^\\/compare\\/.*\\/$
Step 4: ^\\/compare\\/.*\\/.*\\/$
Goal: ^\\/go\\/.*
(Also, as a note, using GA's regex engine, you don't need to escape your slashes, but I normally do it anyway.)
The reason why I went with .*
instead of [^/]+
is because you probably won't get a page like /compare//
(if you do, then you have other things to worry about :-P).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.