Package Exports
- react-fullstory-component
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-fullstory-component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Synopsis 
This is a ReactJS Component and library that is used bring FullStory into your webpage.
Motivation
I built this to make it easy to integrate FullStory services into a ReactJS based application.
Installation
npm install react-fullstory-componentComponent Code Examples
Basic Example
const settings = {
debug: false,
host: 'www.fullstory.com',
orgKey: 'fake'
};
const data = {
key: value
};
const sessionId = '123456789';
const jsx = <FullStory settings={settings} sessionId={sessionId} custom={data} />;IFrame Example
This is an example for FullStory for an iframe that is not in the same domain as the parent
const settings = {
host: 'www.fullstory.com',
orgKey: 'fake',
iframe: true
};
const sessionId = '123456789';
const jsx = <FullStory settings={settings} sessionId={sessionId} />;API Reference
IF you want to just use the wrapper library around used by the component, the following describes the exposed api and how to leverage it.
Tests
There are two scripts to run test
npm run test
npm run test-watch- Requires Node Version 4+ to run tests.
License
MIT