Available in
Golang
-
Java
-
Lua
-
Node.js
-
Python
Check out our API Docs to getting started!
- Enabling logger with
toggleLogger(true)
if needed. - Creating a
Consumer
(e.g.DTLogConsumer
). - Initializing the
DTAnalytics
withConsumer
. - Using
track()
to track event. - Using
userXxx()
to track user event. - Manually flushing the buffer by
flush()
. - Gracefully closed by
close()
.