Answers about identity
Questions and answers from the Croct community about identity.
Different hero for active subscribers vs churned ones on a subscription storefront
Beverage DTC on Hydrogen with a subscription program. We want three states on the home hero: Active subscribers: refill reminders and tier-upgrade…
Are logged-in Shopify customers identified automatically or do I call identify myself?
Wiring Croct into a Hydrogen store that uses Shopify customer accounts. Simple question first: if a customer is logged in, does their identity flow through to…
Users log into two accounts in two tabs and their sessions bleed together
B2B app, support agents routinely open two customer accounts side by side in separate tabs. Our support team can reliably reproduce cross-account…
Do users keep the same variant when they switch from phone to laptop?
Testing an experiment before rollout. Expected behavior: a logged-in customer sees the same variant everywhere. Actual behavior: my test account saw variant B…
How much do anonymous users switching devices distort experiment results?
I do data science at an ecommerce group. I understand that anonymous visitors cannot keep a variant assignment across devices, there is no identifier to link…
What does anonymity scope actually change, and is it safe to switch it?
Consolidating two applications into one workspace. Goal: anonymous users recognized across both apps. Found the anonymity scope setting but the docs page I…
Croct uses localStorage by default, how do I share identity across subdomains?
We run www.example.nl and shop.example.nl. Current behavior: a reader who crosses from www to shop shows up as a second anonymous profile, so their reading…
Where exactly do croct.identify and croct.anonymize go in a React login flow?
Wiring Croct into a JWT-based login flow and I want to get the sequencing right the first time. Our auth state lives in a context provider. Questions: Should…
croct.identify throws Invalid user ID when passing our numeric customer ID
Working on an ecommerce site in Tokyo, @croct/plug 0.16 on the storefront. On login we call croct.identify(user.id) where id comes from our backend as a…