PageSourceSearch

https://www.firstchoice.co.uk/wp-content/themes/wordpress-themes/dist/js/datalayer.js?ver=7.1.1

js firstchoice.co.uk collected 2026-09-24 18:32:01 UTC 2,578 bytes, 1 lines download raw bytes

1!function(){function e(e){var o={};switch(e){case"homepage":o={pageCategory:"Home Page",pageID:"ST_Homepage",pageSubCategory:"Home Page"};break;case"info-page":o={pageCategory:"Information",pageID:"ST_Info_".concat(a()),pageSubCategory:"Info Page"};break;case"destination":o={pageCategory:"Destination",pageID:"ST_Destination_".concat(a()),pageSubCategory:"Dest Page"};break;default:o={pageCategory:"Browse Page",pageID:"ST_UnknownBrowsePage_".concat(a()),pageSubCategory:"Unknown"}}return o}function a(){var e=window.location.pathname.split("/");return null!=e&&e.length?e.pop():""}window.capturePageData=function(a,o){var n,t,i,r,g,c,l,p,u,s,d,y,w,C,m="FCR"==a.toUpperCase()?"FC":a.toUpperCase(),h=function(){var e="Beach";return window.location.pathname.toLowerCase().includes("ski")&&(e="Ski"),window.location.pathname.toLowerCase().includes("city")&&(e="City"),e}(),v=e(o),S={event:"pageData",page:{abTestV2:"",brand:m,country:"UK",environment:(t=m,i="".concat(t,":"),r=window.location.host,i=r.includes("localhost")||r.includes("holidayhype.")?"".concat(i,"Dev:").concat(r.includes("localhost")?"Local":null==r?void 0:r.split(".")[0]):"".concat(i,"Live")),language:"en",pageCategory:v.pageCategory,pageError:"",pageID:v.pageID,pageName:"".concat(m,":").concat(h,":").concat(v.pageCategory,":").concat(v.pageSubCategory),pageSubCategory:v.pageSubCategory,pageURL:"".concat(window.location.origin).concat(window.location.pathname),platform:"Northern Platform",referringURL:document.referrer,sessionState:"anonymous",siteSection:h,siteStructure:"".concat(window.location.host).concat(window.location.pathname.replace(/\//g,"|"))},user:{loggedInStatus:"Anonymous",jSessionID:(n=document.cookie.split(";").find(function(e){return e.trim().startsWith("hhdata=")}),n?n.split("&")[0].split("=")[2]:null),customerID:"Anonymous"}};g=S,window.dataLayer.qualtrics={abTestV2:null!==(c=null==g||null===(l=g.page)||void 0===l?void 0:l.abTestV2)&&void 0!==c?c:"",bookingType:"",customerLogin:"",daysToDeparture:"",decibelInsightIdSession:"",departureMonth:"",departureSeason:"",epicCode:"",flightCarrier:"",flightType:"",pageCategory:null!==(p=null==g||null===(u=g.page)||void 0===u?void 0:u.pageCategory)&&void 0!==p?p:"",pageName:null!==(s=null==g||null===(d=g.page)||void 0===d?void 0:d.pageName)&&void 0!==s?s:"",pageID:null==g||null===(y=g.page)||void 0===y?void 0:y.pageID,pageSubCategory:null!==(w=null==g||null===(C=g.page)||void 0===C?void 0:C.pageSubCategory)&&void 0!==w?w:"",productID:"",productType:"",qAAParams:"",sellingCode:"",siteSection:""},window.dataLayer.push(S)}}();

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.