{
  "dataLayerRules": [
    {
      "ruleName": "email",
      "ruleCondition": "href",
      "matchingText": "mailto",
      "dataLayerType": "event",
      "eventName": "email",
      "category": "email",
      "action": "click",
      "labelPrefix": "email-",
      "label": "{{title}}",
      "findIn": "text",
      "ruleType": "email"
    },
    {
      "ruleName": "booking_entrance_main_widget",
      "ruleCondition": "innertext",
      "matchingText": "Reserve a Table|Reservations|Reserve Now|Book a Room|Zarezerwuj|Κάντε Κράτηση|Rezervirajte sobo|Zarezervujte si izbu|Zarezerwuj swój pobyt|დაჯავშნეთ ოთახი|Κάντε κράτηση για τη διαμονή σας|Брондау|Rezervirajte smještaj|Prenota ora|Reservi una habitació|Rezervisati sobu|Rezervácia|Zarezervujte si izbu|לביצוע הזמנה|Boek uw kamer|Rezervasyon Yapın|【ご予約】| ご予約・お問合せ| Newsletter| Effectuer une réservation| Reservieren| réserver| Reserve agora| Забронировать| Reserve agora|Rezervujte si pobyt|Zamluvit Pokoj|Book Værelse|Book ophold|Book Now|Book|Reservar ahora|Réserver|Buscar|Reservar|Book online|View Rates|Check Rates|CHECK AVAILABILITY|Reservations|DISPONIBILIDAD|VERIFIQUE A DISPONIBILIDADE|Reserve Now |Make a Reservation|Book Now!|-Book Now-",
      "dataLayerType": "event",
      "eventName": "booking main",
      "category": "booking entrances",
      "action": "click",
      "labelPrefix": "",
      "label": "booking widget",
      "mainreservation": "true",
      "ruleType": "reservation",
      "findIn": "text",
      "rules": [

      ]
    },
    {
      "ruleName": "ota_clicked",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "booking buttons",
      "category": "booking entrances",
      "action": "click",
      "label": "ota booking"
    },
    {
      "ruleName": "revenue_recovery",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "",
      "action": "click",
      "label": "",
      "mainreservation": "false",
      "ruleType": "faq",
      "findIn": "id",
      "rules": [
        {
          "text": "Book Now",
          "id": "divsiteabandonment",
          "label": "{{elementText}}",
          "labelPrefix": "revenue recovery-",
          "category": "booking entrances",
          "eventName": "booking buttons"

        },
        {
          "text": "Request a Quote",
          "id": "divsiteabandonment",
          "label": "{{elementText}}",
          "labelPrefix": "revenue recovery-",
          "category": "request a quote",
          "eventName": "events"
        },
        {
          "text": "Reserva ahora",
          "id": "divsiteabandonment",
          "label": "{{elementText}}",
          "labelPrefix": "revenue recovery-",
          "category": "booking entrances",
          "eventName": "booking buttons"
        }
      ]
    },
    {
      "ruleName": "discountCoupon_popup_bookNow_button",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "booking buttons",
      "category": "booking entrances",
      "action": "click",
      "labelPrefix": "",
      "label": "discount coupon booking"
    },
    {
      "ruleName": "discountCoupon_page_bookNow_button",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "booking buttons",
      "category": "booking entrances",
      "action": "click",
      "labelPrefix": "",
      "label": "discount coupon booking"
    },
    {
      "ruleName": "golf_booking_entrance",
      "ruleCondition": "innertext",
      "matchingText": "Book Package Online|Book Now|Reserve|Book this Special|Book this Deal|Search|Reservar|Réserver maintenant|Book it|Book online|Check Rates|Continue|Check Rates|Check Availability|I Want This|DISPONIBILIDAD|VERIFIQUE A DISPONIBILIDADE|RESERVE JÁ|Book ADA Compliant",
      "dataLayerType": "event",
      "eventName": "booking buttons",
      "category": "golf booking engine",
      "action": "click",
      "labelPrefix": "",
      "label": "{{title}}",
      "mainreservation": "true",
      "ruleType": "reservation",
      "findIn": "url",
      "rules": [

      ]
    },
    {
      "ruleName": "booking_entrance",
      "ruleCondition": "innertext",
      "matchingText": "Book and pay by Wednesday and get 20% off Brunch!|Reserve Now|Book Your Table|Book Now|Zarezerwuj|Zarezerwuj stolik|Kontakt|Zaplanuj event|Reservi ara|Sol·licitud|ΚΡΑΤΗΣΕΙΣ|Επικοινωνήστε|Rezervisite Odmah|Planirajte svoj Događaj|Rezervisite Odmah|Rezervirajte|Organizirajte|Κάντε Κράτηση|Επικοινωνήστε μαζί μας|Reserveu|Reserveer Nu|Bezoek Restaurant|Rezervácia|Poslať žiadosť o ponuku|Zaplanuj event|Rezewuj teraz|დაჯავშნეთ ახლა|დაგეგმეთ ახლა|აიხდინეთ ოცნება| დაჯავშნეთ ახლა|Zaplanuj z nami|Κάντε Κράτηση|Επικοινωνήστε μαζί μας|Boka nu|Толғырақ|Rezervirajte|Pošalji upit|Rezervasyon|Bilgi için bizimle irtibata geçin|Reserveer Nu|Nu online reserveren|Prenota il tuo tavolo|Send Us An Email|Planifica|Reservi ara|Deluks soba|Rezervišite|Boek nu|Rezervácia|Rezervovať|הזמן עכשיו|Boek uw suite|Boek uw kamer|Boek uw meeting|Plan uw event|Plan uw meeting|Rezervasyon|Etkinliğinizi Planlayın|ご予約はこちら|Anfrage schicken|Kontaktiere uns| Effectuer une réservation|Jetzt reservieren!|Livro agora|Rezervovat|Rezervovat stůl|Rezervujte|Kontakt|Order here|Make a reservation| Se mere og book her|Book bord|Kontakt os|Book allerede nu|Se alle værelser og book|Kontakt og bordreservation|Se priser|Book Package Online|Book Now|Reserve|Book this Special|Book this Deal|Search|Reservar|Réserver maintenant|Book it|Book online|Check Rates|Continue|Check Rates|Check Availability|I Want This|DISPONIBILIDAD|VERIFIQUE A DISPONIBILIDADE|RESERVE JÁ|Book ADA Compliant|RESERVATIONS|Book this room|Book this offer|Book Stay|Click here for rates and availability|Book My Stay|Book This Special|Book this package",
      "dataLayerType": "event",
      "eventName": "booking buttons",
      "category": "booking entrances",
      "action": "click",
      "labelPrefix": "",
      "label": "{{elementText}}-{{title}}",
      "findIn": "text",
      "ruleType": "reservation",
      "rules": []
    },
    {
      "ruleName": "popup",
      "ruleCondition": "innertext",
      "matchingText": "Book Now|Book|Reservar ahora|Réserver|Buscar|Reservar|",
      "dataLayerType": "event",
      "eventName": "booking buttons",
      "category": "booking entrances",
      "action": "click",
      "labelPrefix": "special banner-",
      "label": "{{title}}"
    },
    {
      "ruleName": "phone_call",
      "ruleCondition": "href",
      "matchingText": "tel:",
      "dataLayerType": "event",
      "eventName": "calls",
      "category": "phone call",
      "action": "click",
      "label": "{{title}}",
      "mainreservation": "false",
      "ruleType": "phone",
      "labelPrefix": "call-",
      "findIn": "text"
    },
    {
      "ruleName": "reviewform",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "review",
      "category": "review",
      "action": "form submission",
      "label": "write review",
      "mainreservation": "false",
      "ruleType": "newslatter",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "contact_us_form",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "contact",
      "category": "contact",
      "action": "form submission",
      "label": "{{rfpformName}}",
      "mainreservation": "false",
      "ruleType": "contact us form",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "newsletter_signup",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "email",
      "category": "email",
      "action": "form submission",
      "label": "{{rfpformName}}",
      "mainreservation": "false",
      "ruleType": "newslatter",
      "labelPrefix": "email-",
      "findIn": "text"
    },
    {
      "ruleName": "pdf",
      "ruleCondition": "href",
      "matchingText": ".pdf",
      "dataLayerType": "event",
      "eventName": "pdf",
      "category": "pdf",
      "action": "download",
      "mainreservation": "false",
      "label": "{{elementText}}-{{title}}",
      "findIn": "url",
      "rules": [
        {
          "text": "meeting",
          "labelPrefix": "meeting-"
        },
        {
          "text": "spa/",
          "labelPrefix": "spa-"
        },
        {
          "text": "dining",
          "labelPrefix": "dining-"
        },
        {
          "text": "wedding",
          "labelPrefix": "wedding-"
        },
        {
          "text": "golf",
          "labelPrefix": "golf-"
        }
      ]
    },
    {
      "ruleName": "rfp",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "rfp",
      "category": "rfp",
      "action": "form submission",
      "mainreservation": "false",
      "label": "{{rfpformName}}",
      "findIn": "url",
      "rules": [
        {
          "text": "meeting",
          "labelPrefix": "meeting-"
        },
        {
          "text": "spa",
          "labelPrefix": "spa-"
        },
        {
          "text": "dining",
          "labelPrefix": "dining-"
        },
        {
          "text": "wedding",
          "labelPrefix": "wedding-"
        },
        {
          "text": "golf",
          "labelPrefix": "golf-"
        }
      ]
    },

    {
      "ruleName": "social_icons",
      "ruleCondition": "href",
      "matchingText": "facebook|linkedin|instagram|pinterest|twitter|tumblr|youtube|foursquare|tripadvisor",
      "dataLayerType": "event",
      "eventName": "social",
      "category": "social icons",
      "action": "click",
      "label": "",
      "mainreservation": "false",
      "ruleType": "socialicons",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "whatsapp",
      "ruleCondition": "href",
      "matchingText": "whatsapp",
      "dataLayerType": "event",
      "eventName": "whatsapp",
      "category": "whatsapp",
      "action": "click",
      "label": "whatsapp chat",
      "mainreservation": "false",
      "ruleType": "socialicons",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "gift_card",
      "ruleCondition": "innertext",
      "matchingText": "Gift Cards|gift card",
      "dataLayerType": "event",
      "eventName": "gift card",
      "category": "gift card",
      "action": "click",
      "label": "gift card",
      "mainreservation": "false",
      "ruleType": "phone",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "virtual_tour",
      "ruleCondition": "innertext",
      "matchingText": "tour|b360|360 tour|virtual tour|VER VIDEO 360˚|SEE VIDEO 360˚",
      "dataLayerType": "event",
      "eventName": "tour",
      "category": "tour",
      "action": "click",
      "label": "{{elementText}}-{{title}}",
      "mainreservation": "false",
      "ruleType": "tour",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "live_cam_click",
      "ruleCondition": "innertext",
      "matchingText": "cam|webcam|VER CÁMARA",
      "dataLayerType": "event",
      "eventName": "livecam",
      "category": "live cam",
      "action": "click",
      "label": "live cam",
      "mainreservation": "false",
      "ruleType": "tour",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "open_table",
      "ruleCondition": "innertext",
      "matchingText": "opentable",
      "dataLayerType": "event",
      "eventName": "opentable",
      "category": "opentable",
      "action": "click",
      "label": "{{title}}",
      "mainreservation": "false",
      "ruleType": "open table",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "addToMyCalendar",
      "ruleCondition": "innertext",
      "matchingText": "Add to my calendar|ADD TO MY CALENDAR| Añadir a mi calendario|",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "add to calendar",
      "action": "click",
      "label": "{{title}}",
      "mainreservation": "false",
      "ruleType": "addToMyCalendar",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "openkey_software",
      "ruleCondition": "innertext",
      "matchingText": "openkey",
      "dataLayerType": "event",
      "eventName": "openkey",
      "category": "openkey",
      "action": "click",
      "label": "openkey",
      "mainreservation": "false",
      "ruleType": "openkey",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "chat_link_click",
      "ruleCondition": "innertext",
      "matchingText": "chat",
      "dataLayerType": "event",
      "eventName": "chat",
      "category": "chat",
      "action": "click",
      "label": "live chat",
      "mainreservation": "false",
      "ruleType": "openkey",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "photos",
      "ruleCondition": "innertext",
      "matchingText": "photos|view photos|Photo Gallery|Gallery",
      "dataLayerType": "event",
      "eventName": "photos",
      "category": "photos",
      "action": "click",
      "label": "{{title}}",
      "mainreservation": "false",
      "ruleType": "photos",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "read_review",
      "ruleCondition": "innertext",
      "matchingText": "Reviews",
      "dataLayerType": "event",
      "eventName": "review",
      "category": "review",
      "action": "click",
      "label": "read review",
      "mainreservation": "false",
      "ruleType": "read review",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "outbound_map",
      "ruleCondition": "innertext",
      "matchingText": "maps|Get Directions|View 360 Tour|Como llegar| Obtener las Direcciones|View Larger Map|Obtener las direcciones",
      "dataLayerType": "event",
      "eventName": "outbound",
      "category": "outbound",
      "action": "click",
      "label": "{{title}}",
      "mainreservation": "false",
      "ruleType": "map",
      "labelPrefix": "map-",
      "findIn": "text"
    },
    {
      "ruleName": "outbound_link",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "outbound",
      "category": "outbound",
      "action": "click",
      "label": "{{title}}-{{clickURL}}",
      "mainreservation": "false",
      "ruleType": "outboundlink",
      "labelPrefix": "",
      "findIn": "text"
    },
    {
      "ruleName": "allowed_donotallowed_button_click",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "push notification alert",
      "action": "click",
      "label": "",
      "mainreservation": "false",
      "ruleType": "donotallowed_button_click",
      "labelPrefix": "",
      "findIn": "className",
      "rules": [
        {
          "text": "allow",
          "className": "allowbtn",
          "label": "allowed"

        },
        {
          "text": "Don't Allow",
          "className": "donotallowbtn",
          "label": "disallowed"
        }
      ]
    },
    {
      "ruleName": "faq",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "faq answers viewed",
      "action": "click",
      "label": "{{elementText}}",
      "mainreservation": "false",
      "ruleType": "faq"
    },
    {
      "ruleName": "booking_reminder",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "email",
      "category": "email",
      "action": "form submission",
      "labelPrefix": "",
      "label": "email reminder"
    },
    {
      "ruleName": "ota_viewed",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "ota view",
      "action": "click",
      "label": "check rates"
    },
    {
      "ruleName": "discountCoupon_popup_save_button",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "save offer",
      "action": "click",
      "labelPrefix": "save offer-",
      "label": "discount coupon"
    },
    {
      "ruleName": "discountCoupon_popup_print_button",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "print offer",
      "action": "click",
      "labelPrefix": "print offer-",
      "label": "discount coupon"
    },
    {
      "ruleName": "discountCoupon_page_save_button",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "save offer",
      "action": "click",
      "labelPrefix": "save offer-",
      "label": "discount coupon"
    },
    {
      "ruleName": "discountCoupon_page_print_button",
      "ruleCondition": "innertext",
      "matchingText": "",
      "dataLayerType": "event",
      "eventName": "events",
      "category": "print offer",
      "action": "click",
      "labelPrefix": "print offer-",
      "label": "discount coupon"
    }
  ]
}