categories – Hiding products with a specific tag and traffic UTM parameter from WooCommerce main shop page
I want to hide all products with tags/categories from the shop page if users visit from a URL without UTM Parameter. If the user visits from a URL with a parameter, all hidden products above will visible
e.g: all product with tag “Tshirt”
url_1: “storexxx.com/product/product_abc” => hide product with tag “Tshirt”
url_2: “storexxx.com/product/product_abc/?utm_source=email” => unhide product with tag “Tshirt”
Please help me. Thank you!