Shopify does not natively include UTM parameters in webhooks for purchases or checkouts. However, UTM parameters can be tracked and associated with marketing activities through the use of marketing events or activities. You can use the marketingActivityCreateExternal mutation to create marketing activities and associate UTM parameters with them.
RE: the customerJournery object - are you seeing a delay in the expected data showing up on this?
I am actually calling the API of Order with CustomerJourneySummary after ORDER_PAID webhook immediately but getting null for it. But after sometimes recalling the API we get the customerJourneySummary.
So we want to know the exact time for it. There is a delay of 5-10 minutes, But if we get to know exact time it will be really helpful.
Have you double checked that the sourceName of the order is actually the online store?
If the order is sourced from a POS, or another app/marketplace, then it’s possible the customer journey isn’t available because that is tracked by the online store only.
However, I actually want UTM data. For example, if a user abandons a checkout and later completes it using a URL with UTM parameters, such as: https://{storeName}.myshopify.com/{checkoutSubPath}?utm_campaign=&utm_medium=&utm_source=adflipr
Shopify stores this data, but I need help understanding when it is stored for the order.