Storefronts
Connect your Stoked community to external e-commerce sites so your community pages can be embedded on those storefronts.
What Are Storefronts
Storefronts represent the external websites where your Stoked community is embedded or linked. Each storefront holds a name, a primary URL, an optional call-to-action, and a list of domains. When you embed your community on an external site, the storefront’s domain list tells Stoked which websites are allowed to display your community in an iframe.
Viewing Your Storefronts
- Go to Settings in the navigation
- Click Storefronts
You will see a table listing all storefronts with their name, primary URL, primary CTA, and domain count. Click any row to edit that storefront.
Creating a Storefront
- From the Storefronts page, click Add Storefront
- Enter a Name for the storefront (required, between 4 and 255 characters)
- Enter the Primary URL (required) - the main entry URL for the storefront, such as
https://www.example-store.com - Optionally enter a Primary CTA - if provided, this text appears as a link in your community site header that directs visitors to the storefront
- Enter one or more Domains (required) - enter each domain on its own line using full URLs (for example,
https://www.example-store.com) - Click Create
Field Details
- Name - A label to help you identify this storefront in the admin portal.
- Primary URL - Must be a valid HTTP or HTTPS URL without wildcards. This is the main link to the storefront.
- Primary CTA - The call-to-action text displayed in your community site header. If left blank, no link appears for this storefront.
- Domains - The full domain URLs that are authorized to embed your community. Each domain must be a valid URL and cannot contain wildcards.
How Domains Work
The domains you add to a storefront control your community’s Content Security Policy (CSP) for iframe embedding. When someone loads your community inside an iframe, the browser checks whether the parent page’s domain is on the allowed list. If it is, your community displays normally. If it is not, the browser blocks the embed.
This means you should add every domain variation where your community will be embedded. For example, if your store runs on both https://www.example-store.com and https://example-store.com, add both domains to the storefront.
Changes to storefront domains may take up to five minutes to take effect due to caching.
Editing a Storefront
- From the Storefronts table, click the storefront you want to update
- Update any of the fields: Name, Primary URL, Primary CTA, or Domains
- Click Update
Managing Multiple Storefronts
You can create as many storefronts as you need. Each storefront maintains its own set of domains and CTA configuration. This is useful when your brand sells through multiple e-commerce sites or regional storefronts, since each one may need its own domain allowlist and call-to-action text.
All storefronts that have a Primary CTA set will display their CTA link in your community site header, giving visitors a path back to each store.