StoreSpan
Injectables

Preview

See an injectable before shoppers do, pretend to be a shopper from another country, and share a link to the preview.

The Live preview card of the injectable form shows your content as you type. It is safe: nothing in the preview runs in your dashboard.

The Live preview card of an injectable, with the controls that set the shopper and the content below them

The card shows for content that you write in the form. It does not show for an A/B test, or for an injectable that shows a single saved block.

Pretend to be a shopper

The controls above the content set what the preview assumes about the shopper. Each starts on Use the real visitor value, which means you.

ControlWhat it sets
Country and Region (optional)Where the shopper is.
Page typeThe kind of page the shopper is on.
SegmentA segment the shopper is in.
Customer groupThe shopper's customer group, or No group (guest).
Visitor typeNew, returning or logged in.
DevicePhone, tablet or desktop.
CurrencyThe shopper's currency, or No currency (undetected).

With Server-rendered and Static Page delivery, the card has the country controls only, because those deliveries have no targeting rules.

Read the result

The line above the content tells you whether this shopper would see the injectable:

The line saysWhat it means
Would showThe rules match, and the injectable is published.
Matches your targeting — it isn't live, so it won't serve to customersThe rules match, but the injectable is not published.
Hidden — because and a reasonA condition is not true for this shopper. The reason names it.
Forced — and a number bypassedYou turned on Force visibility. The number counts the conditions that were ignored.

Under the line, the card lists every condition and whether it matches.

When the rules do not match, the card shows Hidden in realistic mode — turn on Force visibility to preview the content anyway. in place of the content. Turn on Force visibility (render regardless of targeting) to see the content all the same.

Some conditions can only be checked on your storefront. The card tells you which.

What the preview cannot show

The preview shows the injectable on its own, not your page.

Not in the previewWhere to check it
Your theme around the injectableYour storefront
The exact place on the pageYour storefront
The wrapper elementYour storefront
A countdown that counts downYour storefront. The preview shows it standing still.
A script that runsYour storefront. The preview shows the code only.

Variables show sample details in the preview. On your storefront, each shopper sees their own.

To check an injectable on your storefront before shoppers see it, open a preview link.

Share a preview

A preview link shows the injectable on your real storefront, whatever its status. Only a person who has the link sees it.

  1. Save the injectable.
  2. Press Preview under the content.
  3. Copy the link from the dialog Shareable preview link, and open it or send it to a colleague.

The link carries the shopper you set in the controls, so a colleague sees what you see. It stops working after 30 minutes. Press Preview again for a new one.

Before the first save, the button says Save the draft to share a preview link.

An injectable with the status Preview only shows through a preview link and never to shoppers. See What each status means.

On this page