Headless and composable

Pertento for commercetools

The storefront takes the tag, the SDK decides what the API returns, and one visitor stays one visitor across both.

One script tag · 0.9 KB · no cookiesAll integrations

commercetools has no storefront of its own, so there is nothing platform-specific to install into: the tag goes wherever your front end renders its head. The more interesting half is the backend. Pricing, search ranking and promotion logic are all settled before a page exists, and those are tested with the SDK from your own services. Both halves read the same assignment, so a visitor who gets variant B from the API also gets variant B on the page.

How it connects

  • Add the tag to the head of whichever front end renders the storefront.
  • Call the SDK from the services that build the response.
  • Share one stable visitor identifier between the two, or the split will drift.

More in Headless and composable

All integrations

Better experiments, better conversions

Test on all visitors with the world’s lightest script and make confident decisions powered by real-time reporting.