// CÓDIGO PARA RASTREAR WHATSAPP DESDE REDES SOCIALES // Agregar este código al final del código JavaScript que ya tienesfunction modifyWhatsAppLinks() { console.log("=== MODIFICANDO ENLACES WHATSAPP ==="); // Obtener valor de cookie var socialSource = getCookie('social_source'); console.log("Cookie social_source: " + socialSource); // Buscar todos los enlaces de WhatsApp var whatsappLinks = document.querySelectorAll('a[href*="wa.me"], a[href*="whatsapp.com"], a[href*="api.whatsapp.com"]'); console.log("Enlaces WhatsApp encontrados: " + whatsappLinks.length); whatsappLinks.forEach(function(link, index) { console.log("Procesando enlace " + (index + 1) + ": " + link.href); if (socialSource === 'true') { // Usuario viene de redes sociales var originalHref = link.href; // Verificar si ya tiene parámetro text if (originalHref.includes('?text=')) { // Ya tiene texto, agregar al final if (!originalHref.includes('[REDES SOCIALES]')) { link.href = originalHref + '%20[REDES SOCIALES]'; } } else if (originalHref.includes('?')) { // Tiene otros parámetros, agregar text link.href = originalHref + '&text=Hola!%20Vengo%20de%20redes%20sociales%20[REDES SOCIALES]'; } else { // No tiene parámetros, agregar text link.href = originalHref + '?text=Hola!%20Vengo%20de%20redes%20sociales%20[REDES SOCIALES]'; } console.log("✅ Enlace modificado: " + link.href); // Agregar clase CSS para identificar visualmente (opcional) link.classList.add('whatsapp-from-social'); } else { // Usuario NO viene de redes sociales console.log("❌ Usuario normal, enlace sin modificar"); } }); }// Ejecutar la modificación de WhatsApp document.addEventListener('DOMContentLoaded', function() { // Esperar un poco para que cargue todo setTimeout(function() { modifyWhatsAppLinks(); }, 1000); // Ejecutar varias veces para asegurar que funciona setTimeout(function() { modifyWhatsAppLinks(); }, 3000); });// También ejecutar cuando cambie el DOM var whatsappObserver = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.type === 'childList') { setTimeout(function() { modifyWhatsAppLinks(); }, 500); } }); });whatsappObserver.observe(document.body, { childList: true, subtree: true });// Ejecutar cuando se haga clic en cualquier enlace WhatsApp document.addEventListener('click', function(e) { if (e.target.tagName === 'A' && (e.target.href.includes('wa.me') || e.target.href.includes('whatsapp.com'))) { // Último intento de modificación justo antes del clic setTimeout(function() { modifyWhatsAppLinks(); }, 100); } });

Villa Can Vidal Ibiza

Villa Can Vidal: A Serene Haven with Breathtaking Mountain Views

King Luxury Services proudly presents Villa Can Vidal, where tranquility meets luxury amidst the stunning landscapes of Ibiza. This lavish retreat boasts an array of key features including an outdoor swimming pool, Jacuzzi, fitness room, and barbecue area, ensuring an unforgettable stay for up to 10 guests. Enjoy panoramic mountain views from the comfort of the spacious living room, equipped with air conditioning, cozy sofas, TV, and a terrace with a sound system. Indulge in culinary delights in the elegant dining room, featuring air conditioning and a table for 12 guests

Our Primary Villas Amenities and Services

Premium Bed Quality

Premium Bed Quality

Full Kitchen Facility

Full Kitchen Facility

Exclusive Private Pool

Exclusive Private Pool

Shower and Bathtub

Shower and Bathtub

Wifi and Smart TV

Wifi and Smart TV

Nespresso

Nespresso

Exclusive Living Space

Exclusive Living Space

Outside Kitchen

Outside Kitchen

Elegant terrace

Elegant terrace

Added Room Surprise

Added Room Surprise

Full Concierge Services

Tranfers Booking

V.I.P. Tables

Private Security

Private Jet Booking

Yacht Booking

Private Chef

Restaurant Booking

Car Booking

Indulgent Massage

Private Performance

Save 20% on bookings for 15 nights or more

Enjoy a 20% discount when renting for more than 15 nights with King Luxury Services! Conditions apply! Book now and experience luxury to the fullest.

All Equipments

Living Room
Dining Room
Kitchen
Bedroom
Master BathRoom
Bedroom 2
BathRoom 2
BedRoom 3
BathRoom 3
BedRoom 4
BathRoom 4
Bedroom 5
Bathroom 5
Outside

All Equipments

Living Room
Kitchen
Master Bedroom
Master BathRoom
Bedroom 2
BathRoom 2
BedRoom 3
BathRoom 3
BedRoom 4
BathRoom 4
TV Room
Office room
Gim Room
Laundry Room
Outside