Answers about architecture
Questions and answers from the Croct community about architecture.
One Hydrogen codebase, two brand storefronts, how do we structure Croct?
This is what we are working with: Two brands, one codebase, separate domains, separate Shopify stores. Questions before we wire Croct in: One application or…
Hydrogen storefront plus Storyblok marketing pages, can one Croct workspace personalize both?
We run two stacks side by side: Commerce: Shopify Hydrogen storefront, deployed on OxygenMarketing and landing pages: Storyblok, rendered by a separate…
Best pattern for mixing fetchContent in Server Components with useContent in client islands?
I lead a team at an agency and we are writing down conventions for Croct in App Router projects before we roll it out across several client builds. The SDK…
Can we keep Contentful for content and move only experimentation somewhere else?
Can we keep Contentful exactly as-is for content and move only A/B testing and personalization to a separate platform? That is the yes or no part. If the…
Developer take, Uniform orchestration vs mapping Sanity components straight to slots
We just wrapped a Uniform spike on our Sanity + Next.js marketplace. It works, in the sense that pages render and personalization rules fire. My reservations…
Strapi + Next.js + Croct, does this open-source-friendly stack hold up?
Pitching a stack to a client who insists on open source wherever possible, so Strapi and Next.js App Router are already locked in. Personalization is the one…
I built geo personalization for Strapi in Express middleware, talk me out of extending it to A/B tests
We have Express middleware in front of our Strapi-backed frontend that does a GeoIP lookup, sets a country header, and lets the render layer pick the matching…
Rolling our own variant logic on Strapi vs using a platform, what am I missing?
We are a 5-person startup running Strapi, and as the CTO I estimate roughly a weekend to hack together variant fields on our content types plus a cookie-based…
We modeled variants with the Sanity plugin, now who buckets users and counts conversions?
Our content team is happy. They author variants through the personalization plugin in Studio and the workflow is clean. The other half is missing. Nothing…
Who actually assigns variants with Storyblok's native Experiments?
Prototyped native Experiments this week. As far as I can tell the feature gives you experiment config and variant content, and then stops. Variant picking is…
Two concurrent middleware-rewrite experiments means four page variants, this cannot scale
We implemented the standard middleware rewrite pattern for A/B tests: assign a variant in middleware, set a cookie for stickiness, rewrite to the variant…
Measured our anti-flicker snippet hiding the page for 800ms on 3G, what architecture avoids this class of problem?
Numbers first. WebPageTest, emulated 3G, product landing page: body hidden by the testing tool's anti-flicker snippet from 0ms until 812ms, well past where…