PageSourceSearch

https://assol.in.ua/catalog/view/javascript_assol_2023/dist/utm.js?t=1791432212

js assol.in.ua collected 2026-10-08 07:25:34 UTC 3,026 bytes, 1 lines download raw bytes

1!function(){function t(t){var e=document.cookie.match(new RegExp("(?:^|; )"+t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):void 0}function e(t,e,o){var i=(o=o||{}).expires;if("number"==typeof i&&i){var m=new Date;m.setTime(m.getTime()+1e3*i*86400),i=o.expires=m}i&&i.toUTCString&&(o.expires=i.toUTCString());var r=t+"="+(e=decodeURIComponent(e));for(var n in o){r+="; "+n;var c=o[n];!0!==c&&(r+="="+c)}document.cookie=r}var o=(location.host||location.hostname).split(".");!function o(i,m){var r=i.slice(m).join(".");if(e("this_domain",r,{expires:365,path:"/",domain:"."+r}),void 0===t("this_domain")){if(--m<0)return;o(i,m)}}(o,o.length-2),this_domain=t("this_domain");var i,m,r={expires:365,path:"/",domain:"."+this_domain},n=document.referrer||location.referrer,c=function(){for(var t={},e=window.location.search.substring(1).split("&"),o=0;o<e.length;o++){var i=e[o].split("=");t[i[0]]=void 0===i[1]?"":decodeURIComponent(i[1])}return t}(),a=(i=n,(m=document.createElement("a")).href=i,{source:i,protocol:m.protocol.replace(":",""),host:m.hostname,port:m.port,query:m.search,params:function(){for(var t,e={},o=m.search.replace(/^\?/,"").split("&"),i=o.length,r=0;r<i;r++)o[r]&&(e[(t=o[r].split("="))[0]]=t[1]);return e}(),file:(m.pathname.match(/\/([^\/?#]+)$/i)||[,""])[1],hash:m.hash.replace("#",""),path:m.pathname.replace(/^([^\/])/,"/$1"),relative:(m.href.match(/tps?:\/\/[^\/]+(.+)/)||[,""])[1],segments:m.pathname.replace(/^\//,"").split("/")});if(myURLhost=a.host,void 0!==c.utm_source||void 0!==c.utm_medium||void 0!==c.utm_campaign||void 0!==c.utm_content||void 0!==c.utm_term||void 0!==c.srsltid||void 0!==c.gad_source||void 0!==c.fbclid||void 0!==c.gclid)e("utm_source",c.utm_source||"",r),void 0===c.utm_source&&(void 0!==c.gclid&&e("utm_source","google_gclid",r),void 0!==c.fbclid&&e("utm_source","fb_fbclid",r)),e("utm_medium",c.utm_medium||"",r),void 0===c.utm_medium&&void 0!==c.gclid&&e("utm_medium","cpc",r),c.utm_campaign&&e("utm_campaign",c.utm_campaign||"",r),c.utm_content&&e("utm_content",c.utm_content||"",r),c.utm_term&&e("utm_term",c.utm_term||"",r),c.tracking&&e("assol23tracking",c.tracking||"",r),c.srsltid&&e("srsltid",c.srsltid||"",r),c.gad_source&&e("gad_source",c.gad_source||"",r),c.gclid&&e("utm_gclid",c.gclid||"",r),c.fbclid&&e("utm_fbclid",c.fbclid||"",r),n&&-1==myURLhost.indexOf(window.location.hostname)&&-1==window.location.hostname.indexOf(myURLhost)&&e("utm_source_full",n||"",r),void 0===t("first_utm_source")&&void 0!==c.utm_source&&e("first_utm_source",c.utm_source||"",r);else if(n&&-1==myURLhost.indexOf(window.location.hostname)&&-1==window.location.hostname.indexOf(myURLhost)){e("utm_source_full",n,r);var u=a.host.replace(/^www\./i,"");e("utm_source",u,r),void 0!==c.gclid?e("utm_medium","cpc",r):/^(((google|search\.yahoo|yandex|bing)(\.[^.]+)+)|(rambler\.ru)|(ukr\.net)|(mail\.ru))$/i.test(u)?e("utm_medium","organic",r):e("utm_medium","referral",r),e("utm_campaign","",r),e("utm_content","",r),e("utm_term","",r)}}();

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.