PageSourceSearch

https://www.isseymiyakeparfums.com/on/demandware.static/Sites-isse…/js/dist/googletagmanagerpageload.js

js isseymiyakeparfums.com collected 2026-09-24 22:40:24 UTC 12,857 bytes, 2 lines download raw bytes

1var g=window.User.clickStream,t="",v=new Array,u=window.User.customerNo;if(window.User.isCustomerAuthenticated==!0)var t=window.User.id;function C(e){var o=new Array;return e.forEach(function(i){if(typeof i=="object"){var p=new Object;Object.keys(i).forEach(function(m){i[m]&&(p[m]=i[m])}),Object.keys(p).length>0&&o.push(p)}else i&&o.push(i)}),o}function y(e){var o={};return Object.keys(e).forEach(function(i){if(e[i])e[i]instanceof Array?o[i]=C(e[i]):o[i]=e[i];else return},this),o}function a(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push(y(e))}function r(){switch(g){case"product-showincategory":return"Product Page";case"product-show":return"Product Page";case"search-show":return typeof searchItems<"u"&&!searchItems.rs55?"General Error":typeof searchItems<"u"&&typeof searchItems.search!=null?searchItems.pagecategory==="Consultation Tool"?"Consultation Tool":searchItems.search?"Search Results":"Product List Page":"Product List Page";case"search-showcontent":return"Product List Page";case"home-show":case"default-start":var e=window.location.href;return e.indexOf("a-drop-d-issey")>0||e.indexOf("l-eau-d-issey")>0||e.indexOf("fusion-d-issey")>0||e.indexOf("l-eau-dissey-pour-homme")>0||e.indexOf("new-arrivals")>0||e.indexOf("best-sellers")>0?"Product List Page":e.indexOf("Newsletter-NewsletterFooterSubmission")>0||e.indexOf("Newsletter-Start")>0?"Newsletter":"Home Page";case"customerservice-contactus":return"Contact Customer Service";case"stores-find":return"Store Locator";case"page-show":var e=window.location.href;if(e.indexOf("Home-Show")>0)return"Home";if(e.indexOf("customer-service.html")>0)return"Customer Service";if(e.indexOf("privacy-policy.html")>0)return"Privacy Policy";if(e.indexOf("legal-notice.html")>0)return"Legal Notice";if(e.indexOf("cookie-policy.html")>0)return"Cookie Policy";if(e.indexOf(window.SitePreferences.CA_FRAGRANCE_FINDER)>0)return"Fragrance Finder";if(e.indexOf(window.SitePreferences.CA_BRAND_UNIVERSE)>0)return"Brand Universe";if(e.indexOf("store-locator.html")>0)return"Store Locator";if(e.indexOf("faq.html")>0||e.indexOf("FAQ.html")>0)return"Faq";if(e.indexOf("terms.html")>0)return"Terms and Condition";if(e.indexOf("staticcountryselect.html")>0)return"Select Country";var o="${pageContext.title}";return o=="Consultations"?"Consultation Tool":"Content";case"customerservice-submit":return"Contact Customer Service";case"home-errornotfound":return"Error Page";case"newsletter":return"Newsletter";default:return"Content"}}function c(){switch(g){case"cart-show":return"Cart";case"coshipping-start":return"Shipping";case"coshipping-singleshipping":return"Payment";case"cobilling-start":return"Payment";case"cobilling-removegiftcertificate":return"Payment";case"cobilling-billing":return basketConfirmation!=null&&basketConfirmation.checkoutErrorMessage?"Payment":"Review";case"cosummary-submit":if(typeof basketConfirmation<"u"&&basketConfirmation!=null){if(basketConfirmation.checkoutErrorMessage)return"Review"}else return"";break;case"account-editprofile":return"Profile";case"address-list":return"Addresses";case"paymentinstruments-list":return"Payment Methods";case"wishlist-show":return"Saved For Later";case"order-history":return"Order History";case"account-startregister":return"Create Account";case"tutorial-show":return"Tutorial Page"}}function n(){var e=window.User.locale;if(e!==null&&e.split("_").length===2){var o={en:"en",es:"es",zh:"zh",fr:"fr",ja:"ja",pt:"pt",it:"it"};return o[e.split("_")[0]]}else return"en"}function d(e){var o=new RegExp(e+"=([^;]+)"),i=o.exec(document.cookie);return i!=null?unescape(i[1]):null}function s(){return window.User.locale!==null&&window.User.locale.split("_").length===2?window.User.locale.split("_")[1]:"EN"}function l(){switch(r()){case"Checkout Page":case"Cart Page":if(basketConfirmation!=null)return basketConfirmation.checkoutErrorMessage;break;case"General Error":return searchItems.error;case"Error Page":return"Page Not Found"}}function k(e){typeof e.data=="object"&&e.origin==="https://hosted.where2getit.com"&&a(e.data)}
1window.addEventListener("load",function(){if(r()=="Checkout Page"){var e=basketConfirmation.checkoutErrorMessage?basketConfirmation.checkoutErrorMessage:$(".error-form").text().trim(),o="";e.indexOf("Payment")>-1?o="Payment":e.indexOf("email")>-1?o="Email":e.indexOf("Server")>-1&&(o="Server"),e&&a({checkoutErrorMessage:basketConfirmation.checkoutErrorMessage?basketConfirmation.checkoutErrorMessage:$(".error-form").text().trim(),event:"transactionError",pageSubCategory:c(),pageCategory:"Checkout Page",checkoutErrorType:o}),$(".gtpromochecker").length>0?localStorage.getItem("couponvalidation")||(a({productCoupon:$(".gtpromochecker").data("name"),event:"couponSubmission",pageSubCategory:c(),pageCategory:r()}),localStorage.couponvalidation=!0):localStorage.removeItem("couponvalidation")}r()=="Store Locator"&&a({event:"storeLocator",pageCategory:r()})});switch(g){case"search-show":if(typeof searchItems<"u"&&searchItems.search?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"search",template_name:"search",user_id:t??""}):a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"product-list-page",template_name:"list-page",user_id:t??""}),typeof productData<"u"&&productData){if(productData.product.length){var f=[],h=[];productData.product.filter(function(e,o){f.push({item_id:e.item_id,item_category:e.item_category,item_name:e.item_name,item_variant:e.item_variant}),h.push({index:o,item_id:e.item_id,item_category:e.item_category,item_name:e.item_name,item_list_name:e.item_name.split("|")[0],item_variant:e.item_variant})})}a({ecommerce:null}),a({event:"view_search_results",search_results:productData.product.length||0,language:n(),page_type:"search",template_name:"search",user_id:t??"",ecommerce:{items:f||new Array}}),a({ecommerce:null}),a({event:"view_item_list",currency:window.Resources.CURRENCY,language:n(),template_name:"search",user_id:t??"",ecommerce:{items:h||new Array}}),v.push(productData.product)}break;case"product-showincategory":case"product-show":if(r()=="Product Page"&&(a({event:"page_view",language:n(),path_path:window.location.pathname,page_type:"product",template_name:"product-page",user_id:t??""}),typeof pdpProductData<"u"&&pdpProductData)){var w=[];w.push(pdpProductData),a({ecommerce:null}),a({event:"view_item",currency:window.Resources.CURRENCY,language:n(),value:"1",template_name:"product-page",user_id:t??"",ecommerce:{items:w}})}sessionStorage.setItem("listType",""),sessionStorage.setItem("listName","");break;case"search-brandify":a({cat55:"Store Locator",pageCategory:"Store Locator",kw55}),window.addEventListener("message",k);break}typeof searchItems<"u"?searchItems.error==="Page Not Found"?a({userId:t??null,language:n(),websiteCountry:s(),pageCategory:"Error Page",pageSubCategory:"",navigationLinkClicked:sessionStorage.getItem("navlink")?"1":"0",navigationLinkNameClicked:sessionStorage.getItem("navlink"),navigationLocationClicked:sessionStorage.getItem("menuloc"),pageError:searchItems.error,dropDown:"",filterChoice:"",productUpdate:sessionStorage.getItem("productUpdate")?"1":"0"}):r()=="Product List Page"?searchItems.lastclk=="account-editprofile"||searchItems.lastclk=="address-list"||searchItems.lastclk=="paymentinstruments-list"||searchItems.lastclk=="wishlist-show"||searchItems.lastclk=="order-history"||searchItems.lastclk=="customerservice-contactus"?a({userId:t??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:d("navdata")?"1":"0",navigationLinkNameClicked:sessionStorage.getItem("navlink")?sessionStorage.getItem("navlink"):d("navdata"),navigationLocationClicked:"topmenu",pageError:l(),dropDown:"",filterChoice:"",productUpdate:sessionStorage.getItem("productUpdate")?"1":"0"}):a({userId:t??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:sessionStorage.getItem("navlink")?"1":"0",navigationLinkNameClicked:sessionStorage.getItem("navlink"),navigationLocationClicked:sessionStorage.getItem("menuloc"),pageError:l(),dropDown:"",filterChoice:"",productUpdate:sessionStorage.getItem("productUpdate")?"1":"0"}):g=="customerservice-contactus"?a({userId:t??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:"0",navigationLinkNameClicked:"",navigationLocationClicked:"",pageError:l(),dropDown:"",f
1ilterChoice:"",productUpdate:"0"}):g=="account-editprofile"?sessionStorage.getItem("navlink")!="Profile"?a({userId:t??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:"0",navigationLinkNameClicked:"",navigationLocationClicked:"",pageError:l(),dropDown:"",filterChoice:"",productUpdate:"0"}):a({userId:t??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:sessionStorage.getItem("navlink")?"1":"0",navigationLinkNameClicked:sessionStorage.getItem("navlink"),navigationLocationClicked:sessionStorage.getItem("menuloc"),pageError:l(),dropDown:"",filterChoice:"",productUpdate:sessionStorage.getItem("productUpdate")?"1":"0"}):r()=="Faq"?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"faq",template_name:"FAQ",user_id:t??""}):r()=="Privacy Policy"?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"privacy policy",template_name:"privacy policy",user_id:t??""}):r()=="Cookie Policy"?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"cookie policy",template_name:"cookie policy",user_id:t??""}):r()=="Legal Notice"&&a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"legal notice",template_name:"legal notice",user_id:t??""}):r()=="Product List Page"?typeof searchItems<"u"&&(searchItems.lastclk=="account-editprofile"||searchItems.lastclk=="address-list"||searchItems.lastclk=="paymentinstruments-list"||searchItems.lastclk=="wishlist-show"||searchItems.lastclk=="order-history"||searchItems.lastclk=="customerservice-contactus")?a({userId:u??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:d("navdata")?"1":"0",navigationLinkNameClicked:sessionStorage.getItem("navlink")?sessionStorage.getItem("navlink"):d("navdata"),navigationLocationClicked:"topmenu",pageError:l(),dropDown:"",filterChoice:"",productUpdate:sessionStorage.getItem("productUpdate")?"1":"0"}):a({userId:u??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:sessionStorage.getItem("navlink")?"1":"0",navigationLinkNameClicked:sessionStorage.getItem("navlink"),navigationLocationClicked:sessionStorage.getItem("menuloc"),pageError:l(),dropDown:"",filterChoice:"",productUpdate:sessionStorage.getItem("productUpdate")?"1":"0"}):g=="customerservice-contactus"?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"contact",template_name:"contact",user_id:t??""}):g=="customerservice-submit"?a({event:"contact_form_submitted",language:n(),page_path:window.location.pathname,page_type:"contact",template_name:"contact"}):g=="account-editprofile"?sessionStorage.getItem("navlink")!="Profile"?a({userId:u??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:"0",navigationLinkNameClicked:"",navigationLocationClicked:"",pageError:l(),dropDown:"",filterChoice:"",productUpdate:"0"}):a({userId:u??null,language:n(),websiteCountry:s(),pageCategory:r(),pageSubCategory:c(),navigationLinkClicked:sessionStorage.getItem("navlink")?"1":"0",navigationLinkNameClicked:sessionStorage.getItem("navlink"),navigationLocationClicked:sessionStorage.getItem("menuloc"),pageError:l(),dropDown:"",filterChoice:"",productUpdate:sessionStorage.getItem("productUpdate")?"1":"0"}):r()=="Store Locator"?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"store locator",template_name:"store-locator",user_id:t??""}):r()=="Newsletter"?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"newsletter",template_name:"newsletter",user_id:t??""}):r()=="Fragrance Finder"?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"fragrance finder",template_name:"frangrance-finder",user_id:t??""}):r()=="Faq"?a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"faq",template_name:"FAQ",user_id:t??""}):r()=="Home Page"&&a({event:"page_view",language:n(),page_path:window.location.pathname,page_type:"home",template_name:"home",user_id:t??""});sessionStorage.setItem("navlink","");sessionStorage.setItem("menuloc","");sessionStorage.setItem("productUpdate","");sessionStorage.setItem("userid",t);sessionStorage.setItem("languange",n());sessionStorage.setItem("webCountry",s());
2//# sourceMappingURL=googletagmanagerpageload.js.map

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.