Google Analytics: Matching parameters for Goals using regular expression option

by Rob   Last Updated September 10, 2019 10:04 AM

I have two goals setup in Google Analytics - a subscription order and a one time order. Both goto the same thank you page put produce different parameters. Using the regular expression option in the drop down, how can I match the following?

One time order (the random numbers and letters are variable):

https://www.example.com/thanks/?o=85710&key=wc_order_37ztwgrjSBGqK&type=onetime

Subscription (the random numbers and letters are variable):

https://www.example.com/thanks/?o=9670&g=stripe



Related Questions