Cómo probar banners de Black Friday sin un desarrollador

·Actualizado en octubre de 2026
Elementos Campaign Booster ya listos para usar
Sin cookies (localStorage)
La IA crea tu variante a partir de un prompt
Puntos clave
  • Describe un banner de Black Friday a la IA con Prompt-Based Experimentation (PBX), o añádelo con los elementos ya listos de Campaign Booster (Information Bar, Notification, USP Bar, Exit-Intent Layer) en el Visual Editor. El código de tu theme permanece intacto.
  • La configuración tiene tres pasos: activa el elemento en el Editor Visual, copia y comprueba su JavaScript y CSS, y luego actualiza tu contenido y publícalo tras el control de calidad (QA).
  • La segmentación por dispositivo, parámetro UTM, referrer o país, y las fechas de inicio y fin, deciden quién ve el banner y cuándo.

Puedes probar banners de Black Friday sin un desarrollador utilizando el Editor Visual de Varify junto con los elementos listos para usar de Campaign Booster. Activas un elemento como una barra de información o un pop-up, cambias el texto y el estilo, lo compruebas con el enlace de vista previa y el modo QA, y pones en marcha el test.

Para muchas tiendas online, el Black Friday es uno de los días de ventas más fuertes del año. Los objetivos son altos y los resultados a menudo se quedan cortos. Un motivo habitual es que los visitantes pasan por alto los descuentos, las promociones se pierden en el diseño y el potencial de conversión queda sin aprovechar.

Esta página muestra qué elementos puedes añadir tú mismo, cómo configurar un test de banner en tres pasos, qué probar, cómo segmentar y programar el banner, y el código listo para usar de cada elemento.

La respuesta breve

Describe el banner en lenguaje natural con PBX: en el Visual Editor escribes lo que quieres en “Ask AI”, y la IA crea la variante, escribe el código y configura el experimento, sin necesidad de un desarrollador. Puedes refinar el resultado tantas veces como quieras dentro de una variante, y un desarrollador puede ajustar el JavaScript generado. Consulta los ejemplos de PBX y la documentación de PBX.

O usa el Visual Editor junto con los elementos ya listos de Campaign Booster, y ejecuta el test en tres pasos: activa el elemento, copia y revisa su JavaScript y CSS, luego actualiza tu contenido y publícalo tras el QA.

Nadie tiene que tocar los archivos de tu theme. El banner es una variante de tu página, y tú decides cuándo empieza. La configuración se explica paso a paso a continuación.

Qué elementos de Black Friday puedes añadir tú mismo

Campaign Booster te ofrece bloques de construcción terminados para los emplazamientos típicos de Black Friday. Activas un elemento en el Visual Editor y ahí cambias sus textos, colores y enlaces.

ElementoQué haceUso en Black FridayDocumentación
Information BarUna barra fija en la parte superior o inferior de la pantalla con iconos y temporización configurable.Anuncia la campaña y la fecha de fin en cada página.Information Bar
NotificationUn mensaje que puedes colocar, personalizar y temporizar como quieras.Señala la oferta sin cubrir el contenido.Notification
USP BarHasta tres propuestas de venta únicas en una barra fija, cada una con un icono opcional.Mantén visibles la entrega, las devoluciones y el soporte junto a la oferta.USP Bar
Exit-Intent LayerUna capa con una imagen y un mensaje cuando un visitante está a punto de irse.Una segunda oportunidad para los visitantes que se van sin comprar.Exit-Intent Layer
Pop-upLa misma capa, mostrada tras un retraso que tú defines (imagen o texto con un botón).Atrae la atención hacia la oferta al inicio de la visita.Exit-Intent Layer
Arrow UpUna flecha de desplazamiento hacia arriba que aparece a medida que el visitante baja.Ayuda a los visitantes a volver al menú en páginas de ofertas largas.Arrow Up

Configura un test de banner en tres pasos

  1. Importante: activa el campaign booster correspondiente en tu editor visual. Abre tu experimento en el Editor Visual y activa el elemento que necesites (ver la tabla anterior).
  2. Copia el JavaScript y CSS personalizados y revísalos en tu configuración. Cada elemento tiene su propio código más abajo en esta página. Copia ambas partes y comprueba cómo se ve el elemento en el editor.
  3. Actualiza tu contenido y pon el test en marcha tras una QA exitosa. Sustituye los textos, enlaces e imágenes de muestra por tu contenido de Black Friday, revisa la variante con el enlace de vista previa y el modo QA, y luego inicia el test.

Nota: Varify no asume ninguna responsabilidad por la funcionalidad del código ni de la información. Es responsabilidad del usuario revisar a fondo el código del test e implementarlo correctamente.

Qué probar en un banner de Black Friday

Cambia una sola cosa por test, para que el resultado te diga qué cambio marcó la diferencia. Cuatro puntos de partida:

  • Mensaje. Nombra la oferta en una línea, o destaca el beneficio. Prueba una redacción más corta y otra más larga.
  • Posición. Barra superior, barra inferior, notificación en la esquina o capa. El mismo mensaje puede comportarse de forma distinta en cada lugar.
  • Momento. Muestra el banner de inmediato, tras un retraso, o solo cuando un visitante está a punto de irse.
  • Audiencia. Todos los visitantes, solo los que llegan de un enlace de campaña, o solo un tipo de dispositivo.

