{ "abandoncartid": "prod.com.myshopify.vitalize-bo-3rs32a.acconfig", "surveyid": "prod.com.myshopify.vitalize-bo-3rs32a.acconfig", "name": "shop.bodybuilding.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, "storagesyncisactive": true, "storage": { "migration": { "source": "Storage", "target": "MSS", "removeAfterMigration": false, "records": [ { "sourceKey": "_Metrical__MetricalObject_did", "targetKey": "uuid" } ] }, "remove": { "source": "Cookie", "sourceKeys": [ "_Metrical.*" ] } }, "assets": [ { "type": "img", "url": "https://content.getmetrical.com/offers/bodybuilding.com/pilot/desktop/BB_10POFF_desk.jpg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'desktop'" }, { "type": "img", "url": "https://content.getmetrical.com/offers/bodybuilding.com/pilot/mobile/BB_10POFF_mob.jpg", "style": "display: none;", "filter": "_MetricalUtils.determineDevice() == 'mobile'" }, { "type": "css", "url": "https://content.getmetrical.com/css/reset.css" }, { "type": "css", "url": "https://content.getmetrical.com/css/styles.css" } ], "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)://.*?shop.bodybuilding.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'] || _MetricalCart.cartItemCount() || 0", "numeric": true }, "operator": ">=", "secondoperand": { "type": "constant", "value": "1" } } }, "cartvaluegreaterthan0": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "_MetricalAbandonCart.passedInProperties['usermeta']['subtotalcartvalue'] || _MetricalCart.cartValue() || 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 } } }, "jcp10cartcreation": { "conditiontype": "basiccondition", "properties": { "firstoperand": { "type": "eval", "value": "(typeof _MetricalAbandonCart.abandonprobable === 'object') && ('CartCreationModelJCPenney_1_0' in _MetricalAbandonCart.abandonprobable) && ('abandonmentProbable' in _MetricalAbandonCart.abandonprobable['CartCreationModelJCPenney_1_0']) && (_MetricalAbandonCart.abandonprobable['CartCreationModelJCPenney_1_0']['abandonmentProbable'] == true)" }, "operator": "==", "secondoperand": { "type": "constant", "value": true } } }, "hasVisitedPDP": "(_MetricalAbandonCart.localInteractions.values('url').filter(function(cur) { return cur.indexOf('/products/') > -1 }).length > 0)" }, "savelocalinteractions": true, "groups": { "default": { "upper": 2, "items": { "isGroupA": 1, "isGroupB": 2 } } }, "offerlimitchecks": [ { "offerselectionfilter": { "campaign": "cc-pilot" }, "function": "campaignLimit", "value": 5 }, { "function": "servedInLast24Hours", "value": 3 } ], "tags": { "cc-model": "(jcp10cartcreation)", "isCreateCart": "(hasVisitedPDP && (atleastoneitemincart && cartvaluegreaterthan0) == false)" }, "offers": [ { "id": "MET10PCC", "name": "10% off create cart", "campaign": "cc-pilot", "couponmatch": "MET10PCC", "couponreplace": "MET10PCC", "couponcode": "MET10PCC", "survey": "none", "offerrule": [ { "name": "Treatment", "metadata": { "models": [ "jcp10cartcreation" ], "campaignStartDate": "2021-09-13 05:00:00", "campaignEndDate": "2021-11-01 04:59:59", "cvMin": "n/a", "cvMax": "n/a" }, "rule": "#cc-model && #isCreateCart" } ], "isactive": true, "delay": 0, "startdate": "2021-09-13T05:00:00.000Z", "enddate": "2021-11-01T05:59:59.000Z", "couponconfig": { "coupondriver": "FetchDriver", "values": { "coupon": { "singleUse": "MET10PCC" } }, "couponoperations": [ { "url": "https://shop.bodybuilding.com//discount/{{coupon}}", "params": { "method": "GET" } } ], "imageurl": { "desktop": "https://content.getmetrical.com/offers/bodybuilding.com/pilot/desktop/BB_10POFF_desk.jpg", "mobile": "https://content.getmetrical.com/offers/bodybuilding.com/pilot/mobile/BB_10POFF_mob.jpg" }, "closemap": { "desktop": { "shape": "rect", "coordinates": "532,35,555,62" }, "mobile": { "shape": "rect", "coordinates": "236,17,261,46" } }, "submitmap": { "desktop": { "shape": "rect", "coordinates": "53,374,224,427" }, "mobile": { "shape": "rect", "coordinates": "26,345,174,390" } } } } ], "zeroofferscloseflow": false, "offersilentmode": false, "offerflowtag": "20210924_100p-jcp_v1.0-popdist5050-CCP", "offerflowsisactive": false, "experiments": [ { "name": "pilot", "treatmentweight": 0.5, "controlweight": 0.5, "threshold": 2067, "isatthreshold": false, "posttreatmentweight": 0.9, "postcontrolweight": 0.1 } ], "eligibilityrules": "hasVisitedPDP && testmode", "revision": 10, "last_updated": "2022-06-09T17:19:16Z" }