Deep Link Urls

The KigoContext.deepLinkUrls allows you to customize the links that are generated for deeplinking back into the application.

Properties

shareToken

The KigoContext.deepLinkUrls.shareToken property is used when sharing a token with another user. This value is the base URL that will be used to generate a link when a token is shared. For example, with the configuration below, when a token is shared, the generated link would be:

https://example.com/?claimCode=CLAIM_CODE

When the Kigo Loyalty Wallet is loaded with the claimCode query parameter, the application will automatically route to the Apply Claim Code screen and auto-populate the claim code.

Example Configuration

kigo.setContext({
  deepLinkUrls: {
    // Defaults to window.location.href
    shareToken: "https://example.com/",
  },
});

Notes

  • Default: If shareToken is not set, it defaults to window.location.href.
  • Usage: This customization ensures that when users share a token, the link provided will correctly navigate back to the application and pre-fill the claim code for easy redemption.

What’s Next