Unleak

Getting Started

  1. Add the JS snippet . Put this before the end of your </body> tag.
              <script type="text/javascript" src="https://widget.unleak.io/unleak.js"></script>
    <script>
      window.Unleak('setup', { api_key: 'YOUR_API_KEY' });
      window.Unleak('customer', {
        id: 'cus_123456789', // Customer Stripe ID (starting with cus_), if available
        email: '[email protected]' // Your customer's email. Always required.
      });
    </script>
            
  2. To test out the integration, you can call the manager directly from your console:
              window.Unleak('manager');