Wondering what’s next for npm?Check out our public roadmap! »

@keen.io/embedded-registrationTypeScript icon, indicating that this package has built-in type declarations

2.1.35 • Public • Published

@keen.io/embedded-registration

This package contains Front-end codebase for Keen.io embeddable registration component used for HubSpot integration. It allows to sign up users for the plans that do not require credit card details.

configuration

Argument Description
container HTML Element used to mount registration form
offerHandle Offer identifier used in registration process.
ctaLabel CTA button label.
apiUrl Keen API url.
onSuccess Success callback handler.
useOAuthProviders Show / hide OAuth providers.
oauthConfig OAuth applications configuration

CDN

<script src="https://cdn.jsdelivr.net/npm/@keen.io/embedded-registration@latest/dist/embedded-registration.min.js" type="text javascript"></script>

example

  new KeenEmbeddedRegistration({
    container: '#form',
    ctaLabel: "Get Started for Free",
    onSuccess: function() {},
    offerHandle: 'public-trial-30-days',
    apiUrl: 'https://keen.io',
  }).render();

npm scripts

List of useful commands that could be used by developers. Execution in the command-line interface should be prefixed with yarn package manager.

Command Description
start run application on localhost:8080.
build build the application UMD distribution.

Keywords

none

Install

npm i @keen.io/embedded-registration

DownloadsWeekly Downloads

253

Version

2.1.35

License

MIT

Unpacked Size

819 kB

Total Files

53

Last publish

Collaborators

  • avatar
  • avatar
  • avatar