React/ Vue / Angular

Setting up ProductBird with React is nearly identical to the traditional setup.

Installation

npm i productbird --save-prod
yarn add productbird

Usage

Then just use the widget as normal:

import {init, identify} from 'productbird'
init("<your-api-key>")
identify({name: "Bobby Tables", userId: "1234", email: "Drops@tables.com"})

For more details on what each field does - then refer to the main docs