Goals and Regex


(erikro) #1

Hi,

unfortunately I didn’t find this in the docu and also in the forum. I’d like to do the following. One of my projects has ULRs like this:

http: //hamburg.kursportal.info/k3603?q=Datum%3Aheute

or

http: //hamburg.kursportal.info/k3603

After the last k the URLs are different. Also we have URLs with a and g instead of the k. We’d like to count them with goals. So I set up three goals with regex like this:

http: //hamburg.kursportal.info/k.*

but they don’t trigger. There are no conversions. All regex testing tools I used told me that the expression is correct. Is there any other syntax for regex in Piwik? I also tried to escape the / and the : like this

http://hamburg.kursportal.info/k.*

without any result.

Thanks for your help.

Erik

P.S.: Piwik is really a great tool. style_emoticons/<#EMO_DIR#>/smile.gif

P.P.S.: The blank after http: is to avoid that the examples are interpreted as links.