Hi Repon!
Thank you for your time. I understand that this is the way to get the value of the current session/cookie.
In a saved Woocommerce Order you can see utm-event-tracker-order-metabox, and the different fields with their values, values ??obtained at the time of placing the order .
I also understand that this values are stored in the database, and I can access them. ( For example, to get the value of Payment Method of an order I can do):
get_post_meta( $order->id, '_payment_method', true );
or
$order->get_payment_method();
There is a similar way to do this for UTMs?
Thank you!
-
This reply was modified 3 weeks, 6 days ago by hectormr85.