analytics_inspector 1.0.2 copy "analytics_inspector: ^1.0.2" to clipboard
analytics_inspector: ^1.0.2 copied to clipboard

A simple inspector to plug to your analytics events to help debugging them without needing Debug View

A simple inspector to plug to your analytics events to help debugging them without needing Debug View

Features #

Whoever worked with Firebase Analytics Debug View knows how much it sucks. In most of the cases we just need a straight forward way of knowing if our events are being sent or not.

This package adds this thin layer that can be plugged to your analytics and you can use the data to determine if the correct events and parameters are being sent.

Getting started #

Using this is as simple as adding events or screen events:

AnalyticsInspector.instance.logEvent(
        'my_event_name', {
        'parameter1': 'value1',
    },
);
AnalyticsInspector.instance.logScreenEvent(
        'screen_name', {
        'parameter1': 'value1',
    },
);

The package them exposes 2 streams for working with both Events and Screen Events:

final events = AnalyticsInspector.instance.events;
final screenEvents = AnalyticsInspector.instance.screenEvents;

The package is not opinionated on how this information should be displayed. The streams are exposed and is up to you to display the way you want it.

1
likes
0
points
1.12k
downloads

Publisher

verified publisherrodrigobastos.dev

Weekly Downloads

A simple inspector to plug to your analytics events to help debugging them without needing Debug View

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable, flutter

More

Packages that depend on analytics_inspector