Defaults

Provided below is the default Kigo context and can be used as a starting point for your customization. See the following pages for more details on each section of the context. You can also try changing these defaults in our Storybook.

Any values you pass to kigo.setContext are deep-merged into these defaults, so you only need to supply the properties you want to override.

{
  "components": {
    "ApplyClaimCode": {
      "defaultProps": {
        "supportUrl": ""
      }
    },
    "KigoErrorSnackbar": {
      "defaultProps": {
        "actionText": "Contact Support",
        "actionUrl": "https://help.kigo.io/hc/en-us/requests/new"
      }
    },
    "SwipeToClaimInput": {
      "defaultProps": {
        "programImgSrc": ""
      }
    },
    "WalletEmptyState": {
      "defaultProps": {
        "programImgSrc": "",
        "descriptionText": "",
        "titleText": "",
        "showDescriptionText": true
      }
    },
    "WalletHeader": {
      "defaultProps": {
        "walletLabelPosition": "left",
        "textColor": "#000000",
        "backgroundColor": "#FFFFFF"
      }
    },
    "WalletMenu": {
      "defaultProps": {
        "showApplyClaimCodeMenu": true,
        "showViewHiddenRewardsMenu": true,
        "showHistoryMenu": true
      }
    },
    "UploadHeader": {
      "defaultProps": {
        "image": "https://d1a4n83cq9sj78.cloudfront.net/assets/frontend-assets/john-deere/upload-phone-icon.png"
      }
    },
    "UploadRequirementsModal": {
      "defaultProps": {
        "image": "https://d1a4n83cq9sj78.cloudfront.net/assets/frontend-assets/john-deere/invoice-requirements.png"
      }
    },
    "WalletWelcomeModal": {
      "defaultProps": {
        "display": false,
        "imageSrc": "",
        "title": "",
        "subtitle": null,
        "cta": null
      }
    },
    "WalletBanner": {
      "defaultProps": {
        "title": "Have another invoice?",
        "body": "Tap the same \"Smooth Savings Oil Promotion\" token and follow the same process. You can repeat this as many times as needed!"
      }
    },
    "Terms": {
      "defaultProps": {
        "termsText": "",
        "redirectUrl": "https://www.entertainment.com/rulesofuse"
      }
    },
    "SupportFaq": {
      "defaultProps": {
        "links": {
          "general": {
            "helpAndFAQs": "https://help.kigo.io/hc/en-us/categories/27937094143771-Entertainment-Help-Center",
            "termsOfService": "https://help.kigo.io/hc/en-us/articles/28139046798235-ENTERTAINMENT-MEMBERSHIPS-PRODUCTS-AND-WEBSITE-Rules-Terms-and-Conditions-of-Use",
            "contactUs": "https://help.kigo.io/hc/en-us/requests/new",
            "privacyPolicy": "https://help.kigo.io/hc/en-us/articles/29354140980891-Privacy-Policy"
          },
          "supportFaqModal": {
            "howToUseInStoreOffer": "https://help.kigo.io/hc/en-us/articles/30000314269979-How-do-I-use-an-offer",
            "howShouldMerchantsAcceptAnOffer": "https://help.kigo.io/hc/en-us/articles/30000375734555-How-should-merchants-accept-an-offer",
            "howToUseOnlineOffer": "https://help.kigo.io/hc/en-us/articles/30000177585051-How-do-I-use-an-online-offer"
          }
        }
      }
    }
  },
  "contacts": {
    "supportEmail": "[email protected]",
    "supportLinkUrl": "https://help.kigo.io/hc/en-us/requests/new",
    "shopLinkUrl": "https://shop.deere.com",
    "faqLinkUrl": "/landing#faq"
  },
  "deeplinkUrls": {
    "shareToken": window.location.href
  },
  "locale": {
    "claimLabel": {
      "singular": "claim",
      "plural": "claim"
    },
    "offerLabel": {
      "singular": "offer",
      "plural": "offers"
    },
    "programNameLabel": {
      "singular": "Program",
      "plural": "Programs"
    },
    "revealLabel": {
      "singular": "reveal",
      "plural": "reveal"
    },
    "rewardLabel": {
      "singular": "reward",
      "plural": "rewards"
    },
    "walletLabel": {
      "singular": "Wallet",
      "plural": "Wallets"
    },
    "promoCodeLabel": {
      "singular": "promo code",
      "plural": "promo codes"
    }
  },
  "loggerOptions": {
    "level": "error",
    "customLogger": undefined
  },
  "theme": {
    "palette": {
      "primary": "#4B55FD",
      "secondary": "#CCFFFE"
    }
  },
  "uiux": {
    "displayMode": "default"
  },
  "uiuxOverride": {
    "wallet-icon-url": {
      "url": ""
    },
    "share-with-friend": {
      "enabled": true
    }
  },
  "user": {
    "firstName": "",
    "lastName": "",
    "email": "",
    "accountId": ""
  },
  "trackingEnabled": true,
  "provider": {
    "partnerId": "",
    "programId": "",
    "programName": "",
    "externalProgramId": "",
    "logo": ""
  },
  "walletConfig": {
    "showBanner": false,
    "showRedeemedValue": false,
    "showCashbackChip": false,
    "showShareWithFriend": false,
    "preserveParentHeader": false,
    "isTopHostedWallet": false,
    "returnToPrevious": null,
    "showEstimatedSavings": false
  },
  "showTrendingTags": false
}

Did this page help you?