Tu reserva se ha realizado con éxito, ¡esperamos que la disfrutes!
Your booking has been successfully completed, we hope you enjoy it!
Deine Buchung wurde erfolgreich abgeschlossen, wir hoffen, dass du sie genießt!
Si tienes alguna duda o quieres que te ayudemos, ponte en contacto con nosotros por teléfono o Whatsapp o a través de este formulario.
If you have any questions or need help, please contact us by phone, WhatsApp or through this form.
Wenn du Fragen hast oder Hilfe benötigst, kontaktiere uns bitte per Telefon, WhatsApp oder über dieses Formular.
function turitop_booking_system_thank_page(){}
turitop_booking_system_thank_page.prototype.init=function(){
this.send_to=[];this.send_to.push('AW-732951736');
this.ga4='G-FM9C098T9Q';
this.gtm='GTM-NDZPFDX';
this.current_url=window.location.search;this.current_url_params=new URLSearchParams(this.current_url);
this.fbpixel=' ';if(typeof this.fbpixel==='undefined'||typeof this.fbpixel===null||0===this.fbpixel.length){this.fbpixel=this.current_url_params.get('fbpixel')}
this.sPageURL=decodeURIComponent(window.location.search.substring(1));this.currency=this.current_url_params.get('currency');this.base_url=this.current_url_params.get('d');this.lang=this.current_url_params.get('lang');this.csid=this.current_url_params.get('csid');this.company_name=this.current_url_params.get('company_name');this.product_short_id=this.current_url_params.get('product_short_id');this.product_name=this.current_url_params.get('product_name');this.shopping_cart_id=this.current_url_params.get('shopping_cart_id');this.multiclient_hash=this.current_url_params.get('multiclient_hash');this.client_name=this.current_url_params.get('client_name');this.client_email=this.current_url_params.get('client_email');this.client_names=this.current_url_params.get('client_name[]');this.client_emails=this.current_url_params.get('client_email[]');this.buyer_email=this.current_url_params.get('buyer_email');this.payment_link=this.current_url_params.get('payment_link');this.totals=0;this.transaction_id='';this.redsys_merchant_parameters=this.current_url_params.get('Ds_MerchantParameters');this.name_commerce=' ';this.commerce_url=' ';this.booking_short_id=this.getUrlParameter('booking_id[]');if(typeof this.booking_short_id==='undefined'||this.booking_short_id===null||0===this.booking_short_id.length){this.booking_short_id=this.current_url_params.get('booking_id')} this.product_description=this.current_url_params.get('product_description');
this.tickets=[];
this.events();
};
turitop_booking_system_thank_page.prototype.events=function(){
this.get_totals();
this.get_transaction_id();
if(this.payment_link==null||this.payment_link!=1){
if(this.send_to||0!=this.send_to||typeof this.send_to!='undefined'){this.send_purchase_event_to_google_ads()}
if(this.fbpixel||0!=this.fbpixel||typeof this.fbpixel!='undefined'){this.send_purchase_event_to_facebook_ads()}
if(this.ga4||0!=this.ga4.length||typeof this.ga4!='undefined'&&0==this.gtm.length){this.send_purchase_event_to_google_analytics_4()}
if(this.gtm||0!=this.gtm.length||typeof this.gtm!='undefined'&&0==this.ga4.length){this.send_purchase_event_to_google_tag_manager()}}};
turitop_booking_system_thank_page.prototype.fixUtf8Garbage=function(input){
const bytes=new Uint8Array([...input].map(c=>c.charCodeAt(0)));return new TextDecoder('utf-8').decode(bytes);
};
turitop_booking_system_thank_page.prototype.getUrlParameter=function(sParam){
var array=[]
var sURLVariables=this.sPageURL.split('&');for(var i=0;i html=html+' '; html=html+' '; html=html+'
';
document.getElementById("turitop_thank_you_page_tickets").insertAdjacentHTML("afterbegin",html);
}
if(this.tickets.length>1) var tickets_title="Sus números de referencia:";else var tickets_title="Su número de referencia:";var name='';var email='';
if(this.client_name!=null){var name=this.client_name} if(this.client_names!=null){var name=this.client_names} if(this.client_email!=null){var email=this.client_email} if(this.client_emails!=null){var email=this.client_emails} if(this.booking_short_id!=null){html_booking_data='
';html_booking_data=html_booking_data+'
'} if(name!=''){html_booking_data=html_booking_data+'
'} if(email!=''){html_booking_data=html_booking_data+'
'} if(this.buyer_email!=null){html_booking_data=html_booking_data+'
'} if(this.product_name!=null){html_booking_data=html_booking_data+'
'} if(this.total!=null){html_booking_data=html_booking_data+'
'} var html_redsys_data=null;if(this.redsys_merchant_parameters!=null){const redsys_data=atob(this.redsys_merchant_parameters);const redsys_data_json=JSON.parse(redsys_data);const product_description_decode=atob(this.product_description);html_redsys_data='
';html_redsys_data=html_redsys_data+'
';html_redsys_data=html_redsys_data+'
';html_redsys_data=html_redsys_data+'
';html_redsys_data=html_redsys_data+'
';html_redsys_data=html_redsys_data+'
';html_redsys_data=html_redsys_data+'
';if(this.product_description!=null){const product_description_utf8=this.fixUtf8Garbage(product_description_decode);html_redsys_data=html_redsys_data+'
'}
html_redsys_data=html_redsys_data+'
'}
document.getElementById("turitop_thank_you_page_tickets").insertAdjacentHTML("afterbegin",'
');document.getElementById("turitop_thank_you_page_tickets").insertAdjacentHTML("afterend",html_booking_data);if(html_redsys_data!==null){document.getElementById("turitop_thank_you_page_tickets").insertAdjacentHTML("afterend",html_redsys_data)}};var turitop_booking_system_thank_page_instance=new turitop_booking_system_thank_page();turitop_booking_system_thank_page_instance.init();
turitop_booking_system_thank_page_instance.fill_tickets();