Skip to content
WSWS ThemesDocs
3 min readUpdated August 2026

Guest to Customer Account Merging

How anonymous guest session wishlists seamlessly merge when shoppers create an account or log in.

When an anonymous guest adds items to their wishlist, their preferences are stored under an encrypted local token. Upon customer authentication (login, account creation, or checkout), the client merges their guest list with their cloud profile seamlessly.

How Account Merging Works#

  1. Guest Browsing: Items are saved in IndexedDB / LocalStorage under a random session UUID.
  2. Customer Log In: The storefront detects a valid customer access token via App Proxy.
  3. Automated Cloud Merge: The client sends a merge payload to synchronize guest items into the customer's permanent account metafield without duplicates.

Cryptographic Session Security#

All App Proxy sync requests are HMAC-signed by Shopify, ensuring shopper data is protected against tampering and cross-site impersonation.

Have feedback or question about this guide?

Our commerce engineering studio provides direct developer assistance.