visenze_tracking_sdk 0.0.4-dev.1 copy "visenze_tracking_sdk: ^0.0.4-dev.1" to clipboard
visenze_tracking_sdk: ^0.0.4-dev.1 copied to clipboard

outdated

Flutter plugin for tracking for ViSenze console users. Created for Flutter iOS, Android and Web apps.

visenze-tracking-sdk #

Pub Platform License Null Safety

Overview #

Visenze Analytics is a key part of your analytics solutions, allowing you to track key events and view the resulting analytics and performance data.

The ViSenze Tracking SDK is an open source software for easy integration of ViSearch Tracking API with your flutter application. For source code and references, visit the GitHub repository.

Usage #

Initialize #

import 'package:visenze_tracking_sdk/visenze_tracker.dart';

Future<void> init() async {
  var tracker = await VisenzeTracker.create('MY_APP_KEY:MY_PLACEMENT_ID');
}

Setting user id #

tracker.userId = 'MY_UID'

Getting tracking data #

String uid = tracker.userId;
String sid = tracker.sessionId;

Sending events #

tracker.send('product_view', {'queryId': '1234', 'pid': 'Product Id'});

Sending batch events #

const transactions = [
  {'queryId': '1234', 'pid': 'Pid 1', 'value': 50},
  {'queryId': '1234', 'pid': 'Pid 2', 'value': 100}
];
tracker.sendEvents('transactions', transactions);
0
likes
0
points
45
downloads

Documentation

Documentation

Publisher

verified publishervisenze.com

Weekly Downloads

Flutter plugin for tracking for ViSenze console users. Created for Flutter iOS, Android and Web apps.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

clock, device_info_plus, flutter, http, shared_preferences, universal_io, uuid

More

Packages that depend on visenze_tracking_sdk