@itly/plugin-segment-react-native
v2.4.0
Published
Segment React Native Plugin for Iteratively SDK
Downloads
14
Readme
Segment React Native Plugin for Iteratively SDK
Installation
yarn add @segment/analytics-react-native
Segment Iteratively plugin
yarn add @itly/plugin-segment-react-native
Initialization
import SegmentPlugin from '@itly/plugin-segment-react-native';
itly.load({
...
plugins: [
...
new SegmentPlugin('my-write-key'),
],
...
});
Linking
If you are using an older version of React Native that doesn't support auto-linking you may need to follow additional setup steps.
Read full setup instructions for Segment SDK for more information.