Skip to content

Commit f57018a

Browse files
authored
Update README.md
1 parent 601b6c7 commit f57018a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Swetrix swetrix = Swetrix.builder("YOUR_PROJECT_ID")
1313
swetrix.trackPageView("/"); // Tracking page views is easy.
1414

1515
swetrix.track("my_custom_event", false); // You can also track custom events.
16+
17+
swetrix.startHeartbeat(); // This updates your "Live visitors" statistic in Swetrix.
1618
```
1719

1820
## Installation (Maven)
@@ -37,4 +39,4 @@ swetrix.track("my_custom_event", false); // You can also track custom events.
3739
## TODO
3840
- [x] Page View Tracking
3941
- [x] Custom Event Tracking
40-
- [x] Heartbeats
42+
- [x] Heartbeats

0 commit comments

Comments
 (0)