Skip to content

Commit 694f3aa

Browse files
authored
Update README.md
1 parent 6f04c21 commit 694f3aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/node/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,5 @@ console.log(unflushedEvents) // all events that came in after closeAndFlush was
110110
analytics.on('error', (err) => console.error(err))
111111

112112
// subscribe to a specific event
113+
analytics.on('track', (ctx) => console.log(ctx))
114+
```

0 commit comments

Comments
 (0)