CustomerJourney Always Null in a specific case

Highlighted
Tourist
4 0 0

Hello,

 

I'm having trouble using the GraphQL CustomerJourney. It seems to always get a null value attributed to it if the customer land on a specific product page and then buys it without visiting any other page. It doesn't seem intentional that the customer journey is presenting this behavior.

Here is an example, if you go to https://teste-giovanna.myshopify.com/products/camiseta?utm_source=this-is-a-test and directly buy it, the customer journey will be set to null, but if you go to https://teste-giovanna.myshopify.com/collections/all?utm_source=this-is-a-test and then buy the same item, the CustomerJourney gets populated.

How am I supposed to get the CustomerJourney on the first case? Am I doing something wrong? 
Here is my query:

{
      order(id: "gid://shopify/Order/2298948059271") {
        customerJourney {
          lastVisit {
            utmParameters {
              campaign
              medium
              source
            }
          }
        }
      }
    }
0 Likes