---
title: Pages do not load in the Visual Editor
slug: web-experimentation/docs/pages-do-not-load-in-the-visual-editor
docTags: 
createdAt: 2026-07-20T15:45:37.032Z
---

- Optimizely Web Experimentation
- Optimizely Performance Edge

Are you seeing a message in the Visual Editor, "*Sorry, we were unable to load..."?* Or having trouble accessing a certain page in the Visual Editor?

- If you see the message, "We have loaded your site using compatibility mode," you may be encountering an issue with mixed content. See [Compatibility mode warning and mixed content in the Visual Editor](docId:31C3OXAT9wyEiOIvthkOy).
- If you are trying to load content that's in an iframe, see [Cannot edit iframes in the Visual Editor](docId\:YyzwO59aNXL3ktvZFukva).
- If the issue is loading pages that require session-specific information or logging in (like a shopping cart, intranet page, or password-protected content), see [Cannot load a password-protected, gated, or session-specific page in the Visual Editor](docId\:d9AXqxR0nm22BMYGboYe4).

If you are seeing a different problem, keep reading to troubleshoot and resolve issues with page-loading in the Optimizely Experimentation Editor.

:::hint{type="info"}
**Note**

The [Optimizely Experimentation Desktop App](docId\:xQ_8Rfi1K-xtj_8PBK4Li) solves many common editor loading issues, including those listed here. Consider installing it if you are having trouble with the web application.

Wondering if your browser is supported? See [Supported browsers ](docId\:zM_K6nA-ly59JbGadE6cF)for a complete list.
:::

## Clear browser cache and cookies

Sometimes the simplest solution when you encounter an [editor-loading issue](docId\:hGatDfv1LsREoyQOaaFNd) is to clear your browser cache and cookies.

### Google Chrome

1. Type [chrome://settings/clearBrowserData](docId\:hGatDfv1LsREoyQOaaFNd) in the browser bar (where you usually enter a URL).
2. From the dropdown menu, select a time range to clear your entire cache and cookies. 
3. Select the following:

   - Browsing history
   - Download history
   - Cookies and other site and plug-in data
   - Cached images and files

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/TrqUDwTuvW4mt2YW_sWpd-20260720-150131.png" size="100" isUploading="false" showCaption="false"}
4. Click **Clear browsing data**.
5. Close all your Chrome windows and re-open Chrome.

### Firefox

1. In the browser navigation menu, select **History > Clear Recent History**.
2. From the drop-down menu select a desired time range or **Everything** to clear your history.
3. Select the following:
   - Browsing & Download History
   - Cookies
   - Cache
      

     ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/6dfrLgcN2nWf5xyJPpySZ-20260720-150131.png" size="100" isUploading="false" showCaption="false"}
4. Click **Clear now**\*.\*
5. Close all of your Firefox windows and re-open Firefox.

### Microsoft Edge

1. Click **Settings (...)**.
2. Select **Settings** from the drop-down list.
3. Click **Privacy, search, and services**.
4. Click **Clear browsing data** and select **Choose what to clear**.
5. Select **All time** from the **Time range** drop-down list.
6. Select the following:
   - Browsing history
   - Download history
   - Cookies and other site data
   - Cached images and files 

     ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/woludVdu0uV3ZWibxUjIo-20260720-150131.png" size="100" isUploading="false" showCaption="false"}
7. Click **Clear now**\*.\*
8. Close all Microsoft Edge windows and re-open Edge.

### Safari

**For Desktop**

1. Select **Safari > Clear History** from the browser's top-navigation menu.
2. From the **Clear** menu, select your desired time range or *all history* to clear your browser cache and cookies.
3. Click **Clear History**, then close all of your Safari windows and re-open Safari.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/kvg7-ZYt7VKwrM29qfMSM-20260720-150131.png" size="100" isUploading="false" showCaption="false"}

**For iOS**

1. Open the **Settings** app.
2. Tap **Safari**.
3. Tap **Clear History and Website Data**\*,\* then close all of your Safari windows and re-open Safari.

**For Android**

1. From the **Settings** menu, tap **Apps** or **Application Manager**.
2. Choose the **All** tab.
3. Find your web browser, then tap it.
4. Tap **Clear Data**, then **Clear Cache**, then close all of your browser windows and re-open your browser.
5. Android encompasses a wide variety of devices and browsers, so these steps may differ for you.

## Common Visual Editor page-loading issues

Try these steps, one by one, to try to resolve some common page-loading issues.

1. Confirm that your page loads consistently *outside* of Optimizely Experimentation. Make sure you can reach the page in your browser, outside of Optimizely Experimentation, multiple times in a row. If the page does not load outside of Optimizely Experimentation, it may not load in Optimizely Experimentation either.
2. [Clear your browser cache and cookies](docId\:hGatDfv1LsREoyQOaaFNd). Then, reload the page.
3. Confirm that the Optimizely Experimentation snippet is installed: [open the developer console](docId\:syV6dWrXTf5oJQp5lBQ67) and type *optimizely*. If the search returns an error, such as "optimizely is undefined," the snippet *is not* implemented correctly.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/1rNkqSQK3OnzsUvQ-WReY-20260720-150131.png" size="100" isUploading="false" showCaption="false"}

:::Paragraph{indent="1"}
See [Implement the one-line snippet for Optimizely Web Experimentation](docId\:Eynqg8Z-62r76dvDho6dx). Make sure the snippet is installed synchronously at the top of your \<head> tag.
:::

4. Try loading the page with the pop-out editor. See [Visual Editor in Optimizely Web Experimentation and Optimizely Performance Edge](docId:7tM_zXfrTc6bB19wLURDw).

## Less common Visual Editor page-loading issues

1. Check the JavaScript console for errors that do not normally exist on the page. Filter the console output for error logs.
   - If you see an error within `bundle` or `client.js/[projectID].js`, there may be a conflict.
   - If your site is using Content Security Policies, the error will begin with: `refused to execute inline script because it violates the the following Content Security Policy`. In some scenarios, you can use a [browser extension](https://chrome.google.com/webstore/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden) to get around this issue.
2. Confirm whether your site is configured to disallow parameters it does not expect and parameters that include raw URLs. To check this, try to load the page with an innocuous query parameter like `?test=true` and then a parameter that contains a raw URL. If your site disallows unexpected parameters, you need to allow-list Optimizely Experimentation's Editor parameters. [Contact support](../../../experimentation-strategy/troubleshoot-and-test/submit-a-ticket-to-contact-optimizely-support.mdx) to learn more or try the [Optimizely Experimentation Desktop App](docId\:xQ_8Rfi1K-xtj_8PBK4Li).
3. Check whether the page loads outside the Editor within an arbitrary iframe.
   Some sites have frame-busting logic that prevents them from being iframed correctly. Try constructing an iframe on any page through the browser console to see if the page loads correctly. For example:

```auto
<iframe src='http://www.atticandbutton.us/' style='width:800px;height:600px'></iframe>
```

:::Paragraph{indent="1"}
If the page will not load in an arbitrary iframe, you may need to whitelist the Optimizely Experimentation domain ([https://app.optimizely.com](https://app.optimizely.com)) as a valid host. Or, try the [Optimizely Experimentation Desktop App](docId\:xQ_8Rfi1K-xtj_8PBK4Li).
:::

:::hint{type="info" indent="2"}
**Note**

If you tried the steps in this article, but still cannot correctly load your page in the Editor, try the [Optimizely Assistant Chrome extension](docId\:jVu6U7iUVH_1tJ_orpAZI).
:::
