# Preview your site as a customer

> Open a customer under Data Platform › Profiles and select Impersonate to browse your own shop as that customer, so you can check which banners, stories and product blocks they get.

**Impersonate** opens your own shop in a new browser tab as one of your customers. Releva then serves that tab the banners, stories and product blocks this customer would get, so you can check that a banner aimed at a segment reaches its members and nobody else. Nothing you do in the preview is tracked: page views, impressions and clicks are not counted, and the customer’s profile does not change.

Use it to test targeting. To see every block on a page, including the ones that are switched off, use [debug mode](https://releva.ai/documentation/guides/on-your-site/check-releva-on-your-site-with-debug-mode/) instead.

## Before you start

* Your shop’s address is filled in under **Settings › Shop & Integration**, on the **General** tab, in **URL**, and starts with `http://` or `https://`. Without it the **Impersonate** button does not appear.
* Your browser allows pop-ups from the Releva admin. **Impersonate** opens a new tab.
* The Releva snippet, plugin or app runs on the pages you want to check ([Connect your custom website](https://releva.ai/documentation/integrations/custom-website/connect-your-custom-website/)).
* The banner block, story or product block you want to check is switched on. A preview shows what the customer gets today; it does not turn on content that is off.
* You know which segment the banner targets, and a customer who is in it. A segment’s members are recalculated about every 30 minutes, and only while a running block or campaign uses the segment. After you aim a banner at a new segment, wait up to 30 minutes before you test it.

## Steps

1. Go to **Data Platform › Profiles**

   ![Step 1](https://releva.ai/documentation/_astro/step-1.CC77OSVX_Z22nkcH.webp)

2. In **Email**, enter the address of a customer who is in the banner’s segment, here **<maria@example.com>**, and select **Go**

   You can also search by **Name**, **Phone Number** or **Profile Id**; see [Find a customer profile](https://releva.ai/documentation/guides/profiles/find-a-profile/).

   ![Step 2](https://releva.ai/documentation/_astro/step-2.Da2yfPDt_2oelzj.webp)

3. Select the customer’s name to open the profile

   ![Step 3](https://releva.ai/documentation/_astro/step-3.CdgrTjTN_17PoqR.webp)

4. Under **Segments**, check that the customer is in the segment the banner targets, here **Bought in the last 30 days**

   **Segments** in the **Audience & membership** card lists the behavioral segments the customer is a stored member of. If the segment is missing, the customer will not see the banner in the preview either.

   ![Step 4](https://releva.ai/documentation/_astro/step-4.D4g6Mref_1y8P8g.webp)

5. Select **Impersonate**

   The button sits between **Edit** and **Subscribe** or **Unsubscribe**. The admin tab stays where it is.

   ![Step 5](https://releva.ai/documentation/_astro/step-5.NbBSsm8i_2iBhWw.webp)

6. Your shop opens in a new tab as this customer. The bar **Previewing as a customer** at the top shows that the preview is on

   The preview starts on your shop’s home page. It is tied to this tab and lasts 30 minutes.

   ![Step 6](https://releva.ai/documentation/_astro/step-6.CWbH48MM_1bI81W.webp)

7. Go to a page where the banner block runs, here the **Summer** category. The banner shows, because the customer is in its segment

   The preview follows you from page to page in the same tab, so you can browse to any page of your shop. Product blocks on these pages are served for the customer you are previewing; only blocks with a personalized algorithm look different from customer to customer.

   ![Step 7](https://releva.ai/documentation/_astro/step-7.BWAQU_Se_ZrSyvN.webp)

8. When you are done, select **Exit preview**

   ![Step 8](https://releva.ai/documentation/_astro/step-8.CHlaWeRn_Z1WUqow.webp)

9. The page reloads as an ordinary visitor. The bar is gone, and so is the banner, because you are not in the segment

   ![Step 9](https://releva.ai/documentation/_astro/step-9.DzaNnE29_ev70X.webp)

## Check it worked

The real test is a customer outside the segment. Back in the admin tab:

1. Open a customer who is not in the segment, here **Emma Example**. **Bought in the last 30 days** is missing under **Segments**

   ![Step 10](https://releva.ai/documentation/_astro/step-10.C4ov81Rw_1v6dnC.webp)

2. Select **Impersonate**

   ![Step 11](https://releva.ai/documentation/_astro/step-11.mx1MtMzX_1MHrIC.webp)

3. On the same page the banner does not show for this customer. Select **Exit preview** to end the preview

   ![Step 12](https://releva.ai/documentation/_astro/step-12.DNFM_j-a_AR26b.webp)

You can also check that:

* The bar **Previewing as a customer** stays at the top of every page you open in the preview tab, and disappears after **Exit preview**.
* The banner’s numbers under **Marketing Channels › Banners** do not change after your preview. Impressions and clicks in a preview are not counted.

## What a preview changes

| Feature            | In a preview                                                                                                                                                                                                                                                                          |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Banner blocks      | The customer’s segment membership decides who sees the banner, as for a real visit. The block’s on/off switch, the banner’s **Show when** dates, **URL filter**, store language, **Session Interval** and **Show until click** still apply. Only A/B test control groups are skipped. |
| Stories            | Served as for the customer. Switched-off stories stay off; A/B test control groups are skipped.                                                                                                                                                                                       |
| Product blocks     | Personalized for the customer you preview, as long as the block is switched on.                                                                                                                                                                                                       |
| AI sales agent     | The chat bot opens in a preview even when it is switched off for shoppers, so you can test it. A/B test control groups are skipped.                                                                                                                                                   |
| Search as you type | Served as for the customer when it is switched on; a switched-off search stays off. A/B test control groups are skipped.                                                                                                                                                              |
| Tracking           | Off. Page views, impressions, clicks and other events from the preview tab are not stored and do not change the customer’s profile.                                                                                                                                                   |

Each **Impersonate** click starts a new, independent preview. A preview ends when you select **Exit preview**, when you close the tab, or 30 minutes after it started. You do not need a special role: anyone who can open the shop in the Releva admin can impersonate its customers.

## Troubleshooting

**There is no Impersonate button on the profile.** The shop’s **URL** under **Settings › Shop & Integration › General** is empty or does not start with `http://` or `https://`. Fill it in and reload the profile.

**Could not open your site as this customer.** The message under the title says why. *Your browser blocked the new window. Allow pop-ups for this page and click again.* means the browser stopped the new tab: allow pop-ups for the Releva admin and select **Impersonate** again. *Profile with this id cannot be found!* means the profile was deleted; search for the customer again under **Data Platform › Profiles**. Any other message: try again, and contact support if it keeps failing.

**The shop opened, but there is no bar.** The Releva snippet, plugin or app is not running on that page, so there is nothing to show the preview with. Check the install with [Connect your custom website](https://releva.ai/documentation/integrations/custom-website/connect-your-custom-website/#verify). The bar also does not show for pages loaded inside an iframe.

**A customer in the segment does not see the banner.** Go through the checklist in [How banners work](https://releva.ai/documentation/learn/banner-blocks/how-banners-work/#when-a-block-is-served): the banner block is switched off, the page or **URL filter** does not match the page you opened, the **Show when** dates or the store language exclude it, or **Show until click** hides it after a click in this tab. If the banner was aimed at this segment less than 30 minutes ago, the segment’s members may not be calculated yet: check that the segment is listed under **Segments** on the profile, and try again later.

**The bar disappeared by itself.** The preview lasts 30 minutes. Open the profile and select **Impersonate** again.

**Every banner shows, even for customers outside the segment.** The tab is in debug mode (`?rlv_mode=debug`), which forces every banner on whatever its audience. Close the tab and start the preview again from the profile.

**The products in a block look the same for every customer.** The block’s feed uses an algorithm that does not depend on the visitor, such as **Popular**. Only blocks with a personalized algorithm change from customer to customer.

## Next steps

* [Choose who sees a banner](https://releva.ai/documentation/guides/banner-blocks/choose-who-sees-a-banner/): Aim a banner at a segment so your next preview has a targeting rule to check.
* [Check Releva on your site with debug mode](https://releva.ai/documentation/guides/on-your-site/check-releva-on-your-site-with-debug-mode/): See every block, banner and story on a page, including the ones that are switched off.
* [How banners work](https://releva.ai/documentation/learn/banner-blocks/how-banners-work/): Learn the rules that decide who sees a banner and when it stops showing.
* [How segments work](https://releva.ai/documentation/learn/segments/how-segments-work/): Learn how segment rules and filters decide which customers are members.