wingify_insights_flutter_sdk 2.6.1
wingify_insights_flutter_sdk: ^2.6.1 copied to clipboard
Wingify Insights helps you analyze user behavior in your application based on interactions such as application launch, taps, scrolls, and flings.
Wingify Insights Flutter SDK #
Deeply understand user experiences on Flutter apps #
Wingify 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), Wingify 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 Wingify 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 Flutter 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.
How to use #
Android #
package com.wingify.demo.insights_flutter_demo
import android.util.Log
import com.wingify.insights.WingifyInsights
import com.wingify.insights.exposed.IWingifyInitCallback
import com.wingify.insights.exposed.models.ClientConfiguration
import com.wingify.insights.events.WingifyLog
import io.flutter.app.FlutterApplication
class MyApp : FlutterApplication() {
override fun onCreate() {
super.onCreate()
WingifyLog.setLogLevel(WingifyLog.ALL)
val configuration = ClientConfiguration(accountNo, key);
WingifyInsights.init(this, object : IWingifyInitCallback {
override fun wingifyInitSuccess(message: String) {
Log.e("Wingify", "FLUTTER_DEBUG: SUCCESS -> $message")
WingifyInsights.startSessionRecording()
}
override fun wingifyInitFailed(message: String) {
Log.e("Wingify", "FLUTTER_DEBUG: FAILURE -> $message")
}
}, configuration)
}
}
Update the manifest file to
android:name=".MyApp"
iOS #
Initialize SDK
import UIKit
import Wingify_Insights
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
Wingify.configure(accountId:"" , sdkKey: "", userId: ""){
Wingify.startSessionRecording()
}
return true
}
}
Common for iOS and Android #
Set navigator observer in MaterialApp
return MaterialApp(
title: 'Flutter Demo',
routes: {
"/": (context) => const DemoScreen(),
'/Screen1': (context) => Screen1(),
'/Screen2': (context) => Screen2(),
},
navigatorObservers: [
WingifyNavigatorObserver(),
YourNavigatorObserverIfNeeded(),
],
);
User identity #
Switch user without killing the app process:
final success = await WingifyFlutter.setUserId("new-user-id");
if (success) {
// The Android SDK has finished refreshing config for the new user.
// Start recording again after the switch completes.
await WingifyFlutter.startRecording();
}
Logout (clears SDK identity/session state):
await WingifyFlutter.logout();
For more detailed usage instructions, please refer to our Developer Documentation.
Migrating from VWO Insights #
If you integrated the app using vwo_insights_flutter_sdk and VWO-branded APIs, see the VWO → Wingify Migration Guide for imports, class renames, and native Android/iOS changes.
Support #
For any support queries or technical assistance, please contact our support team at support@vwo.com
License #
Apache License, Version 2.0 Copyright 2024 Wingify Software Pvt. Ltd.