GrowingHybridCustomEvent
GrowingWKWebViewJavascriptBridge
1
2
+ (BOOL)webViewDontTrackCheck:(WKWebView *)webView;
-(BOOL) growingViewDontTrack;
GrowingWKWebViewJavascriptBridge_JS
GrowingTrackConfiguration
GrowingDeviceInfo
GrowingKeyChainWrapper
GrowingFileStorage
GrowingDispatchManager
GrowingEncryptionService
GrowingDataEncoder
WKWebView (GrowingAutotracker)
GrowingHybridBridgeProvider
GrowingRealAutotracker
GrowingSession
GrowingEventProtobufPersistence
GrowingBaseBuilder
GrowingBaseEvent
- (instancetype)initWithBuilder:(GrowingBaseBuilder *)builder;
GrowingEventInterceptor
GrowingDebuggerEventQueue
GrowingCdpEventInterceptor
GrowingAutotrackConfiguration
GrowingEventGenerator
1
2
3
4
5
6
7
+ (void)generateVisitEvent;
+ (void)generateCustomEvent:(NSString *_Nonnull)name
attributes:(NSDictionary<NSString *, NSObject *> *_Nullable)attributes;
+ (void)generateConversionAttributesEvent:(NSDictionary<NSString *, NSObject *> *_Nonnull)variables;
+ (void)generateLoginUserAttributesEvent:(NSDictionary<NSString *, NSObject *> *_Nonnull)attributes;
+ (void)generateVisitorAttributesEvent:(NSDictionary<NSString *, NSObject *> *_Nonnull)attributes;
+ (void)generateAppCloseEvent;
GrowingEventManager
1
- (void)writeToDatabaseWithEvent:(GrowingBaseEvent *)event;
GrowingViewClickProvider
GrowingPageManager
GrowingViewControllerLifecycle
Graph
GrowingRealAutotracker + GrowingAutotrackConfiguration + GrowingCdpEventInterceptor -> GrowingAutotracker
Event (EventGenerator)—>builder—> Builder —> build—>Event
PostEvent(GrowingEventManager)
Dispatch(GrowingDispatchManager)
Interceptor —> growingEventManagerEventWillBuild (prepare builder with configuration)
Interceptor—> growingEventManagerEventDidBuild (prepare event)
References
https://github.com/growingio/growingio-sdk-ios-autotracker
https://growingio.github.io/growingio-sdk-docs/docs/Measurement%20Protocol