{"id":78798,"date":"2021-05-27T15:41:58","date_gmt":"2021-05-27T13:41:58","guid":{"rendered":"http:\/\/visitanddo_1790.test\/?p=78798"},"modified":"2026-10-02T01:42:56","modified_gmt":"2026-10-01T23:42:56","slug":"page-de-remerciement","status":"publish","type":"page","link":"https:\/\/www.visitanddo.com\/fr\/page-de-remerciement\/","title":{"rendered":"page de remerciement"},"content":{"rendered":"<div class=\"product\"><div class=\"product\">\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"78798\" class=\"elementor elementor-78798 elementor-87\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-top-section elementor-element elementor-element-cba6d2e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cba6d2e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-40554b9\" data-id=\"40554b9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fcfdc66 elementor-widget elementor-widget-heading\" data-id=\"fcfdc66\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Merci de votre attention !<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ed099af elementor-widget elementor-widget-heading\" data-id=\"ed099af\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Voici les d\u00e9tails de votre commande :<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a66cda1 elementor-widget elementor-widget-shortcode\" data-id=\"a66cda1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">[confirmation_order_details]<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6e84356 elementor-align-center elementor-widget elementor-widget-button\" data-id=\"6e84356\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/www.visitanddo.com\/fr\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Cliquez ici<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-466fca1 elementor-widget elementor-widget-html\" data-id=\"466fca1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t    <!-- TuriTop Event snippet for Purchase URL conversion page -->\r\n    <script>\r\n\r\n    function turitop_booking_system_thank_page() {}\r\n\r\n    turitop_booking_system_thank_page.prototype.init = function(){\r\n\r\n        \/* ############################################\r\n        ####      Parameter from google ads     ####\r\n        ############################################ *\/\r\n\r\n        this.send_to = []; this.send_to.push( 'AW-11002656310' );        \/* ############################################ *\/\r\n\r\n        \/* ############################################ *\/\r\n\r\n        \/* ############################################\r\n        ####      Parameter from google analytics 4    ####\r\n        ############################################ *\/ this.ga4 = 'G-64NDTC3ESN';    \/* ############################################ *\/\r\n\r\n\r\n        this.current_url = window.location.search;\r\n        this.current_url_params = new URLSearchParams( this.current_url );\r\n\r\n        \/* ############################################\r\n            ####      Parameter from facebook ads     ####\r\n            ############################################ *\/ this.fbpixel = '2775274226114153';    if (typeof this.fbpixel === 'undefined' || typeof this.fbpixel === null || 0 === this.fbpixel.length){\r\n            this.fbpixel = this.current_url_params.get( 'fbpixel' );\r\n        }\r\n\r\n    this.sPageURL = decodeURIComponent( window.location.search.substring( 1 ) );\r\n    this.currency = this.current_url_params.get( 'currency' );\r\n    this.base_url = this.current_url_params.get( 'd' );\r\n    this.lang = this.current_url_params.get( 'lang' );\r\n    this.csid = this.current_url_params.get( 'csid' );\r\n    this.company_name = this.current_url_params.get( 'company_name' );\r\n    this.product_short_id = this.current_url_params.get( 'product_short_id' );\r\n    this.product_name = this.current_url_params.get( 'product_name' );\r\n    this.shopping_cart_id = this.current_url_params.get( 'shopping_cart_id' );\r\n    this.multiclient_hash = this.current_url_params.get( 'multiclient_hash' );\r\n    this.totals = 0;\r\n    this.transaction_id = '';\r\n\r\n    this.tickets = [];\r\n\r\n    this.events();\r\n\r\n};\r\n\r\nturitop_booking_system_thank_page.prototype.events = function(){\r\n\r\n    this.get_totals();\r\n\r\n    this.get_transaction_id();\r\n\r\n    if ( this.send_to || 0 != this.send_to || typeof this.send_to != 'undefined' ){\r\n        this.send_purchase_event_to_google_ads();\r\n    }\r\n\r\n    if ( this.fbpixel || 0 != this.fbpixel || typeof this.fbpixel != 'undefined' ){\r\n        this.send_purchase_event_to_facebook_ads();\r\n    }\r\n\r\n    if ( this.ga4 || 0 != this.ga4.length || typeof this.ga4 != 'undefined' ){\r\n        this.send_purchase_event_to_google_analytics_4();\r\n    }\r\n\r\n};\r\n\r\n\r\nturitop_booking_system_thank_page.prototype.getUrlParameter = function( sParam ){\r\n\r\n    var array =[]\r\n    var sURLVariables = this.sPageURL.split('&');\r\n    for ( var i = 0; i < sURLVariables.length; i++ ) {\r\n        var sParameterName = sURLVariables[ i ].split( '=' );\r\n        if ( sParameterName[ 0 ] == sParam ) {\r\n            array.push( sParameterName[ 1 ] );\r\n        }\r\n    }\r\n    return array;\r\n\r\n};\r\n\r\nturitop_booking_system_thank_page.prototype.get_totals = function(){\r\n\r\n    var total = this.getUrlParameter( 'total[]' );\r\n    if ( ! total || 0 === total.length || typeof total == 'undefined' ){\r\n\r\n    this.total = this.current_url_params.get( 'total' );\r\n\r\n    }\r\n    else{\r\n\r\n        var out = parseFloat( 0 );\r\n        for ( var i in total ) {\r\n                out = out + parseFloat( total[i] );\r\n            }\r\n        this.total = out;\r\n    }\r\n\r\n};\r\n\r\nturitop_booking_system_thank_page.prototype.get_transaction_id = function(){\r\n\r\n    var booking_id = this.getUrlParameter( 'booking_id[]' );\r\n    if ( ! booking_id || 0 === booking_id.length || typeof booking_id == 'undefined' ){\r\n\r\n      this.transaction_id = this.current_url_params.get( 'booking_id' );\r\n\r\n      var ticket = {\r\n        booking_id: this.transaction_id,\r\n        url: this.base_url + this.current_url_params.get( 'link' ),\r\n        price: this.total\r\n      }\r\n      this.tickets.push( ticket );\r\n\r\n    }\r\n    else{\r\n\r\n        var link = this.getUrlParameter( 'link[]' );\r\n        var price = this.getUrlParameter( 'price[]' );\r\n        var out = '';\r\n        var cart_id = '';\r\n        var multiclient = '';\r\n        if ( typeof this.shopping_cart_id != 'undefined' || this.shopping_cart_id ){\r\n            cart_id = this.shopping_cart_id;\r\n        } else if ( typeof this.multiclient_hash != 'undefined' || this.multiclient_hash ){\r\n            multiclient = this.multiclient_hash;\r\n        }\r\n\r\n        for ( var i in booking_id ) {\r\n\r\n            var ticket = {\r\n                booking_id: booking_id[ i ],\r\n                url: this.base_url + link[ i ],\r\n                price: price[ i ],\r\n                cart_id: cart_id,\r\n                multiclient: multiclient\r\n            }\r\n            this.tickets.push( ticket );\r\n\r\n            out += \"-Booking-\" + booking_id[ i ];\r\n            this.buttons = [];\r\n        }\r\n        this.transaction_id = out;\r\n\r\n    }\r\n\r\n};\r\n\r\nturitop_booking_system_thank_page.prototype.send_purchase_event_to_google_ads = function(){\r\n\r\n    if (typeof gtag === 'function') {\r\n        for ( var i in this.send_to ) {\r\n\r\n            gtag('event', 'conversion', {\r\n                'send_to': this.send_to[ i ],\r\n                'value': this.total,\r\n                'currency': this.currency,\r\n                'transaction_id': this.transaction_id\r\n            });\r\n\r\n        }\r\n    }\r\n};\r\n\r\nturitop_booking_system_thank_page.prototype.send_purchase_event_to_facebook_ads = function(){\r\n\r\n    if (typeof fbq === 'function') {\r\n\r\n        if ( typeof this.fbpixel != 'undefined' || this.fbpixel ){\r\n            fbq( 'track', 'Purchase', {\r\n                'value': this.total,\r\n                'currency': this.currency\r\n              });\r\n        }\r\n    }\r\n};\r\n\r\nturitop_booking_system_thank_page.prototype.send_purchase_event_to_google_analytics_4 = function(){\r\n\r\n    if (typeof gtag === 'function') {\r\n\r\n        if ( 0 != this.ga4.length ){\r\n            var tid = '';\r\n\r\n            for ( var i in this.tickets ) {\r\n                if ( typeof this.tickets[i].cart_id != 'undefined' || this.tickets[i].cart_id ){\r\n                    tid = this.tickets[i].cart_id;\r\n                } else if ( typeof this.tickets[i].multiclient != 'undefined' || this.tickets[i].multiclient ){\r\n                    tid = this.tickets[i].multiclient;\r\n                } else {\r\n                    tid = this.tickets[i].booking_id;\r\n                }\r\n                gtag('event', 'purchase', {\r\n                    'transaction_id': tid, \/\/IF shopping cart, shopping cart id, IF multiclient, multiclient hash, ELSE, booking number\r\n                    'currency': this.currency, \/\/ local currency code\r\n                    'value': this.total, \/\/Valor total\r\n                    'items': [\r\n                        { \/\/one item per product bought\r\n                        'item_id': this.product_short_id, \/\/Short_id product\r\n                        'item_name': this.product_name, \/\/Nombre del producto en idioma original\r\n                        'item_brand': this.csid + '-' + this.company_name, \/\/company short ID + nombre empresa. En caso de reventa, usar datos del proveedor\r\n                        'item_category': this.lang, \/\/Language\r\n                        'price': this.tickets[i].price, \/\/Valor pagado por producto comprado, ejemplo 9.99\r\n                        'currency': this.currency, \/\/ local currency code product\r\n                        'quantity': 1 \/\/Aqu\u00ed siempre se pone 1, aunque se hayan comprado varios tipos de tickets\r\n                        }\r\n                    ]\r\n                });\r\n            }\r\n        }\r\n    }\r\n};\r\n\r\nturitop_booking_system_thank_page.prototype.fill_tickets = function(){\r\n\r\n    for ( var i in this.tickets ) {\r\n\r\n    var html = '<div class=\"turitop_thank_you_page_ticket\">';\r\n\r\n        html = html + '<div class=\"turitop_thank_you_page_ticket_booking_id\">';\r\n            html = html + this.tickets[i].booking_id;\r\n        html = html + '<\/div>';\r\n\r\n        html = html + '<div class=\"turitop_thank_you_page_ticket_url\">';\r\n            html = html + '<a href=\"' + this.tickets[i].url + '\" target=\"_blank\"> <button>T\u00e9l\u00e9charger \/ Imprimer<\/button> <\/a>';       html = html + '<\/div>';\r\n\r\n   html = html + '<\/div>';\r\n\r\n   document.getElementById( \"turitop_thank_you_page_tickets\" ).insertAdjacentHTML( \"afterbegin\", html );\r\n\r\n   }\r\n\r\n   if ( this.tickets.length > 1 )\r\n       var tickets_title =\"Vos num\u00e9ros de r\u00e9f\u00e9rence :\";else\r\nvar tickets_title =\"Votre num\u00e9ro de r\u00e9f\u00e9rence :\";      document.getElementById( \"turitop_thank_you_page_tickets\" ).insertAdjacentHTML( \"afterbegin\", '<div class=\"turitop_thank_you_page_tickets_title\">' + tickets_title + '<\/div>' );\r\n  };    var turitop_booking_system_thank_page_instance = new turitop_booking_system_thank_page();\r\n    turitop_booking_system_thank_page_instance.init();\r\n\r\n    <\/script>\r\n\r\n    <style>\r\n\r\n    .turitop_thank_you_page_wrap{\r\n        display: block;\r\n        width: 100%;\r\n        text-align: center;\r\n    }\r\n\r\n    .turitop_thank_you_page_wrap .turitop_thank_you_page_red_dark{\r\n        color: #900;\r\n    }\r\n\r\n    .turitop_thank_you_page_tickets{\r\n        margin: 20px 0;\r\n    }\r\n\r\n    .turitop_thank_you_page_tickets_title{\r\n        font-size: bold;\r\n        margin-bottom: 8px;\r\n    }\r\n\r\n    .turitop_thank_you_page_wrap .turitop_thank_you_page_ticket{\r\n        display: inline-flex;\r\n        justify-content: center;\r\n        align-items: center;\r\n        margin-bottom: 5px;\r\n        flex-wrap: wrap;\r\n    }\r\n\r\n    .turitop_thank_you_page_wrap .turitop_thank_you_page_ticket_booking_id{\r\n        display: inline-block;\r\n        background: #f2f2f2;\r\n        border: 1px solid #b3b3b3;\r\n        border-radius: 2px;\r\n        font-size: 34px;\r\n        font-weight: 700;\r\n        padding: 10px 15px;\r\n        margin: 5px;\r\n    }\r\n\r\n    .turitop_thank_you_page_wrap .turitop_thank_you_page_ticket_url{\r\n        margin: 5px;\r\n    }\r\n\r\n    <\/style>\r\n\r\n    <div class=\"turitop_thank_you_page_wrap\">\r\n\r\n        <div class=\"turitop_thank_you_page_title\">Merci de votre attention !    <\/div>\r\n\r\n    <div id=\"turitop_thank_you_page_tickets\" class=\"turitop_thank_you_page_tickets\">\r\n\r\n\r\n\r\n    <\/div>\r\n\r\n    <div class=\"turitop_thank_you_page_message\">\r\n\r\n        <p>Important : Veuillez v\u00e9rifier votre courrier \u00e9lectronique, y compris votre dossier SPAM, pour obtenir la confirmation et les d\u00e9tails de la r\u00e9servation. Il peut prendre quelques minutes pour arriver.        <\/p>\r\n\r\n        <p class=\"turitop_thank_you_page_red_dark\">Si vous ne recevez pas d'e-mail de confirmation dans les 30 minutes, veuillez nous contacter, il se peut que la r\u00e9servation ne soit pas confirm\u00e9e.            <\/p>\r\n\r\n        <\/div>\r\n\r\n    <\/div>\r\n\r\n    <script>\r\n\r\n    turitop_booking_system_thank_page_instance.fill_tickets();\r\n\r\n    <\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Merci de votre attention ! Voici les d\u00e9tails de votre commande : Cliquez ici<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_eb_attr":"","hub_intro":"","hub_icono":"","hub_h2_recogida":"","hub_recogida":"","hub_h2_extra":"","hub_extra":"","footnotes":""},"class_list":["post-78798","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.visitanddo.com\/fr\/wp-json\/wp\/v2\/pages\/78798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.visitanddo.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.visitanddo.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.visitanddo.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.visitanddo.com\/fr\/wp-json\/wp\/v2\/comments?post=78798"}],"version-history":[{"count":0,"href":"https:\/\/www.visitanddo.com\/fr\/wp-json\/wp\/v2\/pages\/78798\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.visitanddo.com\/fr\/wp-json\/wp\/v2\/media?parent=78798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}