
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@fullstory/segment-react-native-plugin-fullstory
Advanced tools
Integrate FullStory with your Segment analytics in your React-Native app.
EnrichmentPlugin
for FullStory. This is a segment analytics plugin that wraps @fullstory/react-native
.
Please make sure that your application is correctly set up with FullStory. See FullStory's React Native documentation to get started.
This plugin works in conjunction with @segment/analytics-react-native
. Follow Segment's installation instructions.
Install the @fullstory/segment-react-native-plugin-fullstory
and @fullstory/react-native
dependencies.
yarn add @fullstory/segment-react-native-plugin-fullstory @fullstory/react-native
# or
npm install --save @fullstory/segment-react-native-plugin-fullstory @fullstory/react-native
Run pod install
after the installation to autolink the FullStory SDK.
In your code where you initialize the analytics client call the .add({ plugin })
method with an FullStoryPlugin
instance.
// App.js
import { createClient } from '@segment/analytics-react-native';
import { FullStoryPlugin } from '@fullstory/segment-react-native-plugin-fullstory';
const segmentClient = createClient({
writeKey: 'SEGMENT_WRITE_KEY',
});
const plugin = new FullStoryPlugin({
// configurations
enableFSSessionUrlInEvents: true,
});
segmentClient.add({ plugin });
The plugin accepts a configuration object with the following properties:
Property | Description |
---|---|
enableFSSessionUrlInEvents | Insert FS session URL to Segment event properties. Defaults to true . |
allowlistAllTrackEvents | Send all track events as FS custom events. Defaults to false . |
enableIdentifyEvents | Enable Segment identify events to be sent as FS identify events. Defaults to true . |
allowlistTrackEvents | An array of event names to allow to send to FullStory. To allowlist all events, use allowlistAllTrackEvents . |
enableSendScreenAsEvents | Send screen events as FS custom events. Defaults to false . |
enableGroupTraitsAsUserVars | Enable group event traits to be passed into FS user vars. Defaults to false . |
We included a simple react native app that implements the plugin under ./example
. See example README for additional instructions.
MIT
1.0.1
Remove automatic type suffixing from FS api calls
Update "@fullstory/react-native" to v1.1.2
FAQs
Integrate FullStory with your Segment analytics in your React-Native app.
The npm package @fullstory/segment-react-native-plugin-fullstory receives a total of 1,935 weekly downloads. As such, @fullstory/segment-react-native-plugin-fullstory popularity was classified as popular.
We found that @fullstory/segment-react-native-plugin-fullstory demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.