0
votes

I'm trying to set up a goal on Google Analytics and want to match a regular expression against the following url:

/tasks/[random characters of random length]/complete

An example input url would be:

/tasks/12444ab22aaa7/complete

Any ideas?

2

2 Answers

2
votes

^/tasks/.*/complete$

Validate with a search in the Top Content report before using in a filter.

1
votes

Perhaps this

\/tasks\/[^/]*\/complete