How to change or add Woocommerce thank you page URL key content?
I have searched enough and I did not find an answer for this question but this may be a simple one.
In analytics, I want to set up goals for purchase and we have only 5 products, so each product purchase should be a separate goal.
The easy way to set purchase goal in Analytics is to supply thank you URL. Now, Woocommerce thank you URL includes important details in the thank you URL like below.
exampledomain.com/?key=wc_order_584a9caad78bcamt=239.00cc=USDcharset=windows-1252cm={"order_id":13586,"order_key":"wc_order_584a9caad78bc"}st=Completedtx=2AF5736382483492L
This is how Paypal payment thank you pages are shown.
But when a user makes purchase directly on the site with gateways like 2checkout, moneris, stripe, I get the below URL type.
exampledomain.com/?key=wc_order_5849993d6ec72
As you can see above, this URL does not contain a lot of parameter for me to use.
The question is, How do I edit these URLs to include product SKU?
This way, it will be easy for me to filter based on SKU
Topic woocommerce-offtopic paypal Wordpress
Category Web