Skip to content

Commit d5bfe23

Browse files
committed
re-add analytics
1 parent 588a5fb commit d5bfe23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ func NewClient(apiKey string, options ...Option) (*Client, error) {
108108
}
109109
}
110110

111+
// Initialise analytics processor
112+
if c.ctxAnalytics != nil {
113+
c.analyticsProcessor = NewAnalyticsProcessor(c.ctxAnalytics, c.client, c.baseURL, nil, c.log)
114+
}
115+
111116
return c, nil
112117
}
113118

0 commit comments

Comments
 (0)