Skip to content

Commit f9737b2

Browse files
zhu-xiaoweixiaoweii
andauthored
doc: change configure method to init in readme (#17)
Co-authored-by: xiaoweii <xiaoweii@amazom.com>
1 parent 3b01919 commit f9737b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ In addition to the required `appId` and `endpoint`, you can configure other info
107107
```typescript
108108
import { ClickstreamAnalytics, EventMode, PageType } from '@aws/clickstream-web';
109109

110-
ClickstreamAnalytics.configure({
110+
ClickstreamAnalytics.init({
111111
appId: "your appId",
112112
endpoint: "https://example.com/collect",
113113
sendMode: EventMode.Batch,

0 commit comments

Comments
 (0)