Source name as 'web' for orders placed using cart url with storefront token for the sales channel

Topic summary

Issue: Orders initiated via a cart URL that includes a storefront token are still recorded with source_name = “web” instead of being attributed to the app’s sales channel.

Context: Shopify App Support advised adding the read_only_own_orders scope, which limits a sales channel to reading only orders it created. The team updated their cart URL format to include storefront=true and access_token (storefront token): http://{shop}.myshopify.com/cart/{variant_id}:1?storefront=true&access_token=#{access_token}.

Goal: Continue redirecting buyers to the native Shopify cart while ensuring resulting orders are attributed to their sales channel (not “web”).

Status: Attribution still shows as “web” despite the URL changes; requesting guidance on how to correctly attribute orders to their sales channel. No resolution yet.

Summarized with AI on January 12. AI used: gpt-5.

Hi,

I received an email from the Shopify App support team, stated:

You need the read_only_own_orders scope to comply with our requirements.This scope ensures the sales channel can only read orders that it created and is added to the sales channel during review. Let us know if you’re ready to have this flag added to your sales channel by**leaving a comment in your review instructions.*

To use this ‘read_only_own_orders’ scope, we have changed the cart url format to :

http://{shop}.myshopify.com/cart/{variant id}:1?storefront=true&access_token=#{access_token}

and the orders that are generated using this cart url should attributed to that sales channel. Still the orders are attributing to the ‘web’ as source name in the order data.

We want to redirect the customer/buyer to the shopify cart, kindly let us know how we can get the order attribution which is getting through our platform ?