You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explicitly set _initializationDeferred to false upon enabling tracking (when a user explicitly opts into analytics), move deferInitialization check where this._storageSuffix is actually defined (in the try block)
* set initializedDeferred = false in enableTracking()
* make sure this._storageSuffix is defined when cookies are being checked
* Added tests for sending events after tracking is enabled
* Added assertions to ensure that each test starts with a clean slate (no unsentEvents) before enabling tracking
0 commit comments