Checkout_completed: market id and handle becomes null when shopper logs in

Hi everyone, I’m seeing a difference in Web Pixels checkout_completed payload.

  • If I don’t log in and just fill the checkout form + pays, both
    data.checkout.localization.market.id and data.checkout.localization.market.handle are populated.

  • If I log in before paying (by using an email), then on checkout_completed both fields become null.

Has anyone seen this? Is it expected or a bug? Any recommended fallback for identifying the Market when market.id/handle are null?

Thanks!

Hi @Liam-Shopify , can you check it out?

Please don’t tag Shopify staff members that haven’t already engaged with the topic. They will review and reply when they can.

It hasn’t even been 24 hours yet. Please be patient.

1 Like