Overview
Deep links are URLs that configure how Hemsy opens: a pre-loaded product, a flow’s starter look, or a shared look, plus optional attribution IDs. Use them from product pages, emails, ads, blog posts, or collection tiles so customers don’t have to build a look from scratch or lose tracking context. Hemsy supports these query parameters for pre-populating or attributing a session:
All of these can be combined with
?store=<slug> on staging and
preview deployments to target a specific tenant.
Include
anonymous_id whenever the storefront has an anonymous visitor ID
available. Today, Hemsy uses it for Twilio Segment tracking and checkout/order
attribution. Longer term, it should be treated as the shared anonymous
identity for all integrations that need to connect Hemsy activity back to
storefront activity.anonymous_id: Visitor attribution
anonymous_id is an optional query parameter that lets the merchant storefront
tell Hemsy which anonymous visitor is opening the experience.
Use it when launching Hemsy from:
- Embedded storefront buttons
- Product page links
- Email or ad links where the visitor ID is available
- Any integration that wants to reconcile Hemsy events with storefront behavior
What anonymous_id does
When present, Hemsy uses anonymous_id to:
- Attach the visitor identity to Hemsy analytics events.
- Pass the same identity through checkout creation, so it can surface on the Shopify order as an additional detail/custom attribute when the order is placed through Hemsy checkout.
- Provide a stable identity key for supported integrations.
Current integration support is focused on Twilio Segment. Merchants should
still pass
anonymous_id consistently now so Hemsy can use the same identity
for additional integrations as they are added.?product=: Single-product shortcut
For the common case of “launch Hemsy with one product pre-loaded”, ?product=
accepts either:
- A numeric Shopify product ID:
?product=8888888888888 - A Shopify GID:
?product=gid://shopify/Product/8888888888888 - A product handle:
?product=organic-cotton-duvet
?share=: Shared-look links
?share=<shortId> is reserved for links generated by Hemsy’s in-app Share
feature. The short ID resolves server-side to a previously saved look: user
photo, generated image, and full selection. You don’t need to construct these
yourself. They’re produced by the app when a shopper taps Share.
If the storefront knows the visitor identity, append anonymous_id to shared
look links too:
?flow=: Flow links
?flow=<flowId> opens a flow on its starter look: one layer per flow step,
already filled in with the merchant’s starter picks, and the saved starter
render. See Launch Modes for how flows are set up.
?product=, the flow opens with that product in its matching
step, the other steps empty, and the product rendered right away. See
Product context in a flow.
?flow= is ignored when the link also carries ?share=.