Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Hi,
I am trying to find a way to store some unique id of a guest customer/visitor to the store to maintain a record of the interaction of the guest user against their activity on the store in the "app embed block" so if a guest comes back then I can show their past activity on the store.
The "{{ customer }}" object is empty when the user is not logged in, so I am only facing an issue for storing the activity of the guest customer, if and how does Shopify track guest customers, using localStorage/sessionStorage, or cookies?
I really appreciate any help you can provide.