I run a few websites I would like to move to Matomo On-Premise. One of the sites have quite a few affiliate links that all looks like this:
example.com/link/<affiliate-id>
I am looking to add a goal in Matomo that tracks clicks to all links that contain example.com/link/*. Have tried setting this up with an expression, but I am doing something wrong as it does not work.
Example
(.*)\/example.com\/link\/(.*)
If someone know how to set this up properly I would really appreciate it.
Thank you.