Un botón de WhatsApp en tus Espacios Cliente facilita la comunicación con tus clientes y puede ayudarte a aumentar la conversión cuando envías un presupuesto.
Es muy fácil añadir este botón directamente desde Ezus.
Solo tienes que ir a la configuración avanzada de tu Espacio Cliente y copiar y pegar el script disponible al final de este artículo:
⚠️ Debes seleccionar Importar un script y no una URL.
Este es el script que debes insertar. Recuerda sustituir 1234567890 por tu número de WhatsApp.
Introduce tu número completo con el prefijo internacional, pero sin el símbolo +.
<script>
// Function to open WhatsApp window
function openWhatsApp() {
// Replace 'whatsappphonenumber' with the actual WhatsApp phone number
var phoneNumber = '1234567890'; // Replace with your WhatsApp phone number
var url = 'https://wa.me/' + phoneNumber;
window.open(url, '_blank');
}
// Creating a button element
var button = document.createElement('button');
// Apply WhatsApp logo as background image
button.style.backgroundImage = "url('https://images.icon-icons.com/2592/PNG/512/whatsapp_logo_icon_154480.png')"; // Replace 'whatsapp_logo.png' with your image path
// Set button size
button.style.width = '50px';
button.style.height = '50px';
// Set button position
button.style.position = 'fixed';
button.style.bottom = '50px'; // Adjust as needed
button.style.right = '20px'; // Adjust as needed
// Remove default button border
button.style.border = 'none';
// Set cursor to pointer
button.style.cursor = 'pointer';
// Set onclick event to open WhatsApp
button.onclick = openWhatsApp;
button.style.backgroundSize = 'cover';
button.style.backgroundColor = 'transparent';
// Appending the button to the body of the document
document.body.appendChild(button);
</script>
¡Ya has añadido tu botón de WhatsApp!