La página sobre qué testear con A/B antes del Black Friday profundiza en la elección de los tests. Para ideas de ofertas para el banner, consulta 20 ideas de Black Friday para tiendas online. Para planificar cuánto debe durar un test, usa la calculadora gratuita de duración de test y la calculadora de significancia.

Segmenta y programa tu banner

El Black Friday 2026 es el viernes 27 de noviembre (semana 48 del calendario), y el Cyber Monday es el lunes 30 de noviembre. El interés de búsqueda por términos de Black Friday aumenta desde octubre y alcanza su pico en las semanas 46 y 47 (análisis de Varify sobre Google Trends, 2022 a 2024), por lo que el banner debería estar testeado y listo antes de mediados de noviembre. Para saber qué puede mostrar el banner cuando llegue el Cyber Monday, consulta ideas de marketing para Cyber Monday en tiendas online.

Quieres…Usa
Mostrar el banner solo en móvil, o solo en escritorioSegmentación por dispositivo
Mostrar una oferta a un segmento de forma permanentePersonalización (entrega al 100% a una audiencia)
Mostrar el banner solo a visitantes de tu email o anuncio de Black FridaySegmentación de audiencia por parámetro de URL (UTM)
Limitar el banner por referente o paísSegmentación de audiencia por referente y geolocalización
Iniciar y finalizar el banner automáticamenteProgramar experimentos (fecha de inicio y fin)

Los detalles están en la documentación de segmentación de audiencia, segmentación de páginas y programación de experimentos. Si tu banner muestra precios, precios tachados o una cuenta atrás, haz revisar legalmente el texto antes del lanzamiento. Si una cuenta atrás tiene sentido en el banner, lo trata Cuentas atrás de Black Friday: ¿convierten?

Cómo usan los equipos Varify en Black Friday

Flexibilidad sin desarrolladores

Cambia el estilo y añade rápidamente mejoras de campaña tú mismo sin depender del departamento de desarrollo. Esto ahorra tiempo y te permite reaccionar de inmediato.

Tests rápidos de landing pages

Gracias a nuestro script mínimo, puedes diseñar landing pages en tu CMS y testearlas directamente con redirecciones, de forma rápida, sencilla y sin largas esperas. Revisa la propia página con la checklist de landing page para Black Friday antes de enviarle tráfico.

Estilo sencillo para Black Friday

¿Quieres personalizar tu tienda para el Black Friday o destacar ciertos elementos moviéndolos de lugar? Con el editor visual, puedes cambiar el diseño al instante sin tener que meterte a fondo en el código.

Segmentación precisa para campañas

Comprueba cómo reaccionan ciertos grupos objetivo a tus cambios segmentándolos específicamente, con parámetros UTM, perfiles de dispositivo o países. Así sabrás exactamente qué funciona, y para quién.

Código ya preparado para el Campaign Booster

Cada elemento de Black Friday de abajo viene con su propio JavaScript y CSS. Copia el código del elemento que activaste en el paso 1, ajusta los textos, enlaces e imágenes, y comprueba el resultado con el enlace de vista previa y el modo QA.

El código es una plantilla: sustituye YOUR_LANDING_PAGE_URL y YOUR_IMAGE_URL por tus propias direcciones.

PopUp de Black Friday - Imagen

Elemento de Campaign Booster: Exit Intent

Puedes mostrar un pop-up con una imagen que aparece en un momento específico. Puedes personalizar exactamente cuándo aparece.

JavaScript adicional

