Skip to content

Commit 27337ad

Browse files
Add section on ISO date conversion
1 parent 6fc3880 commit 27337ad

File tree

1 file changed

+9
-0
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+9
-0
lines changed

src/connections/sources/catalog/libraries/website/javascript/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,15 @@ analytics.load('writekey', { obfuscate: true })
544544

545545
The `obfuscate` value is `false` by default.
546546

547+
#### ISO String Conversion
548+
By default, the Analytics.js library will convert ISO8061 strings to a Date object before passing it to downstream device-mode integrations. If you would like to disable this functionality and send those strings as they are passed to the event, you can use the load method to pass in the `disableAutoISOConversion` option.
549+
550+
For example:
551+
552+
```js
553+
analytics.load('writekey', { disableAutoISOConversion: true })
554+
```
555+
547556

548557
## Retries
549558

0 commit comments

Comments
 (0)