evently 0.1.0
evently: ^0.1.0 copied to clipboard
A Flutter SDK to track user events and analytics.
Evently #
A Flutter SDK to track user events and analytics.
Features #
- Initialize with a custom server URL.
- Log events with parameters (name, screenName, description).
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
evently: ^0.1.0
Usage #
Initialize the SDK in your main.dart:
import 'package:evently/evently.dart';
void main() {
Evently().initialize(serverUrl: 'https://api.example.com');
runApp(MyApp());
}
Log events:
Evently().logEvent(
'button_tap',
screenName: 'HomeScreen',
description: 'User tapped the start button',
);