npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vwo-insights-react-native-sdk

v0.0.4

Published

VWO Insights helps you analyze user behavior in your application based on interactions such as application launch, taps, scrolls, and flings. By attributing these actions to critical business events like purchases and sign-ups (which are considered conver

Downloads

237

Readme

VWO Insights React Native SDK

Deeply understand user experiences on React Native apps

VWO Insights helps you analyze user behavior in your application based on interactions such as application launch, taps, scrolls, and flings. By attributing these actions to critical business events like purchases and sign-ups (which are considered conversions), VWO Insights enables you to identify why users might not be converting. This tool is essential in the research stage of experience optimization, providing insights into what users are (or are not) doing in your application and helping to determine why.

Understanding user behavior through VWO Insights is the foundation of an effective optimization program, guiding you towards data-backed ideation and testing without relying on assumptions.

How it benefits you?

  • Rapid Issue Identification: Use session replays to quickly discover and resolve issues, reducing the time between problem identification and solution implementation.
  • Analyzing User Drop-Offs: Understand at which points users are leaving your app and the possible reasons behind their decisions, helping refine the user journey.
  • Enhancing Feature Adoption: Track how new features are used by actual users, and use insights to improve feature integration and user interface design.
  • Detecting UX Friction: Identify friction points in critical user journeys like onboarding or purchasing processes to streamline actions and reduce user frustration.
  • Generating A/B Testing Ideas: Analyze user behavior to come up with informed hypotheses for A/B testing, ensuring that tests are focused on areas with maximum impact potential.

Features

  • Session Recordings: Capture every user interaction within your React Native app to visually identify where users succeed or struggle, providing the context needed for precise enhancements.
  • Heatmaps: Gain visual insights into where users are most engaged on your app screens, helping identify popular areas and elements that don't receive intended interactions.
  • Conversion Funnels: Track the user journey from entry to conversion, pinpointing where potential customers drop off and understanding what drives conversions.

How to use

Android

After installing the SDK, initialize it within the onCreate() function of the MainApplication.java class. Copy the code below and replace the "ACCOUNT_ID" and "SDK_KEY" with the appropriate values from the dashboard.

import com.vwo.insights.VWOInsights;
import com.vwo.insights.events.VWOLog;
import com.vwo.insights.exposed.Integrations;
import com.vwo.insights.exposed.models.ClientConfiguration;
import com.vwo.insights.exposed.IVwoInitCallback;
import com.vwoinsightsreactnativesdk.VwoInsightsReactNativeSdkModule;


public class MainApplication extends Application implements ReactApplication {
    //..other code
    
    @Override
    public void onCreate() {
        super.onCreate();
        SoLoader.init(this,  false);

        VWOLog.INSTANCE.setLogLevel(VWOLog.ALL);

        VwoInsightsReactNativeSdkModule.init(this, ACCOUNT_ID, SDK_KEY, "");

        //..other code    
    }
    //..other code
}

iOS

Add the following key to your info.plist.

<key>NSPrincipalClass</key>
<string>VWOPrincipleClass</string>

React native implementation

In App.tsx file please add code below. Please replace the "ACCOUNT_ID" and "SDK_KEY" with the appropriate values from the dashboard.

import {config} from 'vwo-insights-react-native-sdk';

React.useEffect(() => {
    config(ACCOUNT_ID, SDK_KEY, '')
}, []);

Set Navigator Observer

import { NavigationContainer } from '@react-navigation/native';
import { setScreenName } from 'vwo-insights-react-native-sdk';

<NavigationContainer
          onStateChange={(state) => {
            setScreenName(state)}}>										
	<Stack.Navigator>
	//.. screens
	</Stack.Navigator>
</NavigationContainer>

Start Recording

If you want to start recording as soon as the application launches, start the session recording during the SDK initialization in App.tsx file.

import { config, startRecording } from 'vwo-insights-react-native-sdk';

React.useEffect(() => {
    // initialization in ios
    config(ACCOUNT_ID, SDK_KEY, '')

    // Auto start after lunch in both platform Android & ios.
    startRecording()
}, []);

If you want to start recording on press of a button.

import { startRecording } from 'vwo-insights-react-native-sdk';
// on button Click Event
onPress =() => {
    startRecording()
}

For more detailed usage instructions, please refer to our Developer Documentation.

Support

For any support queries or technical assistance, please contact our support team at [email protected]

License

Apache License, Version 2.0 Copyright 2024 Wingify Software Pvt. Ltd.