Skip to content

Instantly share code, notes, and snippets.

@patrickxrivera
Created May 15, 2019 21:51
Show Gist options
  • Save patrickxrivera/f49d3c23902b7851c953f81f37f3b3f1 to your computer and use it in GitHub Desktop.
Save patrickxrivera/f49d3c23902b7851c953f81f37f3b3f1 to your computer and use it in GitHub Desktop.
Module for the start saving banner. Trial version.
{
"id": "subscriptions_start_saving_banner_263a00fa2d7ae26f",
"data": {
"cashback_image": {
"url": "http://localhost:3000/assets/express/shop-as-usual-web@3x-fbab625a5bca43c18c6c8683099b757a6ca44080e3404f50150c471bd73a71da.png",
"alt": null,
"responsive": null,
"sizes": []
},
"header_formatted": {
"strings": [
{
"value": "Patrick, save $130 a year",
"attributes": ["bold"]
}
],
"action": null,
"alt": null
},
"details_formatted": {
"strings": [
{
"value": "Based on your 0 monthly orders, you're invited to try Express!",
"attributes": []
}
],
"action": null,
"alt": null
},
"action_formatted": {
"strings": [
{
"value": "Learn more",
"color": "#FFFFFF",
"attributes": []
}
],
"action": {
"type": "express_placement_modal",
"data": {
"path": "next_gen/express/standard_placement?source_type=storefront_banner",
"tracking_params": {
"product_flow": "placement",
"source_type": "storefront_banner"
},
"tracking_event_names": {
"view": "view",
"click": "click",
"close": "close"
},
"modal_class": null
}
},
"alt": null
},
"tracking_params": {
"product_flow": "placement",
"source_type": "storefront_banner"
},
"tracking_event_names": {
"view": "view",
"click": "click",
"close": "close"
}
},
"absolute_position": 0,
"tracking_params": {
"product_flow": "placement",
"source_type": "storefront_banner"
},
"tracking_event_names": {
"view": "view",
"click": "click",
"close": "close"
},
"types": ["start_saving_banner"],
"layouts": ["main"],
"steps": [],
"step_transitions": {},
"async_data_path": null,
"async_data_dependencies": [],
"public_rollbar_token": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment