PageSourceSearch

https://www.upperhouse.com/files/the-upper-house/js/tracking.min.js

js upperhouse.com collected 2026-09-25 20:18:32 UTC 2,277 bytes, 1 lines download raw bytes

1function trackingLangPicker(){$(".mobile-lang__nav a, .lang-list a").click((function(e){e.preventDefault();let t=$(this).attr("href"),a=$(this).attr("data-lang");dataLayer.push({language:a,event:"languageSelected"}),window.location.href=t}))}function trackingVideoStart(e){e.addEventListener("start",(function(){let t=e.duration(),a=e.currentSrc();dataLayer.push({videoName:a,videoDuration:t,event:"video-start"})}))}function trackingVideoEnd(e){let t=e.duration(),a=e.currentSrc(),n=e.currentTime();dataLayer.push({videoName:a,videoDuration:t,event:"video-complete",videoTime:n,videoProgress:n/t*100})}function trackingBookingUpdate(e){setTimeout((function(){let t=e.tDatePicker("getDateInputs"),a=t[0].split("-");a=a[2]+""+a[0]+a[1];let n=t[1].split("-");n=n[2]+""+n[0]+n[1];let i="";switch($("#dropdown-hotel").attr("data-value")){case"63146":i="The Temple House";break;case"27265":i="The Opposite House";break;case"80593":i="The Middle House";break;case"27299":i="The Upper House";break;default:i="Not defined"}dataLayer.push({event:"bookingUpdated",bookingHotel:i,bookingStartDate:a,bookingEndDate:n})}),10)}function decorateGALinkerUrl(e){var t,a=window[window.GoogleAnalyticsObject];return a&&"function"==typeof a.getAll&&(t=a.getAll()[0],e=new window.gaplugins.Linker(t).decorate(e)),e}function trackingBookingSubmit(e,t,a,n){let i=a.split("-");a=i[2]+""+i[0]+i[1];let o=n.split("-");n=o[2]+""+o[0]+o[1];let r="";switch(t){case"63146":r="The Temple House";break;case"27265":r="The Opposite House";break;case"80593":r="The Middle House";break;case"27299":r="The Upper House";break;default:r="Not defined"}dataLayer.push({event:"bookingSearch",bookingHotel:r,bookingStartDate:a,bookingEndDate:n,bookingPage:window.location.href});var d=decorateGALinkerUrl(e);window.open(d,"_blank")}function trackingEnquiry(e){let t="";switch($(e).attr("name")){case"general":t="generalEnquirySubmitted";break;case"media":t="mediaEnquirySubmitted";break;case"event":t="eventEnquirySubmitted";break;case"development":t="developmentEnquirySubmitted";break;case"ppaform":t="PPAFormSubmitted";break;default:t="generalEnquirySubmitted"}dataLayer.push({event:t})}function trackingSubscription(e){dataLayer.push({event:"subscriptionSubmitted"}),e.submit()}$((function(){trackingLangPicker()}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.