window.varify.helpers.onDomLoaded(() => {
  // === BASIC SETTINGS (adjust if needed) ===
  const POPUP_SESSION_KEY = 'varifyExitPopupSeen'; // sessionStorage key
  const targetUrl = 'YOUR_LANDING_PAGE_URL'; // landing page URL
  const imageSrc = 'YOUR_IMAGE_URL'; // popup image
  const imageAlt = 'Black Friday Deal'; // image alt text
  const popupDelayMs = 1000; // delay before popup opens (in ms)

    function isInEditor() {
    const p = new URLSearchParams(location.search);
    return p.has('varify-variation-name') || p.has('varify-variation-id');
  }
  if (isInEditor()) return;

  window.varify.helpers.waitFor('.varify-exitIntent-content', (contentDiv) => {
    const wrapper = document.querySelector('.varify-exitIntent-wrapper');
    const backdrop = document.querySelector('.varify-exitIntent-backdrop');
    const modal = document.querySelector('.varify-exitIntent');
    const closeBtn = document.querySelector('.varify-exitIntent-close');

    if (!wrapper || !backdrop || !modal || !contentDiv) return;

    const alreadySeen = sessionStorage.getItem(POPUP_SESSION_KEY) === '1';

    // move close button into modal so it overlays the image
    if (closeBtn && closeBtn.parentElement !== modal) {
      modal.appendChild(closeBtn);
    }

    // === replace popup content with clickable image ===
    contentDiv.innerHTML = '';
    const link = document.createElement('a');
    link.href = targetUrl;
    link.target = '_blank';
    link.rel = 'noopener noreferrer';

    const img = document.createElement('img');
    img.src = imageSrc;
    img.alt = imageAlt;
    img.style.display = 'block';
    img.style.width = '100%';
    img.style.height = 'auto';

    link.appendChild(img);
    contentDiv.appendChild(link);

    // === always block existing exit-intent triggers ===
    const stopExitIntent = (evt) => {
      if (
        (evt.type === 'mouseleave' || evt.type === 'mouseout') &&
        (evt.relatedTarget === null || evt.clientY  {
      sessionStorage.setItem(POPUP_SESSION_KEY, '1');
      wrapper.classList.add('vf-show');
    };
    setTimeout(openPopup, popupDelayMs);

    // === close helpers ===
    const closePopup = () => {
      wrapper.classList.remove('vf-show');
    };

    // close via X button
    if (closeBtn) {
      closeBtn.addEventListener('click', (e) => {
        e.preventDefault();
        closePopup();
      });
    }

    // close via click outside modal
    backdrop.addEventListener('click', (e) => {
      if (!modal.contains(e.target)) {
        closePopup();
      }
    });

    // close via ESC key
    document.addEventListener('keydown', (e) => {
      if (e.key === 'Escape') {
        closePopup();
      }
    });
  });
});


    

CSS adicional

/* wrapper: hidden by default, visible when vf-show is added */
.varify-exitIntent-wrapper {
  display: none;
}

.varify-exitIntent-wrapper.vf-show {
  display: block;
}

/* backdrop: full-screen overlay */
.varify-exitIntent-wrapper.vf-show .varify-exitIntent-backdrop {
  position: fixed;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2147483647;
}

/* modal: pure container around the image */
.varify-exitIntent {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* remove padding: pure image modal */
.varify-exitIntent-content {
  padding: 0 !important;
}

/* image should never be larger than viewport height */
.varify-exitIntent-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

/* hide original header bar if present */
.varify-exitIntent-header {
  display: none !important;
}

/* close button overlay above the image */
.varify-exitIntent-close {
  position: absolute !important;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff !important;
  cursor: pointer;
  z-index: 2147483647;
}


    

PopUp de Black Friday - Contenido

Elemento de Campaign Booster: Exit Intent

Este popup contiene texto, puntos y un botón. Puedes personalizar el texto como quieras y especificar cuándo debe aparecer el popup para informar a tus usuarios de forma dirigida.

JavaScript adicional

window.varify.helpers.onDomLoaded(() => {
  // ================================
  // CONFIG – YOU CAN EDIT THIS
  // ================================

  // Unique key for this popup. If you duplicate the test, change this key.
  const POPUP_SESSION_KEY = 'varifyBFContentPopupSeen';

  // When should the popup appear after page load (in milliseconds)?
  const POPUP_DELAY_MS = 1000;

  // Popup texts
  const POPUP_HEADLINE = 'Black Friday Mega Deal!';
  const POPUP_SUBHEADLINE = 'Don\'t miss our biggest discounts';

  // Bullet points (each entry = one bullet line)
  const POPUP_BULLETS = [
    'Up to 50% off everything',
    'Free shipping on all orders',
    'Limited time offer'
  ];

  // CTA button
  const POPUP_CTA_URL = 'YOUR_LANDING_PAGE_URL'; // landing page URL
  const POPUP_CTA_TEXT = 'Save Now →';                       // CTA label

  // ================================
  // RUNTIME LOGIC – DO NOT TOUCH :)
  // ================================

  // Do not run inside Varify editor
  function isInEditor() {
    const p = new URLSearchParams(location.search);
    return p.has('varify-variation-name') || p.has('varify-variation-id');
  }
  if (isInEditor()) return;

  window.varify.helpers.waitFor('.varify-exitIntent-content', (contentDiv) => {
    const wrapper  = document.querySelector('.varify-exitIntent-wrapper');
    const backdrop = document.querySelector('.varify-exitIntent-backdrop');
    const modal    = document.querySelector('.varify-exitIntent');
    const closeBtn = document.querySelector('.varify-exitIntent-close');

    if (!wrapper || !backdrop || !modal || !contentDiv) return;

    const alreadySeen = sessionStorage.getItem(POPUP_SESSION_KEY) === '1';

    // Always block the original exit-intent logic of the site
    const stopExitIntent = (evt) => {
      if (
        (evt.type === 'mouseleave' || evt.type === 'mouseout') &&
        (evt.relatedTarget === null || evt.clientY <= 0) ) { evt.stopImmediatePropagation(); if (evt.preventDefault) evt.preventDefault(); } }; document.addEventListener('mouseleave', stopExitIntent, true); document.addEventListener('mouseout', stopExitIntent, true); // If shown once in this session: hide wrapper and stop everything if (alreadySeen) { wrapper.classList.remove('vf-show'); wrapper.style.display = 'none'; return; } // Ensure close button is inside the modal so it overlays the content if (closeBtn && closeBtn.parentElement !== modal) { modal.appendChild(closeBtn); } // Build popup content contentDiv.innerHTML = ''; contentDiv.style.textAlign = 'left'; const headline = document.createElement('p'); headline.className = 'bf-exit-intent-headline'; headline.textContent = POPUP_HEADLINE; const subheadline = document.createElement('p'); subheadline.className = 'bf-exit-intent-subheadline'; subheadline.textContent = POPUP_SUBHEADLINE; const ul = document.createElement('ul'); ul.className = 'bf-exit-intent-bullets'; POPUP_BULLETS.forEach((txt) => {
      const li = document.createElement('li');
      li.textContent = txt;
      ul.appendChild(li);
    });

    const cta = document.createElement('a');
    cta.className = 'bf-exit-intent-cta';
    cta.href = POPUP_CTA_URL;
    cta.target = '_blank';
    cta.rel = 'noopener noreferrer';
    cta.textContent = POPUP_CTA_TEXT;

    contentDiv.appendChild(headline);
    contentDiv.appendChild(subheadline);
    contentDiv.appendChild(ul);
    contentDiv.appendChild(cta);

    // Open popup after delay (once per session)
    const openPopup = () => {
      sessionStorage.setItem(POPUP_SESSION_KEY, '1');
      wrapper.classList.add('vf-show');
    };
    setTimeout(openPopup, POPUP_DELAY_MS);

    // Close helpers
    const closePopup = () => {
      wrapper.classList.remove('vf-show');
    };

    // Close via X button
    if (closeBtn) {
      closeBtn.addEventListener('click', (e) => {
        e.preventDefault();
        closePopup();
      });
    }

    // Close via click outside modal
    backdrop.addEventListener('click', (e) => {
      if (!modal.contains(e.target)) {
        closePopup();
      }
    });

    // Close via ESC key
    document.addEventListener('keydown', (e) => {
      if (e.key === 'Escape') {
        closePopup();
      }
    });
  });
});

    

CSS adicional

/* ================================
   BASE POPUP BEHAVIOR
   ================================ */

/* Wrapper hidden by default, visible when .vf-show is added via JS */
.varify-exitIntent-wrapper {
  display: none;
}

.varify-exitIntent-wrapper.vf-show {
  display: block;
}

/* Backdrop: dark overlay, only when wrapper has .vf-show */
.varify-exitIntent-backdrop {
  display: none !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.varify-exitIntent-wrapper.vf-show .varify-exitIntent-backdrop {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed;
  inset: 0;
  z-index: 2147483646;
}

/* Optional: if you ever want to lock scroll on the page:
.vf-no-scroll {
  overflow: hidden !important;
}
*/

/* Header not needed for this design */
.varify-exitIntent-header {
  display: none !important;
}

/* ================================
   MODAL STYLING (BLACK FRIDAY LOOK)
   ================================ */

.varify-exitIntent {
  background-color: #000 !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 0 8px rgb(68 64 64 / 30%) !important;
  width: 540px !important;
  max-width: 80% !important;
  max-height: 80% !important;
  position: relative !important;
  z-index: 2147483647 !important;
  /* above backdrop, below close button */
  overflow: visible !important;
  /* do not cut off the close button */
}

/* If your HTML has a .varify-exitIntent-inner: scroll only inside */
.varify-exitIntent-inner {
  max-height: 80vh;
  overflow: auto;
}

/* Content block */
.varify-exitIntent-content {
  padding: 30px !important;
  text-align: left !important;
}

/* ================================
   TEXT STYLES
   ================================ */

.bf-exit-intent-headline {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
}

.bf-exit-intent-subheadline {
  font-size: 18px;
  margin: 0 0 15px;
  color: #fff;
}

.bf-exit-intent-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.bf-exit-intent-bullets li {
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
  color: #fff;
}

.bf-exit-intent-bullets li:before {
  content: "-";
  color: #d32c2c;
  position: absolute;
  left: 0;
  top: 0;
}

/* CTA button */
.bf-exit-intent-cta {
  display: inline-block;
  background-color: #d32c2c;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
}

.bf-exit-intent-cta:hover {
  background-color: #b71c1c;
}

/* ================================
   CLOSE BUTTON (X) - ALWAYS ON TOP
   ================================ */

.varify-exitIntent-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 2147483648 !important;
  /* above everything */
  color: #fff !important;
}

.varify-exitIntent-close-icon {
  width: 16px;
  height: 16px;
  color: #fff !important;
}



    

Notificación discreta de Black Friday

Elemento de Campaign Booster: Notificación

Una notificación discreta que aparece en la parte inferior izquierda. Esto te permite redirigir al usuario a otra página de acción sin molestarlo, perfecto para llamadas a la acción sutiles.

JavaScript adicional

window.varify.helpers.onDomLoaded(() => {
  // ================================
  // CONFIG – YOU CAN EDIT THIS
  // ================================

  // Notification should be shown only once per browser session
  const SESSION_KEY = 'varifyBFNotificationSeen';

  // Text content
  const INFO_TEXT = 'Black Friday Deal';                      // small badge
  const HEADLINE_TEXT = 'Black Friday Special';               // main title
  const SUBHEADLINE_TEXT = 'Save 30% on everything today';    // sub text
  const CTA_TEXT = 'Save now →';                              // CTA label

  // Link for CTA and full notification
  const CTA_LINK = 'YOUR_LANDING_PAGE_URL';

  // ================================
  // RUNTIME LOGIC – DO NOT TOUCH :)
  // ================================

  function isInEditor() {
    const p = new URLSearchParams(location.search);
    return p.has('varify-variation-name') || p.has('varify-variation-id');
  }
  if (isInEditor()) return;

  window.varify.helpers.waitFor('.varify-notification-content', () => {
    const contentDiv = document.querySelector('.varify-notification-content');
    const wrapper = document.querySelector('.varify-notification-wrapper');
    const notification = document.querySelector('.varify-notification');
    const closeBtn = document.querySelector('.varify-notification-close');
    const wrapperLink = document.querySelector('.varify-notification-link');

    if (!contentDiv || !notification) return;

    const alreadySeen = sessionStorage.getItem(SESSION_KEY) === '1';

    // === If already seen: hide everything immediately and do nothing further ===
    if (alreadySeen) {
      if (wrapper) wrapper.style.display = 'none';
      notification.style.display = 'none';
      return;
    }

    // === First session review – set content ===

    // Info badge
    let infoDiv = contentDiv.querySelector('.webinar-info');
    if (!infoDiv) {
      infoDiv = document.createElement('div');
      infoDiv.className = 'webinar-info';
      contentDiv.insertBefore(infoDiv, contentDiv.firstChild);
    }
    infoDiv.textContent = INFO_TEXT;

    // Headline
    const headlineEl = contentDiv.querySelector('.varify-notification-headline');
    if (headlineEl) {
      headlineEl.textContent = HEADLINE_TEXT;
    }

    // Subheadline
    const subEl = contentDiv.querySelector('.varify-notification-text');
    if (subEl) {
      subEl.textContent = SUBHEADLINE_TEXT;
    }

    // CTA inside notification
    let ctaEl = contentDiv.querySelector('.webinar-signup');
    if (!ctaEl) {
      ctaEl = document.createElement('a');
      ctaEl.className = 'webinar-signup';
      contentDiv.appendChild(ctaEl);
    }
    ctaEl.textContent = CTA_TEXT;
    ctaEl.href = CTA_LINK;
    ctaEl.target = '_blank';
    ctaEl.rel = 'noopener noreferrer';

    // whole notification clickable
    if (wrapperLink) {
      wrapperLink.href = CTA_LINK;
      wrapperLink.target = '_blank';
      wrapperLink.rel = 'noopener noreferrer';
    }

    // Mark as 'seen' from now on
    sessionStorage.setItem(SESSION_KEY, '1');

    // Close-Button: versteckt Notification komplett (Session-Flag bleibt)
    if (closeBtn) {
      closeBtn.addEventListener('click', (e) => {
        e.preventDefault();
        if (wrapper) wrapper.style.display = 'none';
        notification.style.display = 'none';
      });
    }
  });
});



    

CSS adicional

/* Black box with white text */
.varify-notification.v_animated.v_animation.varify-init {
  background-color: #000 !important;
  color: #fff !important;
}

/* Headline and text in white */
.varify-notification-headline,
.varify-notification-text {
  color: #fff !important;
}

/* Text margin at the bottom */
.varify-notification-text {
  margin-bottom: 5px !important;
}

/* CTA text style */
.webinar-signup {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.webinar-signup:hover {
  text-decoration: underline !important;
}

/* Make the close icon (X) visible */
.varify-notification-close {
  color: #fff !important;
}

/* Bubble design for "Black Friday Deal" */
.webinar-info {
  background-color: #d32c2c !important;
  /* red bubble */
  color: #fff !important;
  /* white text */
  border-radius: var(--border-radius--200) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 2px 6px !important;
  max-width: 160px !important;
  text-align: center !important;
  margin-bottom: 8px !important;
  margin-top: 6px !important;
}

/* ---------- MOBILE ADJUSTMENTS ---------- */
@media (max-width: 767px) {
  .varify-notification-headline {
    font-size: 14px !important;
  }

  .varify-notification-text {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }

  .webinar-info {
    font-size: 10px !important;
    padding: 1px 4px !important;
    max-width: 120px !important;
    margin-bottom: 6px !important;
  }

  .webinar-signup {
    font-size: 12px !important;
  }
}

@media (max-width: 576px) {

  /* Smaller overall box */
  .varify-notification {
    padding: 8px 10px !important;
    min-width: 200px !important;
    max-width: 260px !important;
    border-radius: 3px !important;
    bottom: 20px !important;
    left: 20px !important;
  }

  /* Smaller headline */
  .varify-notification-headline {
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }

  /* Smaller subheadline */
  .varify-notification-text {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  /* Smaller badge */
  .webinar-info {
    font-size: 10px !important;
    padding: 1px 4px !important;
    max-width: 100px !important;
    margin-bottom: 4px !important;
  }

  /* Smaller Close-X */
  .varify-notification-close {
    font-size: 16px !important;
    width: 12px !important;
    height: 12px !important;
    right: 10px !important;
    margin-top: -6px !important;
  }

}



    

Barra de información de Black Friday

Elemento de Campaign Booster: Barra de información

Con la barra de información, puedes mostrar tres contenidos diferentes y sustituir el SVG por tu propio diseño. Las etiquetas también se pueden personalizar y todo el elemento está vinculado para que puedas enlazarlo fácilmente.

JavaScript adicional

window.varify.helpers.waitFor('.varify-usp-bar', (bar) => {
  // === SETTINGS FOR YOU ===
  const headlines = [
    '30% OFF EVERYTHING',
    '30% OFF EVERYTHING',
    '30% OFF EVERYTHING'
  ];

  const mobileHeadline = '30% OFF EVERYTHING - MOBILE SPECIAL';

  const targetUrl = 'YOUR_LANDING_PAGE_URL';

  const iconVariant = 'cross';

  const crossIconSvg =
    '';

  const defaultIconSvg =
    '';

  const isMobile = window.matchMedia('(max-width: 767px)').matches;

  if (isMobile) {
    bar.classList.add('varify-usp-bar--mobile-single');
  }

  // === APPLY TEXTS ===
  bar.querySelectorAll('.varify-usp-bar-headline').forEach((el, idx) => {
    if (isMobile) {
      el.textContent = mobileHeadline;
    } else {
      el.textContent = headlines[idx] || headlines[0];
    }
  });

  // === APPLY ICONS ===
  bar.querySelectorAll('.varify-usp-bar-icon').forEach((el) => {
    el.innerHTML = iconVariant === 'cross' ? crossIconSvg : defaultIconSvg;
  });

  // === MAKE THE BAR CLICKABLE ===
  bar.addEventListener('click', (evt) => {
    if (evt.target.closest('.varify-usp-bar-close')) return;
    window.location.href = targetUrl;
  });

  // ------------------------------------------------------------------
  // === MOBILE FEATURE (NEW - REST UNCHANGED) ===
  // ------------------------------------------------------------------
  if (isMobile) {
    // only the first USP remains visible
    const usps = bar.querySelectorAll('.varify-usp-bar-usp');
    usps.forEach((usp, index) => { {
      if (index > 0) {
        usp.style.display = 'none';
      }
    });
  }
});


    

CSS adicional

/* Black Friday styling: black background, white text, hide subtext */
.varify-usp-bar-wrapper,
.varify-usp-bar {
  background-color: #000 !important;
  color: #fff !important;
}

.varify-usp-bar-headline {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.varify-usp-bar-text {
  display: none !important;
  /* Remove subheadline; only headlines remain */
}

.varify-usp-bar-icon svg {
  fill: #fff !important;
  stroke: #fff !important;
  width: 24px;
  height: 24px;
}

/* Shows the mouse pointer as a „link hand“ over the entire bar */
.varify-usp-bar-wrapper {
  cursor: pointer;
}

/* Ensures that the closing X remains visible and is not affected by the icon swap */
.varify-usp-bar-close {
  color: #ffffffff !important;
  /* White X on black background */
  cursor: default;
  /* Default cursor to differentiate the close button from the clickable rest */
}

@media (max-width: 767px) {
  .varify-usp-bar.varify-usp-bar--mobile-single {
    text-align: center;
  }

  /* Customize .varify-usp-bar-item to your column class */
  .varify-usp-bar.varify-usp-bar--mobile-single .varify-usp-bar-item:not(:first-child) {
    display: none;
  }

  .varify-usp-bar-icon {
    width: 61px !important;
    height: 61px !important;
  }
}


    

Exit Intent de Black Friday - Imagen

Elemento de Campaign Booster: Exit Intent (escritorio)

Cuando un usuario quiere abandonar la página, aparece un popup con una imagen. Perfecto para captar la atención una vez más antes de que el usuario se vaya.

JavaScript adicional

window.varify.helpers.onDomLoaded(() => {

  /* === YOUR SETTINGS === */
  const imgSrc = "YOUR_IMAGE_URL";
  const targetUrl = "YOUR_LANDING_PAGE_URL";  // Link for the image
  const sessionKey = "varify_exit_popup_seen";           // Do not change
  /* ========================= */

  // Do not run in editor
  function isInEditor() {
    const p = new URLSearchParams(location.search);
    return p.has("varify-variation-name") || p.has("varify-variation-id");
  }
  if (isInEditor()) return;

  // Do not show more than once per session
  if (sessionStorage.getItem(sessionKey)) return;

  window.varify.helpers.waitFor('.varify-exitIntent-content', (contentDiv) => {

    const wrapper  = document.querySelector('.varify-exitIntent-wrapper');
    const backdrop = document.querySelector('.varify-exitIntent-backdrop');
    const modal    = document.querySelector('.varify-exitIntent');
    const closeBtn = document.querySelector('.varify-exitIntent-close');

    if (!wrapper || !backdrop || !modal || !closeBtn) return;

    // Replace content with image popup
    contentDiv.innerHTML = "";
    const link = document.createElement("a");
    link.href = targetUrl;
    link.target = "_blank";
    link.rel = "noopener noreferrer";

    const img = document.createElement("img");
    img.src = imgSrc;
    img.alt = "Black Friday Image";
    img.style.display = "block";
    img.style.width = "100%";
    img.style.height = "auto";

    link.appendChild(img);
    contentDiv.appendChild(link);

    // Exit intent trigger
    const exitHandler = (e) => {
      if (e.clientY  {
      if (!modal.contains(evt.target)) closePopup();
    });

    closeBtn.addEventListener("click", (e) => {
      e.preventDefault();
      closePopup();
    });

    document.addEventListener("keydown", (e) => {
      if (e.key === "Escape") closePopup();
    });

  });
});


    

CSS adicional

/* Backdrop hidden by default */
.varify-exitIntent-backdrop {
  display: none !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  align-items: center;
}

/* Show popup only when wrapper has vf-show */
.varify-exitIntent-wrapper.vf-show .varify-exitIntent-backdrop {
  display: flex !important;
}

/* Prevent scroll when popup is open */
.vf-no-scroll {
  overflow: hidden !important;
}

/* Content is just the image, so remove padding */
.varify-exitIntent-content {
  padding: 0 !important;
}

/* Modal background black */
.varify-exitIntent {
  background: #000 !important;
  border-radius: 8px !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  width: 540px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  /* important so image never overflows */
  position: relative;
}

/* Close button always visible above image */
.varify-exitIntent-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.varify-exitIntent-close-icon {
  width: 14px;
  height: 14px;
  color: #000 !important;
}

.varify-exitIntent-header {
  display: none !important;
}


    

Exit Intent de Black Friday - Contenido

Elemento de Campaign Booster: Exit Intent (escritorio)

Este popup aparece cuando el usuario quiere abandonar la página y contiene texto, puntos y un botón. Puedes personalizar el contenido a tu gusto para hacer volver al usuario.

JavaScript adicional

window.varify.helpers.onDomLoaded(() => {
  // ================================
  // CONFIG – YOU CAN EDIT THIS
  // ================================

  // Unique key for this popup. Change if you want a separate session logic.
  const POPUP_SESSION_KEY = 'varifyBFContentExitPopupSeen';

  // Popup texts
  const POPUP_HEADLINE = 'Black Friday Mega Deal!';
  const POPUP_SUBHEADLINE = 'Don\'t miss our biggest discounts';

  // Bullet points (each entry = one bullet line)
  const POPUP_BULLETS = [
    'Up to 50% off everything',
    'Free shipping on all orders',
    'Limited time offer'
  ];

  // CTA button
  const POPUP_CTA_URL = 'YOUR_LANDING_PAGE_URL'; // landing page URL
  const POPUP_CTA_TEXT = 'Save Now →';                       // CTA label

  // Exit intent sensitivity (keep it simple: trigger when mouse leaves at top)
  const EXIT_TRIGGER_Y = 0;

  // ================================
  // RUNTIME LOGIC – DO NOT TOUCH :)
  // ================================

  // Do not run inside Varify editor
  function isInEditor() {
    const p = new URLSearchParams(location.search);
    return p.has('varify-variation-name') || p.has('varify-variation-id');
  }
  if (isInEditor()) return;

  // Do not show more than once per session
  if (sessionStorage.getItem(POPUP_SESSION_KEY) === '1') return;

  window.varify.helpers.waitFor('.varify-exitIntent-content', (contentDiv) => {
    const wrapper  = document.querySelector('.varify-exitIntent-wrapper');
    const backdrop = document.querySelector('.varify-exitIntent-backdrop');
    const modal    = document.querySelector('.varify-exitIntent');
    const closeBtn = document.querySelector('.varify-exitIntent-close');

    if (!wrapper || !backdrop || !modal || !closeBtn || !contentDiv) return;

    let popupOpened = false;

    // Ensure close button is inside modal so it overlays the content
    if (closeBtn.parentElement !== modal) {
      modal.appendChild(closeBtn);
    }

    // Build popup content (headline, subheadline, bullets, CTA)
    contentDiv.innerHTML = '';
    contentDiv.style.textAlign = 'left';

    const headline = document.createElement('p');
    headline.className = 'bf-exit-intent-headline';
    headline.textContent = POPUP_HEADLINE;

    const subheadline = document.createElement('p');
    subheadline.className = 'bf-exit-intent-subheadline';
    subheadline.textContent = POPUP_SUBHEADLINE;

    const ul = document.createElement('ul');
    ul.className = 'bf-exit-intent-bullets';

    POPUP_BULLETS.forEach((txt) => {
      const li = document.createElement('li');
      li.textContent = txt;
      ul.appendChild(li);
    });

    const cta = document.createElement('a');
    cta.className = 'bf-exit-intent-cta';
    cta.href = POPUP_CTA_URL;
    cta.target = '_blank';
    cta.rel = 'noopener noreferrer';
    cta.textContent = POPUP_CTA_TEXT;

    contentDiv.appendChild(headline);
    contentDiv.appendChild(subheadline);
    contentDiv.appendChild(ul);
    contentDiv.appendChild(cta);

    // Exit-intent trigger (simple: mouse leaves at top)
    const exitHandler = (e) => {
      if (popupOpened) return;
      // nur reagieren, wenn Maus oben rausgeht
      if (e.clientY > EXIT_TRIGGER_Y) return;

      openPopup();
      popupOpened = true;
      document.removeEventListener('mouseout', exitHandler);
    };

    document.addEventListener('mouseout', exitHandler);

    function openPopup() {
      sessionStorage.setItem(POPUP_SESSION_KEY, '1');
      wrapper.classList.add('vf-show');
      backdrop.style.display = '';
      document.documentElement.classList.add('vf-no-scroll');
      document.body.classList.add('vf-no-scroll');
    }

    function closePopup() {
      wrapper.classList.remove('vf-show');
      backdrop.style.display = 'none';
      document.documentElement.classList.remove('vf-no-scroll');
      document.body.classList.remove('vf-no-scroll');
    }

    // Outside click closes
    backdrop.addEventListener('click', (evt) => {
      if (!modal.contains(evt.target)) closePopup();
    });

    // X button closes
    closeBtn.addEventListener('click', (e) => {
      e.preventDefault();
      closePopup();
    });

    // ESC closes
    document.addEventListener('keydown', (e) => {
      if (e.key === 'Escape') closePopup();
    });
  });
});


    

CSS adicional

/* ---------------------------------------------
   Backdrop hidden by default
   --------------------------------------------- */
.varify-exitIntent-backdrop {
  display: none !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  position: fixed !important;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  z-index: 2147483646 !important;
}

/* ---------------------------------------------
   Show popup when wrapper has .vf-show
   --------------------------------------------- */
.varify-exitIntent-wrapper.vf-show .varify-exitIntent-backdrop {
  display: flex !important;
}

/* ---------------------------------------------
   Prevent page from scrolling while popup is open
   --------------------------------------------- */
.vf-no-scroll {
  overflow: hidden !important;
}

/* ---------------------------------------------
   Modal styling (for popup with content)
   --------------------------------------------- */
.varify-exitIntent {
  background-color: #000 !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.6);
  width: 540px !important;
  max-width: 90% !important;
  max-height: 90% !important;
  overflow: visible !important;
  position: relative !important;
  padding: 0 !important;
  z-index: 2147483647 !important;
}

/* ---------------------------------------------
   Content Area
   --------------------------------------------- */
.varify-exitIntent-content {
  padding: 30px !important;
  text-align: left !important;
}

/* ---------------------------------------------
   Hide default unused header block
   --------------------------------------------- */
.varify-exitIntent-header {
  display: none !important;
}

/* ---------------------------------------------
   Close button (always visible above content)
   --------------------------------------------- */
.varify-exitIntent-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000 !important;
  z-index: 2147483648 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.varify-exitIntent-close-icon {
  width: 14px !important;
  height: 14px !important;
  color: #000 !important;
}

/* ---------------------------------------------
   Typography for content popup
   --------------------------------------------- */
.bf-exit-intent-headline {
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
  color: #fff !important;
}

.bf-exit-intent-subheadline {
  font-size: 18px !important;
  margin: 0 0 15px !important;
  color: #fff !important;
}

/* ---------------------------------------------
   Bullet list
   --------------------------------------------- */
.bf-exit-intent-bullets {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
}

.bf-exit-intent-bullets li {
  margin-bottom: 6px !important;
  padding-left: 20px !important;
  position: relative !important;
  color: #fff !important;
}

.bf-exit-intent-bullets li::before {
  content: "-" !important;
  color: #d32c2c !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}

/* ---------------------------------------------
   CTA button
   --------------------------------------------- */
.bf-exit-intent-cta {
  display: inline-block !important;
  background-color: #d32c2c !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.bf-exit-intent-cta:hover {
  background-color: #b71c1c !important;
}

/* ---------------------------------------------
   Responsive tweaks for very small viewports
   --------------------------------------------- */
@media only screen and (max-height: 700px) {
  .varify-exitIntent {
    max-height: 75% !important;
  }
}

@media only screen and (max-width: 380px) {
  .varify-exitIntent-content {
    padding: 20px !important;
  }

  .bf-exit-intent-headline {
    font-size: 19px !important;
  }

  .bf-exit-intent-subheadline {
    font-size: 16px !important;
  }
}

Publícalo antes del pico de tráfico

Elige el elemento, define la audiencia y las fechas, y revisa la variante con el enlace de vista previa y el modo QA antes del pico de tráfico.

Ten tu banner de Black Friday listo antes del pico de tráfico.

Describe el banner a PBX o activa un elemento de Campaign Booster en el Visual Editor, revísalo con el modo QA y publícalo.

Preguntas frecuentes sobre los tests de banner de Black Friday

¿Puedo añadir un banner de Black Friday sin cambiar el código de mi tema?

Sí. Con el Visual Editor y los elementos de Campaign Booster, el banner es una variante de tu página, por lo que los archivos de tu tema permanecen intactos. El script de Varify tiene que estar ejecutándose en tu tienda. Una vez que lo esté, añades el elemento en el editor, pegas el JavaScript y CSS del elemento que elegiste, y cambias los textos y enlaces ahí.

¿Qué banner de Black Friday funciona mejor?

Ningún formato gana en todos los casos, y no tenemos una cifra medida que citar. Hipótesis: una barra en la parte superior o inferior que indique la oferta en una línea es un buen punto de partida, porque es visible en todas las páginas y no cubre el contenido. Pruébala frente a una notificación, un pop-up con temporizador y una capa de exit-intent, un cambio a la vez.

¿Cómo muestro un banner solo a los visitantes que llegan desde mi email de Black Friday?

Segmenta por consulta de URL. Añade un parámetro UTM a los enlaces de tu email, por ejemplo utm_campaign=black-friday, y configura la segmentación de audiencia para ese parámetro. Los visitantes que lleguen sin él no verán el banner. La documentación sobre segmentación de audiencia muestra la configuración.

¿Puede un banner empezar y detenerse automáticamente?

Sí, con Schedule Experiments. Defines una fecha de inicio y una de fin, así que el banner aparece cuando empieza tu campaña y desaparece cuando termina. Consulta la programación de experimentos en la documentación. Comprueba la ejecución programada con el enlace de vista previa antes de que comience la campaña.

¿Un banner de testing ralentiza mi tienda?

Un banner añade algo de JavaScript y CSS a la página, así que tiene un coste, y no tenemos una cifra medida que citar para ello. Hipótesis: una barra o una notificación es ligera, mientras que un pop-up con imagen añade una solicitud de imagen adicional. Mantén las imágenes pequeñas y compara el tiempo de carga de tu página con y sin la variante, usando el enlace de vista previa, antes de lanzarla.