You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,7 @@ You can configure Amplitude by passing an object as the third argument to the `i
102
102
| batchEvents | If `true`, events are batched together and uploaded only when the number of unsent events is greater than or equal to `eventUploadThreshold` or after `eventUploadPeriodMillis` milliseconds have passed since the first unsent event was logged. |`false`|
103
103
| eventUploadThreshold | Minimum number of events to batch together per request if `batchEvents` is `true`. | 30 |
104
104
| eventUploadPeriodMillis | Amount of time in milliseconds that the SDK waits before uploading events if `batchEvents` is `true`. | 30*1000 |
105
+
| deviceId | Custom device ID to set | "" |
105
106
106
107
107
108
# Advanced #
@@ -113,3 +114,7 @@ By default, no version name is set. You can specify a version name to distinguis
113
114
amplitude.setVersionName("VERSION_NAME_HERE");
114
115
115
116
User IDs are automatically generated and stored in cookies if not specified.
117
+
118
+
Device IDs are generated randomly, although you can define a custom device ID setting it as a configuration option or by calling:
0 commit comments