1.1.5 • Published 12 months ago

userbased-js v1.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

UserbasedJS

Install the SDK

with npm

npm i userbased-js --save

with yarn

yarn add userbased-js

Initialize the SDK

  • Call the init() function with configuration options (api_key, userbased_config) as soon as you can in your application. Leave the userbased_config empty unless otherwise instructed.
  • Identify users after login by calling identify(your-user-id) as soon as possible. Without identifying users, the SDK will not start recording.

Initialization Examples

React

import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import userbased from 'userbased-js';


userbased.init('your_api_key')
userbased.identify('your_user_id')

ReactDOM.render(<App />, document.getElementById('root'));
1.1.5

12 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.0.12

12 months ago

1.0.11

12 months ago

1.0.10

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago