---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.2
alternate:
  - https://yandex.com/support/varioqub/en/faq.md
  - https://yandex.com/support/varioqub/ru/faq.md
  - https://yandex.com/support/varioqub/tr/faq.md
  - href: en/faq.md
    type: text/markdown
    title: Markdown version
  - href: llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/varioqub/en/llms.txt

# FAQ and troubleshooting

## Can I run experiments with JS‑scripts? {#js-script}

Yes, you can do it in the visual editor. To do this, enable the `enableJS` parameter in [setConfig](https://yandex.com/support/varioqub/en/objects/set-config.md).

## There's a significant difference between the test and control variants in my redirect experiment {#redirect}

In Varioqub, a control page loads first, and then experimental changes are applied to it. If the change is a redirect, the page quickly changes, causing flickering. This might affect user behavior.

You can [hide the display of the original page](https://yandex.com/support/varioqub/en/anti-flicker.md) until the redirect is applied. However, this can increase the page load time, which may also impact user behavior.

We recommend a different solution: add a redirect to the control variant. Create a copy of the original page and specify the link to it in the control variant.

## The experiment data and the Yandex Metrica report data differ {#differs-form-metrica}

Yandex Metrica reports and experiment reports are generated differently.

Common causes for discrepancy:

- The URL includes GET parameters.

- Some sessions aren't sorted into in any samples because of the experiment conditions.

## I was sorted into different variants of one experiment, but Yandex Metrica recorded only one session {#cookie-deletion}

When a user enters an experiment, they're identified by the first-party cookie named `__ymab_param`. However, Yandex Metrica reports apply more sophisticated identification methods.

If you delete cookies on your device, you may be sorted into a different sample. But Yandex Metrica will still consider you the same user.

## What if I want to use conditions that are not available in the Varioqub interface? {#custom-condition}

You can use custom parameters. They're available in the [extended version](https://yandex.com/support/varioqub/en/paid-functionality.md).

## I'm trying to create an experiment, but all the fields are locked {#fields-blocked}

Check your access rights to the current Yandex Metrica tag.

You need edit access in order to create, launch, and stop experiments.

## Visual editor doesn't work {#visual-not-working}

This experiment type may not work on some sites.

<!-- source: en/_includes/create/visual-problems.md -->
This happens if the server sets the [Cross-Origin-Opener-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy) header with the value `same-origin`. This setting prohibits data exchange between the Yandex Metrica interface and the site.

There is currently no workaround for this technical limitation.
<!-- endsource: en/_includes/create/visual-problems.md -->

## Experimental changes don't appear on the page immediately {#flickering}

In Varioqub, a control page loads first, and then experimental changes are applied to it. Because of this, you might see one version of the page quickly replacing another.

To ensure the experimental variant loads instantly, [hide the control variant](https://yandex.com/support/varioqub/en/anti-flicker.md) before starting the experiment.

## How do I disable a specific experiment type for an entire site or page? {#disable-experiment-type}

Set the appropriate parameters to `false` in [setConfig](https://yandex.com/support/varioqub/en/objects/set-config.md).

## An element loads after the page. How do I include it in the experiment? {#element-after-download}

Enable the `enableWatch` parameter in [setConfig](https://yandex.com/support/varioqub/en/objects/set-config.md).

The `enableWatch` enables the page change monitoring mode.

## My site has dynamic element IDs. Can I still use the visual editor? {#changing-id}

1. In the visual editor, click ![](_assets/set.svg) in the editing mode selection window.

1. Disable the **ID of the element in the selector** option, then click **Save**.

    ![](_assets/element-id-in-selector.png =356x)

## Can I add a redirect to a different domain? {#international-redirect}

We don't provide such functionality for **Redirect links** experiments for security reasons. Use flags in the code to switch between domains. For more information, see the [GitHub](https://github.com/yandex/varioqub-extras/blob/master/web/redirect_frontend/templates/redirect_other_domain.html) repository.

## My monetization statistics in Yandex Metrica and the partner interface are different {#monetization-statistics}

The values may differ due to different post-processing of data.

To judge an experiment's success, we compare the test and control variants in Yandex Metrica. Post-processing affects them the same way.

## I've run an A/A experiment, and the test variant differs from the control one

In A/A testing, this scenario is acceptable. Its probability is equal to the significance level `alpha = 0.05`. This means that one out of 20 experiments may show statistically significant differences.

If your A/A experiments show statistically significant differences more often, check the experiment configuration for potential problems. If this doesn't help, contact [Support](https://yandex.com/support/varioqub/en/troubleshooting.md).

<!-- source: en/_includes/image-styles.md -->

<!-- endsource: en/_includes/image-styles.md -->

## Audience discrepancy in experiments with redirects {#redirect-discrepancy}

If you see a discrepancy in the audience of an experiment with redirects, make sure that the Varioqub code is correctly added on every page participating in the experiment, including the redirect target pages.

