{ "surveyid": "prod.com.myshopify.fdm-media.acconfig", "name": "elegantbaby.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, "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/elegantbaby.com/prod/desktop/EB_15Poff_desk.jpg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'desktop'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/elegantbaby.com/prod/mobile/EB_15Poff_mob.jpg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'mobile'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/elegantbaby.com/prod/desktop/EB_FSupsell_desk.png", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'desktop'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/elegantbaby.com/prod/mobile/EB_FSupsell_mob.png", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'mobile'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/elegantbaby.com/pilot/desktop/ElegantBaby_freebox_desk.jpg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'desktop'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/elegantbaby.com/pilot/mobile/ElegantBaby_freebox_mob.jpg", "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)://.*?elegantbaby.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']", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "1" } } }, "cartvaluegreaterthan0": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": ">", "secondoperand": { "type": "constant", "value": "0" } } }, "testmode": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalTestMode.isInTestMode()" }, "operator": "==", "secondoperand": { "type": "constant", "value": true } } }, "cartvaluelgreaterthanequal30": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "30" } } }, "cartvaluelgreaterthanequal50": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "50" } } }, "cartvaluelgreaterthanequal75": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "75" } } }, "cartvaluelgreaterthanequal85": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "85" } } }, "cartvaluelessthan85": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": "<", "secondoperand": { "type": "constant", "value": "85" } } }, "cartvaluelessthan100": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": "<", "secondoperand": { "type": "constant", "value": "100" } } }, "cartvaluelgreaterthanequal100": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue']", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "100" } } }, "umv30abandon": { "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 } } } }, "tags": { "testmode": "(testmode)", "abandon-model": "(umv30abandon)", "cv-50-85": "(cartvaluelgreaterthanequal50 && cartvaluelessthan85)", "cv-85-100": "(cartvaluelgreaterthanequal85 && cartvaluelessthan100)" }, "offers": [ { "id": "MET15POFF", "name": "15% off carts $50 - $84.99", "campaign": "Campaign1", "couponmatch": "MET15POFF", "couponreplace": "MET15POFF", "couponcode": "MET15POFF", "survey": "none", "offerrule": [ { "name": "Treatment", "metadata": { "models": [ "umv30abandon" ] }, "campaignStartDate": "2021-05-24 05:00:00", "campaignEndDate": "2022-02-01 04:59:59", "rule": "#abandon-model && #cv-50-85" } ], "isactive": false, "css": "https://content.getmetrical.com/css/styles.css", "delay": 3, "startdate": "2021-05-24T05:00:00.000Z", "enddate": "2022-04-01T04:59:59.000Z", "couponconfig": { "coupondriver": "FetchDriver", "values": { "coupon": { "singleUse": "MET15P" } }, "couponoperations": [ { "url": "https://elegantbaby.com/discount/{{coupon}}", "params": { "method": "GET" } } ], "redirecturl": "https://elegantbaby.com/checkout/", "imageurl": { "desktop": "https://content.getmetrical.com/offers/elegantbaby.com/prod/desktop/EB_15Poff_desk.jpg", "mobile": "https://content.getmetrical.com/offers/elegantbaby.com/prod/mobile/EB_15Poff_mob.jpg" }, "closemap": { "desktop": { "shape": "rect", "coordinates": "553,8,583,40" }, "mobile": { "shape": "rect", "coordinates": "255,0,280,27" } }, "submitmap": { "desktop": { "shape": "rect", "coordinates": "130,369,465,437" }, "mobile": { "shape": "rect", "coordinates": "40,310,232,355" } } } }, { "id": "METFSUS", "name": "Item suggestion upsell for carts $85 - $99.99", "campaign": "Campaign1", "couponmatch": "METFSUS", "couponreplace": "METFSUS", "couponcode": "METFSUS", "survey": "none", "offerrule": [ { "name": "Treatment", "metadata": { "models": [ "umv30abandon" ] }, "campaignStartDate": "2021-05-24 05:00:00", "campaignEndDate": "2022-02-01 04:59:59", "rule": "#abandon-model && #cv-85-100" } ], "isactive": false, "css": "https://content.getmetrical.com/css/styles.css", "delay": 3, "startdate": "2021-05-24T05:00:00.000Z", "enddate": "2022-04-01T04:59:59.000Z", "couponconfig": { "coupondriver": "RedirectDriver", "redirecturl": "https://elegantbaby.com/collections/baby-gifts-under-25/", "imageurl": { "desktop": "https://content.getmetrical.com/offers/elegantbaby.com/prod/desktop/EB_FSupsell_desk.png", "mobile": "https://content.getmetrical.com/offers/elegantbaby.com/prod/mobile/EB_FSupsell_mob.png" }, "closemap": { "desktop": { "shape": "rect", "coordinates": "528,33,556,63" }, "mobile": { "shape": "rect", "coordinates": "230,29,255,54" } }, "submitmap": { "desktop": { "shape": "rect", "coordinates": "154,422,437,485" }, "mobile": { "shape": "rect", "coordinates": "43,373,236,418" } } } }, { "id": "METBOX", "name": "Free gift box carts $30-$99.99", "campaign": "Pilot", "couponmatch": "METBOX", "couponreplace": "METBOX", "couponcode": "METBOX", "survey": "none", "offerrule": [ { "name": "Treatment", "metadata": { "models": [ "umv30" ] }, "rule": "#abandon-model-a && #cv-30-100 && testmode" } ], "isactive": false, "css": "https://content.getmetrical.com/css/styles.css", "delay": 3, "couponconfig": { "coupondriver": "FetchDriver", "couponoperations": [ { "url": "https://elegantbaby.com/cart/add?id=339543589&quantity=1", "params": { "method": "GET", "mode": "cors" } }, { "url": "https://elegantbaby.com/discount/METBOX", "params": { "method": "GET", "mode": "cors" } } ], "redirecturl": "https://elegantbaby.com/checkout/", "imageurl": { "desktop": "https://content.getmetrical.com/offers/elegantbaby.com/pilot/desktop/ElegantBaby_freebox_desk.jpg", "mobile": "https://content.getmetrical.com/offers/elegantbaby.com/pilot/mobile/ElegantBaby_freebox_mob.jpg" }, "closemap": { "desktop": { "shape": "rect", "coordinates": "555,6,583,42" }, "mobile": { "shape": "rect", "coordinates": "258,4,276,24" } }, "submitmap": { "desktop": { "shape": "rect", "coordinates": "164,230,425,281" }, "mobile": { "shape": "rect", "coordinates": "48,320,236,360" } } } } ], "offerflowtag": "20211201-Universal-3_0-pco0.891-popdist5050-c1", "experiments": [ { "name": "prod3", "treatmentweight": 0.75, "controlweight": 0.25, "threshold": 2067, "isatthreshold": false, "posttreatmentweight": 0.9, "postcontrolweight": 0.1 } ], "eligibilityrules": "atleastoneitemincart && cartvaluegreaterthan0 && testmode", "revision": 34, "last_updated": "2022-06-09T17:19:07Z" }