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 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.
| Control | What it sets |
|---|---|
| Country and Region (optional) | Where the shopper is. |
| Page type | The kind of page the shopper is on. |
| Segment | A segment the shopper is in. |
| Customer group | The shopper's customer group, or No group (guest). |
| Visitor type | New, returning or logged in. |
| Device | Phone, tablet or desktop. |
| Currency | The 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 says | What it means |
|---|---|
| Would show | The rules match, and the injectable is published. |
| Matches your targeting — it isn't live, so it won't serve to customers | The rules match, but the injectable is not published. |
| Hidden — because and a reason | A condition is not true for this shopper. The reason names it. |
| Forced — and a number bypassed | You 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 preview | Where to check it |
|---|---|
| Your theme around the injectable | Your storefront |
| The exact place on the page | Your storefront |
| The wrapper element | Your storefront |
| A countdown that counts down | Your storefront. The preview shows it standing still. |
| A script that runs | Your 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.
- Save the injectable.
- Press Preview under the content.
- 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.