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


Updated October 10, 2017 09:04 AM

Updated March 08, 2018 19:04 PM

Updated June 21, 2017 17:04 PM

Updated February 06, 2019 15:04 PM

Updated June 27, 2018 11:04 AM