How can I track orders from specific private collections?

Topic summary

A user is trying to track which password-protected collection an order originated from when products appear in multiple collections. The challenge is that Shopify doesn’t natively record the source collection for purchased products—only the product and variant details.

Key Technical Points:

  • Standard order data doesn’t include the referring collection
  • The customerJourneySummary object (accessible via GraphQL API) may contain browsing history, but availability depends on store tracking configuration
  • Simply checking if a product belongs to a private collection won’t identify which specific collection generated the sale

Proposed Solutions:

  • Use Shopify Flow to capture collection information at checkout (e.g., add metafields or order tags when items from specific private collections are purchased)
  • Leverage the customerJourneySummary GraphQL endpoint to access journey data, similar to tracking UTM parameters
  • Configure proper tracking during the development phase to ensure necessary data is captured

Current Status: The discussion remains open with no definitive implementation guide provided. One participant offered to create a custom workflow demo for this specific use case.

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

Hello,
I have set up collections that I make private via passwords.
The products in these collections are present in several collections.
How can I retrieve the order information from which collection the order was made?
Is this possible? A workflow?
Thank you in advance for your help.

1 Like

Thanks @Adamcarlly @Mereka , but I’m looking to learn.

I searched the workflow with the datas available during an order. For the products of an order, we don’t have access to the referent collection.
Checking whether the product purchased is in a “private” collection is not the solution, because it doesn’t mean that the purchase was made from one of these private collections. But which one?

Can you point me in the right direction here? This may be useful to other members of the community.

2 Likes

Browsing history is not fully accessible via the API. Usually this type of information is found on the order / customerJourneySummary object, but I believe that it depends on what tracking you’ve set up in your store. If you can see on the order page which collection a product came from, then you might have enough tracking set up and could access it that way.

1 Like

Hello @paul_n and thank you very much for your reply.
This is a store in development, so everything can still be configured.
Can you tell me how to set up the necessary follow-up to retrieve the right information?
Thanks in advance.

Sorry, I’m not an expert is how to set that up. You might away to ask over in another forum topic how you can set that up. Then come back here if you have Flow specific questions.

Hopefully appropriate to post here, but I built out something similar to this recently to pull in data from the customer journey - in this case UTM codes:

https://www.getmesa.com/blog/how-to-auto-tag-shopify-utm-parameters/

I had been planning to do another workflow demo for exactly what you’re describing - and would be happy to do that for you if you’re interested.

You should be able to do this in flow though as well - you’d want to trigger on order created and then you should be able to grab that same graphql from my blog post.

Hey @Benii73,

Shopify doesn’t natively record which collection a product was bought from, only the product and variant. You’d need to tag the product or use Shopify Flow to capture the collection info at checkout (for example, add a metafield or order tag when the item belongs to a certain private collection).

If your goal is to keep customers updated afterward, you can pair it with ParcelPanel Order Tracking to show clear order and delivery updates on a branded tracking page.

Hope this helps a bit :slightly_smiling_face: