analytics_hub 0.1.0
analytics_hub: ^0.1.0 copied to clipboard
A unified analytics abstraction for Dart/Flutter. Send events to multiple backends (Firebase, Mixpanel, etc.) through one API with typed e-commerce events and session support.
0.1.0 - 2026-02-11 #
Added #
- Public API documentation (
public_member_api_docs) for all core types:AnalyticsHub, events, providers, session, and resolvers. - Extended e-commerce event model with typed events and data classes:
AddToCart,AddToWishlist,ViewCart,AddPaymentInfo,AddShippingInfo,BeginCheckout,Purchase,RemoveFromCart,SelectItem,ViewItem,ViewItemList,ViewPromotion,Refund, andECommerceEventItem.
0.0.1 - 2026-02-10 #
Added #
- Initial implementation of
AnalyticsHubto fan-out events to multiple analytics providers. - Core event hierarchy:
Event,LogEvent,CustomLogEvent<T>,ECommerceEventandSelectPromotionECommerceEvent. - Provider abstraction:
AnalytycsProvider<R>,ProviderKey<R>,HubSessionDelegateandSessionfor centralized session management.