skyanalytics

Creator: coderz1093

Last updated:

0 purchases

skyanalytics Image
skyanalytics Images

Languages

Categories

Add to Cart

Description:

skyanalytics

SkyAnalytics Flutter #
SkyAnalytics Flutter is an adapter for SkyAnalytics that allows you to track your website's traffic and user behavior.
Usage #
import 'package:skyanalytics_flutter/skyanalytics_flutter.dart';

const skyAnalytics = SkyAnalytics(
sourceKey: 'sourceKey',
host: 'https://example.com',
);

skyAnalytics.event(name: 'create_element');
skyAnalytics.navigate(screenName: 'home');
copied to clipboard
NavigatorObserver #
final navigatorObserver = SkyAnalyticsNavigatorObserver(skyAnalytics: skyAnalytics);

MaterialApp(
navigatorObservers: [navigatorObserver],
home: HomeScreen(),
);
copied to clipboard
Important: The SkyAnalyticsNavigatorObserver needs the RouteSettings to be set in order to track the screen name. If you are using the MaterialApp widget, the RouteSettings are automatically set. If you are using a custom Navigator, you need to set the RouteSettings manually.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.