[]
]]> 1) { CQuotient.cqeid=split_value[1]; } if (split_value.length > 2) { CQuotient.cqlid=split_value[2]; } } } } } CQuotient.getCQCookieId = function () { if(window.CQuotient.cqcid == ”) window.CQuotient.initFromCookies(); return window.CQuotient.cqcid; }; CQuotient.getCQUserId = function () { if(window.CQuotient.cquid == ”) window.CQuotient.initFromCookies(); return window.CQuotient.cquid; }; CQuotient.getCQHashedEmail = function () { if(window.CQuotient.cqeid == ”) window.CQuotient.initFromCookies(); return window.CQuotient.cqeid; }; CQuotient.getCQHashedLogin = function () { if(window.CQuotient.cqlid == ”) window.CQuotient.initFromCookies(); return window.CQuotient.cqlid; }; CQuotient.trackEventsFromAC = function (/* Object or Array */ events) { try { if (Object.prototype.toString.call(events) === “[object Array]”) { events.forEach(_trackASingleCQEvent); } else { CQuotient._trackASingleCQEvent(events); } } catch(err) {} }; CQuotient._trackASingleCQEvent = function ( /* Object */ event) { if (event && event.id) { if (event.type === dw.ac.EV_PRD_DETAIL) { CQuotient.trackViewProduct( {id:”, alt_id: event.id, type: ‘raw_sku’} ); } // not handling the other dw.ac.* events currently } }; CQuotient.trackViewProduct = function(/* Object */ cqParamData){ var cq_params = {}; cq_params.cookieId = CQuotient.getCQCookieId(); cq_params.userId = CQuotient.getCQUserId(); cq_params.emailId = CQuotient.getCQHashedEmail(); cq_params.loginId = CQuotient.getCQHashedLogin(); cq_params.product = cqParamData.product; cq_params.realm = cqParamData.realm; cq_params.siteId = cqParamData.siteId; cq_params.instanceType = cqParamData.instanceType; cq_params.locale = CQuotient.locale; if(CQuotient.sendActivity) { CQuotient.sendActivity(CQuotient.clientId, ‘viewProduct’, cq_params); } else { CQuotient.activities.push({activityType: ‘viewProduct’, parameters: cq_params}); } }; /* ]]]]> */ // –> ]]>
Previous Searches
//common/scripts.isml 8&255]+n[t>>16&255]+n[t>>24&255]+a+n[255&e]+n[e>>8&255]+a+n[e>>16&15|64]+n[e>>24&255]+a+n[63&r|128]+n[r>>8&255]+a+n[r>>16&255]+n[r>>24&255]+n[255&o]+n[o>>8&255]+n[o>>16&255]+n[o>>24&255]},i=function(){if(window.Uint32Array&&window.crypto&&window.crypto.getRandomValues){var t=new window.Uint32Array(4);return window.crypto.getRandomValues(t),{d0:t[0],d1:t[1],d2:t[2],d3:t[3]}}return{d0:4294967296*Math.random()>>>0,d1:4294967296*Math.random()>>>0,d2:4294967296*Math.random()>>>0,d3:4294967296*Math.random()>>>0}},a=function(){var t=””,e=function(t,e){for(var n=””,r=t;r>0;–r)n+=e.charAt(1e3*Math.random()%e.length);return n};return t+=e(2,”0123456789″),t+=e(1,”123456789″),t+=e(8,”0123456789″)};return t.safeGenerateNoDash=function(){try{var t=i();return o(t.d0,t.d1,t.d2,t.d3,!1)}catch(n){try{return e+a()}catch(n){}}},t.isValidNumericalToken=function(t){return t&&t.toString().length=9&&parseInt(t,10).toString().length=9},t.isValidUUIDToken=function(t){return t&&32===t.toString().length&&/^[a-z0-9]+$/.test(t)},t.isValidFGUToken=function(t){return 0==t.indexOf(e)&&t.length>=12},t}(),T={uDF:”UDF”,uAL:”UAL”,mLd:”1″,eTlu:”2″,eUoe:”3″,uS:”4″,uF:”9″,tmos:[“T5″,”T10″,”T15″,”T30″,”T60″],tmosSecs:[5,10,15,30,60],bIR:”43”},y=function(t,e){for(var n=T.tmos,r=0;r