{ "abandoncartid": "prod.com.myshopify.pro-tec-helmets.acconfig", "surveyid": "prod.com.myshopify.pro-tec-helmets.acconfig", "name": "pro-tec-helmets Cart Abandonment - PROD", "isactive": true, "trafficcontrolisactive": false, "trafficcontrolpercent": 100, "trafficcontrolprefix": "v1", "captureinteractions": true, "captureallinteractions": true, "capturescrollinteractions": false, "capturescrollinteractionsthreshold": [ 0.8, 1 ], "useprobabilityengine": true, "heartbeatisactive": true, "idleisactive": false, "previousvisitorisactive": false, "previousvisitorcookieprefix": "v1", "previouscustomerisactive": false, "previouscustomercookieprefix": "v1", "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/protecbrand.com/pilot/desktop/ProTec_10P_desk.jpeg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'desktop'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/protecbrand.com/pilot/mobile/ProTec_10P_mob.jpeg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'mobile'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/protecbrand.com/pilot/desktop/ProTec_5D_desk.jpeg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'desktop'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/protecbrand.com/pilot/mobile/ProTec_5D_mob.jpeg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'mobile'" } ], "custominteractions": [ { "selector": "input[name='checkout']", "event": "click", "action": "Check Out clicked", "recordtarget": true, "fieldkey": "event", "fieldeval": "event.currentTarget.id", "isasync": false }, { "selector": "div.recently-added", "event": "element opened", "action": "Cart Opened", "recordtarget": true, "fieldkey": "event", "fieldeval": "" }, { "selector": "div.recently-added", "event": "element closed", "action": "Cart Closed", "recordtarget": true, "fieldkey": "event", "fieldeval": "" } ], "conditions": { "iscartpage": { "conditiontype": "urlcondition", "properties": { "urlvalue": "^(http|https)://.*?protecbrand.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']['totalnumitemsincart']", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "1" } } }, "virtualcartisopen": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "jQuery('div.cart_content').is(':visible')" }, "operator": "==", "secondoperand": { "type": "constant", "value": true } } }, "cartvaluegreaterthan0": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": ">", "secondoperand": { "type": "constant", "value": "0" } } }, "cartvaluelgreaterthanequal39": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "39" } } }, "cartvaluelessthan125": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": "<", "secondoperand": { "type": "constant", "value": "125" } } }, "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)://.*?protecbrand.com/cart", "valuetocheck": "2500" } }, "7secondssincevisitpage": { "conditiontype": "timesincepagevisitedcondition", "properties": { "operator": ">=", "urlvalue": "^(http|https)://.*?protecbrand.com/", "valuetocheck": "7000" } }, "abandonzone": { "conditiontype": "zonecondition", "properties": { "firstvertexx": 0, "firstvertexy": 10, "secondvertexx": 1280, "secondvertexy": 3, "drawlimits": false } }, "RevOne32abandon": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "(typeof _MetricalAbandonCart.abandonprobable === 'object') && ('ProbabilityModelRevOne-3_2' in _MetricalAbandonCart.abandonprobable) && ('abandonmentProbable' in _MetricalAbandonCart.abandonprobable['ProbabilityModelRevOne-3_2']) && (_MetricalAbandonCart.abandonprobable['ProbabilityModelRevOne-3_2']['abandonmentProbable'] == true)" }, "operator": "==", "secondoperand": { "type": "constant", "value": true } } } }, "groups": { "default": { "upper": 2, "items": { "isGroupA": 1, "isGroupB": 2 } } }, "offerlimitchecks": [ { "offerselectionfilter": { "campaign": "PilotCamp1" }, "function": "campaignLimit", "value": 5 }, { "function": "servedInLast24Hours", "value": 1 } ], "tags": { "abandon-model": "(RevOne32abandon)", "isGroupA": "(_MetricalAbandonCart.groups.groupItem('default') == 'isGroupA')", "isGroupB": "(_MetricalAbandonCart.groups.groupItem('default') == 'isGroupB')", "cv-39": "(cartvaluelgreaterthanequal39)" }, "offers": [ { "id": "MET5DOFF", "name": "$5 off carts $39+", "campaign": "PilotCamp1", "couponmatch": "MET5DOFF", "couponreplace": "MET5DOFF", "couponcode": "MET5DOFF", "survey": "none", "offerrule": [ { "name": "Treatment", "metadata": { "models": [ "RevOne" ], "campaignStartDate": "2021-12-10 03:00:00", "campaignEndDate": "2022-01-13 05:59:59", "cvMin": "39.00", "cvMax": "NA" }, "rule": "#isGroupA && #abandon-model && #cv-39" } ], "isactive": true, "delay": 3, "startdate": "2021-12-08T06:00:00.000Z", "enddate": "2022-03-01T05:59:59.000Z", "couponconfig": { "coupondriver": "FetchDriver", "values": { "coupon": { "singleUse": "MET5DOFF" } }, "couponoperations": [ { "url": "https://protecbrand.com/discount/{{coupon}}", "params": { "method": "GET" } } ], "redirecturl": "https://protecbrand.com/checkout/", "imageurl": { "desktop": "https://content.getmetrical.com/offers/protecbrand.com/pilot/desktop/ProTec_5D_desk.jpeg", "mobile": "https://content.getmetrical.com/offers/protecbrand.com/pilot/mobile/ProTec_5D_mob.jpeg" }, "closemap": { "desktop": { "shape": "rect", "coordinates": "551,11,578,39" }, "mobile": { "shape": "rect", "coordinates": "244,10,271,36" } }, "submitmap": { "desktop": { "shape": "rect", "coordinates": "101,429,502,517" }, "mobile": { "shape": "rect", "coordinates": "16,365,259,445" } } } }, { "id": "MET10POFF", "name": "10% off carts $39+", "campaign": "PilotCamp1", "couponmatch": "MET10POFF", "couponreplace": "MET10POFF", "couponcode": "MET10POFF", "survey": "none", "offerrule": [ { "name": "Treatment", "metadata": { "models": [ "RevOne" ], "campaignStartDate": "2021-12-10 03:00:00", "campaignEndDate": "2022-01-13 05:59:59", "cvMin": "39.00", "cvMax": "NA" }, "rule": "#isGroupB && #abandon-model && #cv-39" } ], "isactive": true, "delay": 3, "startdate": "2021-12-08T06:00:00.000Z", "enddate": "2022-03-01T05:59:59.000Z", "couponconfig": { "coupondriver": "FetchDriver", "values": { "coupon": { "singleUse": "MET10POFF" } }, "couponoperations": [ { "url": "https://protecbrand.com/discount/{{coupon}}", "params": { "method": "GET" } } ], "redirecturl": "https://protecbrand.com/checkout/", "imageurl": { "desktop": "https://content.getmetrical.com/offers/protecbrand.com/pilot/desktop/ProTec_10P_desk.jpeg", "mobile": "https://content.getmetrical.com/offers/protecbrand.com/pilot/mobile/ProTec_10P_mob.jpeg" }, "closemap": { "desktop": { "shape": "rect", "coordinates": "551,11,578,39" }, "mobile": { "shape": "rect", "coordinates": "244,10,271,36" } }, "submitmap": { "desktop": { "shape": "rect", "coordinates": "101,429,502,517" }, "mobile": { "shape": "rect", "coordinates": "16,365,259,445" } } } } ], "zeroofferscloseflow": false, "offersilentmode": false, "offerflowtag": "20211209_100p-RevOne_v3.2-pco0.83-popdist5050-PC1", "experiments": [ { "name": "pilot", "treatmentweight": 0.5, "controlweight": 0.5, "threshold": 2067, "isatthreshold": false, "posttreatmentweight": 0.9, "postcontrolweight": 0.1 } ], "eligibilityrules": "atleastoneitemincart && cartvaluegreaterthan0 && testmode", "revision": 6, "last_updated": "2022-06-09T17:18:27Z" }