# \[Troubleshooting] Why is the editor not loading and how can I force it to open?

If your editor isn’t loading properly, you may encounter one of the following issue:&#x20;

* [The editor loops and redirects to the login page](#h_01j01960cgw63j3nmga7wqhr0d)
* [Clicking on the editor loads the page from your website without the editor's layout and options](#clicking-on-the-editor-loads-the-page-from-your-website-without-the-editors-layout-and-options)
* [The editor loads its layout and options but the content of the page is not loaded correctly](#the-editor-loads-its-layout-and-options-but-the-content-of-the-page-is-not-loaded-correctly)

## The editor loops and redirects to the login page <a href="#h_01j01960cgw63j3nmga7wqhr0d" id="h_01j01960cgw63j3nmga7wqhr0d"></a>

In most cases, this behavior means that cookies are probably not enabled in your browser. However, AB Tasty needs them to open the editor and retrieve login details. Without them, we cannot identify you, which is why we redirect you to the login page. This is usually indicated by a crossed-out eye icon in the URL bar:

<figure><img src="https://1594035872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhZIDRsh66I8ikipjy42H%2Fuploads%2Fln5TKO4dnRX0N2GszCUg%2FCapture%20d%E2%80%99e%CC%81cran%202025-07-25%20a%CC%80%2010.22.17.png?alt=media&#x26;token=18a107ec-b502-475c-aa35-b461efcec774" alt="crossed-eye icon in the URL"><figcaption></figcaption></figure>

**How to find out and what to do:**

Go to your Chrome cookies settings (chrome://settings/cookies) and allow the cookies.

You can also add an exception specifically for AB Tasty if necessary using the following format: \[\*.]abtasty.com

## Clicking on the editor loads the page from your website without the editor's layout and options

Switch between tabs to test the different solutions:

{% tabs %}
{% tab title="The tag is not installed/loaded in the page" %}
It happens that the AB Tasty tag is loaded on your page only after the consent is given when landing on the website. If you decline cookies, the generic tag is not executed and the editor can't be loaded correctly.&#x20;

**How to find out and what to do:**

* Inspect a page on your website (right click in the page -> "Inspect")
* Go to the "Application" tab
* Click the "clear site data" option
* Refresh the page and accept the cookies
* Try to load the editor again

<figure><img src="https://1594035872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhZIDRsh66I8ikipjy42H%2Fuploads%2F9Pel5vJTSPU4r9PLeml7%2FApplication%20Tab%20-%20clear%20site%20data.png?alt=media&#x26;token=c8c1b34d-bf48-4f1e-a954-0068cbb9ea32" alt="clear site data option"><figcaption></figcaption></figure>

If you still encounter the issue, you should check that the AB Tasty generic tag is installed in your page.&#x20;

**How to check your tag:**

In your Chrome browser, you can install and use the [***AB Tasty Chrome extension***](https://chromewebstore.google.com/detail/ab-tasty/liaeijonjkogflicmmlcdhckabgmhjdp)***.*** Once installed, the AB Tasty plugin icon appears in your toolbar. If you click the AB Tasty plugin icon from any page of your website, information about whether the tag is installed or not will be displayed.

<img src="https://docs.abtasty.com/~gitbook/image?url=https%3A%2F%2F1594035872-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhZIDRsh66I8ikipjy42H%252Fuploads%252FX0KJoiSYpGhQtJHFUwaN%252FScreenshot%25202025-06-19%2520at%252011.55.20.png%3Falt%3Dmedia%26token%3D113feed4-95cd-46b9-822e-95bfd2074b49&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=31f379ff&#x26;sv=2" alt="" data-size="original">The tag is installed.

![](https://docs.abtasty.com/~gitbook/image?url=https%3A%2F%2F1594035872-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhZIDRsh66I8ikipjy42H%252Fuploads%252FSpt98FP6uUFkcX7dw0Um%252FScreenshot%25202025-06-19%2520at%252011.54.52.png%3Falt%3Dmedia%26token%3D8680583f-bdde-4a0d-b048-b4bdced3191c\&width=768\&dpr=4\&quality=100\&sign=efbc3098\&sv=2)The tag is not installed.

For more information, consult the following article: [***How to check whether AB Tasty’s tag is installed on your website***](https://docs.abtasty.com/help-center/faq/how-to-check-if-the-ab-tasty-tag-is-installed-on-my-website).

If the tag is not present, add it, following our quick start guide : [Set-up your AB Tasty tag in than 5 minute&#x73;***.***](https://docs.abtasty.com/help-center/troubleshooting/broken-reference)

As a quick and a short-term workaround, try loading the AB Tasty tag locally in your browser using the AB Tasty Chrome Extension. By injecting your [account identifier](https://app2.abtasty.com/settings/installation-code/tag), you ensure that the visual editor loads the tag properly.
{% endtab %}

{% tab title="Content Security Policy / X-Frames is in cause" %}
If you notice CSP errors in the console when trying to load the editor, the server configuration is causing these problems. The security setting may be too high on your server. By default, many clients use a Content Security Policy that blocks everything on their website. This means that every external request has to be allowlisted in the server configuration.

If you see the following kind of errors, these are caused by CSP errors:

<figure><img src="https://1594035872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhZIDRsh66I8ikipjy42H%2Fuploads%2FOsSJcxluVtAqMJpeR5pa%2FScreenshot%202025-06-19%20at%2011.47.25.png?alt=media&#x26;token=9c6800a5-4d68-4d99-9bd3-9fffed4c9875" alt=""><figcaption></figcaption></figure>

### **How to resolve this issue** <a href="#h_01j018x5s5g016ayp80wkwb90k" id="h_01j018x5s5g016ayp80wkwb90k"></a>

* Short-term solution: use the [Disable Content Security Policy Chrome extension](https://chromewebstore.google.com/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden) to temporarily bypass the CSP rules.&#x20;
* Long-term solution: ask your IT Team to allow the AB Tasty domains and URLs from your[ Content Security Policy](https://app.gitbook.com/s/dG0EHdNiO40UVA7Bz9mR/tag/troubleshootings/tag-troubleshooting-csp)

### **Other console errors** <a href="#h_01j018x5s5y569mbkesrbf5gbm" id="h_01j018x5s5y569mbkesrbf5gbm"></a>

You may find other errors in the console that block the editor. For instance, if you notice an error related to **X-Frame Options**, like this:

<figure><img src="https://1594035872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhZIDRsh66I8ikipjy42H%2Fuploads%2FBKCyYo58ypvz3yKrlTBk%2FScreenshot%202025-06-19%20at%2011.48.10.png?alt=media&#x26;token=40e70940-d560-4dcb-9689-c263b459cec1" alt=""><figcaption></figcaption></figure>

### **How to resolve this issue** <a href="#h_01j018x5s5g016ayp80wkwb90k" id="h_01j018x5s5g016ayp80wkwb90k"></a>

* Short-term solution: you can temporarily use the [***Ignore X-frame headers***](https://chrome.google.com/webstore/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe) extension to bypass this type of error.
* Long-term solution: ask your IT Team to change the server configuration accordingly.&#x20;
  {% endtab %}

{% tab title="A redirection applies" %}
In case a native redirection applies on your side, the editor may have difficulties to load because its parameters in the URL are automatically removed (?abtasty\_editor=XXXXXX). A redirection may happen if:&#x20;

* The URL you set in the Main Information (1st step of the campaign) actually does not exist and automatically redirects to another page.
* You are trying to load a specific page from your checkout (delivery or payment page) which contains dynamic content and information.

**What to do?**

* Compare the URL you have set in the 1st step and the one you land on. **Edit the URL** in the step accordingly so the visual editor knows the correct URL to load.
* **Apply source code**: the most effective way of loading funnel pages, cart pages with added products, or personalized dashboards. It’s also the best way of fixing editor-loading issues caused by authentication (on a client account, for example) or a page that requires session information (e.g. products to be displayed on the cart page).

There are two ways of applying the correct source code:

**👉**[**With the AB Tasty extension**](https://app.gitbook.com/s/6Yw9IRJ6KbbucQPwZUCZ/web-experimentation-and-personalization/editors-and-widget/chrome-extension#h_01jtk5jwe093g7xemwhascpyrb)

**👉With the OuterHTML**

Copy the source code of the web page where you’re trying to load the editor using the **Copy outerHTML** command in the \<html> tag (in the first line of the source code).

<figure><img src="https://1594035872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhZIDRsh66I8ikipjy42H%2Fuploads%2Fjpqa2DEZENjPQ7EDj3Ap%2FScreenshot%202025-06-19%20at%2011.42.59.png?alt=media&#x26;token=4000963d-6823-4410-971d-35621711a390" alt=""><figcaption></figcaption></figure>

Paste this source code into the **Sample URL to load in the editor field** in the [**Main information** step](https://app.gitbook.com/s/6Yw9IRJ6KbbucQPwZUCZ/web-experimentation-and-personalization/campaign-creation-and-dashboard/how-to-set-up-main-information-step#id-01j8hdwfg74rcxgjjxgmvnrth6) in AB Tasty:

* **Use the Chrome Extension**: try using the [***AB Tasty Chrome*** ](https://app.gitbook.com/s/6Yw9IRJ6KbbucQPwZUCZ/web-experimentation-and-personalization/editors-and-widget/chrome-extension)***extension.*** This extension forces your page to load fully before applying the editor, which solves a lot of common problems encountered with loading the editor. The add-on is available in the Chrome web store. You can download it [***here***](https://chromewebstore.google.com/detail/ab-tasty/liaeijonjkogflicmmlcdhckabgmhjdp)***.***

  To use the Chrome add-on, follow these steps:

  1. Go to the URL you want to load in the editor
  2. Open the AB Tasty Chrome add-on
  3. Search by campaign name or ID
  4. Click **Open Editor**
     {% endtab %}
     {% endtabs %}

## The editor loads its layout and options but the content of the page is not loaded correctly

{% tabs %}
{% tab title="Switch to the Navigation Mode" %}
Depending on how the page is built, the content may take longer to load or may load dynamically. The visual editor is then loaded too fast compared to your content.&#x20;

The navigation mode can temporarily enable you to interact with the website in order to trigger or to load certain elements that wouldn’t be otherwise visible. To do so :

![](https://docs.abtasty.com/~gitbook/image?url=https%3A%2F%2F2350286830-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F6Yw9IRJ6KbbucQPwZUCZ%252Fuploads%252Fgit-blob-f5c9f2a5e851dc466f6d7f173f223f2827210afb%252F49e0fff232218875fdd8a5e5b91698c5.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=f20583b0\&sv=2)&#x20;

* Click the pencil button to **Stop editing**
* Navigate on your website
* Click the same button to **Start editing** Your content is now accessible and fixed to let you work on it thanks to the contextual editor.
  {% endtab %}

{% tab title="Apply the Source code" %}
Applying source code is the most effective way of loading **funnel pages**, **cart pages with added products,** or **personalized dashboards**. It’s also the best way of fixing editor-loading issues caused by authentication (on a client account, for example) or a page that requires session information (e.g. products to be displayed on the cart page).

There are two ways of applying the correct source code:

**👉**[**With the AB Tasty extension**](https://app.gitbook.com/s/6Yw9IRJ6KbbucQPwZUCZ/web-experimentation-and-personalization/editors-and-widget/chrome-extension#h_01jtk5jwe093g7xemwhascpyrb)

**👉With the OuterHTML**

Copy the source code of the web page where you’re trying to load the editor using the **Copy outerHTML** command in the \<html> tag (in the first line of the source code).

<figure><img src="https://1594035872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhZIDRsh66I8ikipjy42H%2Fuploads%2Fjpqa2DEZENjPQ7EDj3Ap%2FScreenshot%202025-06-19%20at%2011.42.59.png?alt=media&#x26;token=4000963d-6823-4410-971d-35621711a390" alt=""><figcaption></figcaption></figure>

Paste this source code into the **Sample URL to load in the editor field** in the [**Main information** step](https://app.gitbook.com/s/6Yw9IRJ6KbbucQPwZUCZ/web-experimentation-and-personalization/campaign-creation-and-dashboard/how-to-set-up-main-information-step#id-01j8hdwfg74rcxgjjxgmvnrth6) in AB Tasty:

You can find more details on how to apply the source code our article dedicated to [introducing the Editor](https://app.gitbook.com/s/6Yw9IRJ6KbbucQPwZUCZ/web-experimentation-and-personalization/editors-and-widget/visual-editor/discovering-the-visual-editor).
{% endtab %}

{% tab title="Verify your console errors" %}
If you notice Content Security Policy (CSP) errors in the console when trying to load the editor, the server configuration is causing these problems. The security setting may be too high on your server. By default, many clients use a Content Security Policy that blocks everything on their website. This means that every external request has to be allowlisted in the server configuration.

To open the console, right click in the editor's page, then click "Inspect" and go to the "Console" tab. If you see the following kind of errors, these are caused by CSP errors:

<figure><img src="https://1594035872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhZIDRsh66I8ikipjy42H%2Fuploads%2FOsSJcxluVtAqMJpeR5pa%2FScreenshot%202025-06-19%20at%2011.47.25.png?alt=media&#x26;token=9c6800a5-4d68-4d99-9bd3-9fffed4c9875" alt=""><figcaption></figcaption></figure>

### **How to resolve this issue** <a href="#h_01j018x5s5g016ayp80wkwb90k" id="h_01j018x5s5g016ayp80wkwb90k"></a>

* Short-term solution: use the [Disable Content Security Policy Chrome extension](https://chromewebstore.google.com/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden) to temporarily bypass the CSP rules.&#x20;
* Long-term solution: ask your IT Team to allow the AB Tasty domains and URLs from your Content Security Policy: <https://developers.abtasty.com/docs/tag/tag-troubleshooting-csp#editors-policies>

### **Other console errors** <a href="#h_01j018x5s5y569mbkesrbf5gbm" id="h_01j018x5s5y569mbkesrbf5gbm"></a>

You may find other errors in the console that block the editor. For instance, if you notice an error related to **X-Frame Options**, like this:

<figure><img src="https://1594035872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhZIDRsh66I8ikipjy42H%2Fuploads%2FBKCyYo58ypvz3yKrlTBk%2FScreenshot%202025-06-19%20at%2011.48.10.png?alt=media&#x26;token=40e70940-d560-4dcb-9689-c263b459cec1" alt=""><figcaption></figcaption></figure>

### **How to resolve this issue** <a href="#h_01j018x5s5g016ayp80wkwb90k" id="h_01j018x5s5g016ayp80wkwb90k"></a>

* Short-term solution: you can temporarily use the [***Ignore X-frame headers***](https://chrome.google.com/webstore/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe) extension to bypass this type of error.
* Long-term solution: ask your IT Team to change the server configuration accordingly.&#x20;
  {% endtab %}
  {% endtabs %}

In case you're having issues loading the visual editor, don't forget to first try using our [Chrome Extension](https://chromewebstore.google.com/detail/ab-tasty/liaeijonjkogflicmmlcdhckabgmhjdp?hl=en-US\&utm_source=ext_sidebar). You will find all the information related to [how to open the editor with our extension in this article. ](https://docs.abtasty.com/web-experimentation-and-personalization/editors-and-widget/chrome-extension#h_01jtk5jwe0xdz6fqvx0nhssw3c)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/help-center/troubleshooting/troubleshooting-why-is-the-editor-not-loading-and-how-can-i-force-it-to-open.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
