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: CHANGELOG.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
@@ -1,5 +1,10 @@
1
1
## Unreleased
2
2
3
+
* Add `logEventWithTimestamp` to allow logging events with a custom timestamp. The timestamp should a number representing the time in milliseconds since epoch. See [documentation](https://rawgit.com/amplitude/Amplitude-Javascript/master/documentation/AmplitudeClient.html) for more details.
4
+
* Add configuration option `deviceIdFromUrlParam`, which when set to `true` will have the SDK parse device IDs from url parameter `amp_device_id` if available. Device IDs defined in the configuration options during init will take priority over device IDs from url parameters.
5
+
6
+
### 3.3.2 (October 28, 2016)
7
+
3
8
* Updated our [UA-parser-js](https://github.com/amplitude/ua-parser-js) fork to properly parse the version number for Chrome Mobile browsers.
| cookieExpiration | number | The number of days after which the Amplitude cookie will expire | 365\*10 (10 years) |
329
329
| cookieName | string | Custom name for the Amplitude cookie | 'amplitude_id' |
330
330
| deviceId | string | Custom device ID to set. Note this is not recommended unless you really know what you are doing (like if you have your own system for tracking user devices) | Randomly generated UUID |
331
+
| deviceIdFromUrlParam | boolean | If `true`, the SDK will parse device ID values from url parameter `amp_device_id` if available. Device IDs defined in the configuration options during init will take priority over device IDs from url parameters.
331
332
| domain | string | Custom cookie domain | The top domain of the current page's url |
332
333
| eventUploadPeriodMillis | number | Amount of time in milliseconds that the SDK waits before uploading events if`batchEvents` is `true`. |30\*1000 (30 sec) |
333
334
| eventUploadThreshold | number | Minimum number of events to batch together per request if`batchEvents` is `true`. |30|
0 commit comments