Skip to content

Commit a370604

Browse files
committed
Adding base invoke metric to analytics-next
1 parent 0a30f38 commit a370604

File tree

1 file changed

+1
-0
lines changed
  • packages/browser/src/core/analytics

1 file changed

+1
-0
lines changed

packages/browser/src/core/analytics/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ export class Analytics
516516
callback?: Callback
517517
): Promise<DispatchedEvent> {
518518
const ctx = new Context(event)
519+
ctx.stats.increment('analytics_js.invoke', 1, [event.type])
519520
if (isOffline() && !this.options.retryQueue) {
520521
return ctx
521522
}

0 commit comments

Comments
 (0)