{ "abandoncartid": "prod.com.myshopify.p1-dev.acconfig", "surveyid": "prod.com.myshopify.p1-dev.acconfig", "name": "www.pier1.com Cart Abandonment - prod", "isactive": true, "trafficcontrolisactive": false, "trafficcontrolpercent": 100, "trafficcontrolprefix": "v1", "captureinteractions": true, "captureallinteractions": true, "capturescrollinteractions": false, "capturescrollinteractionsthreshold": [ 0.8, 1 ], "useprobabilityengine": true, "previousvisitorisactive": false, "previousvisitorcookieprefix": "v1", "previouscustomerisactive": false, "previouscustomercookieprefix": "v1", "heartbeatisactive": true, "idleisactive": false, "gaisactive": true, "gacapturepresented": true, "storage": { "migration": { "source": "Storage", "target": "MSS", "removeAfterMigration": false, "records": [ { "sourceKey": "_Metrical__MetricalObject_did", "targetKey": "uuid" } ] }, "remove": { "source": "Cookie", "sourceKeys": [ "_Metrical.*" ] } }, "assets": [ { "type": "css", "url": "https://content.getmetrical.com/css/reset.css" }, { "type": "css", "url": "https://content.getmetrical.com/css/styles.css" }, { "type": "img", "url": "https://content.getmetrical.com/offers/pier1.com/pilot/desktop/Pier1_25PCCholiday_desk.webp", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'desktop'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/pier1.com/pilot/mobile/Pier1_25PCCholiday_mob.webp", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'mobile'" } ], "custominteractions": [ { "selector": "#checkout", "event": "click", "action": "Check Out clicked", "recordtarget": true, "fieldkey": "event", "fieldeval": "event.currentTarget.textContent", "isasync": false }, { "selector": "button[name='checkout']", "event": "click", "action": "Check Out clicked", "recordtarget": true, "fieldkey": "event", "fieldeval": "event.currentTarget.textContent", "isasync": false }, { "selector": "input[value='Check Out']", "event": "click", "action": "Check Out clicked", "recordtarget": true, "fieldkey": "event", "fieldeval": "event.currentTarget.textContent", "isasync": false }, { "selector": "input[value='Checkout']", "event": "click", "action": "Check Out clicked", "recordtarget": true, "fieldkey": "event", "fieldeval": "event.currentTarget.id", "isasync": false }, { "selector": "input[name='checkout']", "event": "click", "action": "Check Out clicked", "recordtarget": true, "fieldkey": "event", "fieldeval": "event.currentTarget.id", "isasync": false }, { "selector": "a[href='/checkout/']", "event": "click", "action": "Check Out clicked", "recordtarget": true, "fieldkey": "event", "fieldeval": "event.currentTarget.id", "isasync": false }, { "selector": "a[href='/checkout']", "event": "click", "action": "Check Out clicked", "recordtarget": true, "fieldkey": "event", "fieldeval": "event.currentTarget.id", "isasync": false } ], "conditions": { "iscartpage": { "conditiontype": "urlcondition", "properties": { "urlvalue": "^(http|https)://.*?www.pier1.com/cart" } }, "desktoponly": { "conditiontype": "devicetypecondition", "properties": { "devicesallowed": [ "desktop" ] } }, "tabandmobile": { "conditiontype": "devicetypecondition", "properties": { "devicesallowed": [ "mobile", "tabletvertical", "tablethorizontal" ] } }, "atleastoneitemincart": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue'] || 0", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "1" } } }, "cartvaluegreaterthan0": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue'] || 0", "numeric": true }, "operator": ">", "secondoperand": { "type": "constant", "value": "0" } } }, "testmode": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalTestMode.isInTestMode()" }, "operator": "==", "secondoperand": { "type": "constant", "value": true } } }, "2.5secondssincevisitpage": { "conditiontype": "timesincepagevisitedcondition", "properties": { "operator": ">=", "urlvalue": "^(http|https)://.*?www.pier1.com/cart", "valuetocheck": "2500" } }, "7secondssincevisitpage": { "conditiontype": "timesincepagevisitedcondition", "properties": { "operator": ">=", "urlvalue": "^(http|https)://.*?www.pier1.com/", "valuetocheck": "7000" } }, "abandonzone": { "conditiontype": "zonecondition", "properties": { "firstvertexx": 0, "firstvertexy": 10, "secondvertexx": 1280, "secondvertexy": 44, "drawlimits": false } }, "cartvaluelgreaterthanequal30": "(_MetricalUtils.cleanMoney(_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue'] || 0) >= 30)", "cartvaluelgreaterthanequal100": "(_MetricalUtils.cleanMoney(_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue'] || 0) >= 100)", "cartvaluelgreaterthanequal150": "(_MetricalUtils.cleanMoney(_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue'] || 0) >= 150)", "cartvaluelessthan100": "(_MetricalUtils.cleanMoney(_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue'] || 0) < 100)", "cartvaluelessthan150": "(_MetricalUtils.cleanMoney(_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue'] || 0) < 150)", "hasVisitedPDP": "(_MetricalAbandonCart.localInteractions.values('url').filter(function(cur) { return cur.indexOf('/products/') > -1 }).length > 0)", "UMv3": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "(typeof _MetricalAbandonCart.abandonprobable === 'object') && ('ProbabilityModelUniversal-3_0' in _MetricalAbandonCart.abandonprobable) && ('abandonmentProbable' in _MetricalAbandonCart.abandonprobable['ProbabilityModelUniversal-3_0']) && (_MetricalAbandonCart.abandonprobable['ProbabilityModelUniversal-3_0']['abandonmentProbable'] == true)" }, "operator": "==", "secondoperand": { "type": "constant", "value": true } } }, "UMv3cartabandonGrade1": "(_MetricalUtils.get(_MetricalAbandonCart,'$.abandonprobable.ProbabilityModelUniversal-3_0.grades.grade1',false))", "UMv3cartabandonGrade2": "(_MetricalUtils.get(_MetricalAbandonCart,'$.abandonprobable.ProbabilityModelUniversal-3_0.grades.grade2',false))", "UMv3cartabandonGrade3": "(_MetricalUtils.get(_MetricalAbandonCart,'$.abandonprobable.ProbabilityModelUniversal-3_0.grades.grade3',false))", "P1CCv21cartcreateGrade1": "(_MetricalUtils.get(_MetricalAbandonCart,'$.abandonprobable.CartCreateModelPier1-2_1.grades.grade1',false))", "P1CCv21cartcreateGrade2": "(_MetricalUtils.get(_MetricalAbandonCart,'$.abandonprobable.CartCreateModelPier1-2_1.grades.grade2',false))", "P1CCv21cartcreateGrade3": "(_MetricalUtils.get(_MetricalAbandonCart,'$.abandonprobable.CartCreateModelPier1-2_1.grades.grade3',false))" }, "savelocalinteractions": true, "groups": { "default": { "upper": 2, "items": { "isA": 1, "isB": 2 } } }, "offerflows": { "default": { "offerlimitchecks": [ { "offerselectionfilter": { "campaign": "DecCC1" }, "function": "campaignLimit", "value": 5 }, { "function": "servedInLast24Hours", "value": 1 } ], "tags": { "isA": "(_MetricalAbandonCart.groups.groupItem('default') == 'isA')", "isB": "(_MetricalAbandonCart.groups.groupItem('default') == 'isB')", "isCCGrade1": "(P1CCv21cartcreateGrade1)", "isCCGrade2": "(P1CCv21cartcreateGrade2)", "isCCGrade3": "(P1CCv21cartcreateGrade3)", "isCreateCart": "(hasVisitedPDP && (atleastoneitemincart && cartvaluegreaterthan0) == false)" }, "offers": [ { "id": "MET25PCC", "name": "25% off cart creator campaign", "campaign": "DecCC1", "couponmatch": "MET25PCC", "couponreplace": "MET25PCC", "couponcode": "MET25PCC", "survey": "none", "offerrule": [ { "name": "TreatmentA", "metadata": { "models": "P1CCv21cartcreateGrade1", "campaignStartDate": "2022-12-01 05:00:00", "campaignEndDate": "2023-01-01 04:59:59", "cvMin": "0.00", "cvMax": "0.00" }, "rule": "#isCCGrade1" }, { "name": "TreatmentB", "metadata": { "models": "P1CCv21cartcreateGrade2", "campaignStartDate": "2022-12-01 05:00:00", "campaignEndDate": "2023-01-01 04:59:59", "cvMin": "0.00", "cvMax": "0.00" }, "rule": "#isCCGrade2" }, { "name": "TreatmentC", "metadata": { "models": "P1CCv21cartcreateGrade3", "campaignStartDate": "2022-12-01 05:00:00", "campaignEndDate": "2023-01-01 04:59:59", "cvMin": "0.00", "cvMax": "0.00" }, "rule": "#isCCGrade3" } ], "isactive": true, "css": "https://content.getmetrical.com/css/styles.zind.1mil.css", "delay": 0, "startdate": "2022-12-01T05:00:00.000Z", "enddate": "2023-01-01T04:59:59.000Z", "couponconfig": { "coupondriver": "FetchDriver", "values": { "coupon": { "singleUse": "MET25PCC" } }, "couponoperations": [ { "url": "https://www.pier1.com/discount/{{coupon}}", "params": { "method": "GET" } } ], "imageurl": { "desktop": "https://content.getmetrical.com/offers/pier1.com/pilot/desktop/Pier1_25PCCholiday_desk.webp", "mobile": "https://content.getmetrical.com/offers/pier1.com/pilot/mobile/Pier1_25PCCholiday_mob.webp" }, "closemap": { "desktop": { "shape": "rect", "coordinates": "534,10,573,49" }, "mobile": { "shape": "rect", "coordinates": "236,2,279,45" } }, "submitmap": { "desktop": { "shape": "rect", "coordinates": "20,408,243,454" }, "mobile": { "shape": "rect", "coordinates": "12,346,189,387" } } } } ], "zeroofferscloseflow": false, "offersilentmode": false, "offerflowtag": "20221201_100p-P1CC2.1-pco0.76-popdist7030-DCC1", "experiments": [ { "name": "pilot3", "treatmentweight": 0.7, "controlweight": 0.3, "threshold": 2067, "isatthreshold": false, "posttreatmentweight": 0.9, "postcontrolweight": 0.1 } ], "eligibilityrules": "hasVisitedPDP" } }, "revision": 35, "last_updated": "2022-12-01T20:02:58Z" }