Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit d8428dc

Browse files
committed
Update trackEvent parameters
1 parent 686491d commit d8428dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/includes/_embed2.md.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,9 @@ An optional second argument `options` can be passed. These options may be helpfu
467467
This action requires the Ada Engage Campaigns feature.
468468

469469
#### trackEvent
470-
`trackEvent(trackEventParams: object)`
470+
`trackEvent(eventKey: string, value?: number, meta?: object)`
471471

472-
Used to track an Event. The object passed to this function can have the following keys:
472+
Used to track an Event. The arguments to this function are:
473473
`eventKey: string`: (required) the key of the Event to track.
474474
`value?: number`: an optional value to assign to the Event.
475475
`meta?: object`: an option object containing metadata corresponding to the Event.

0 commit comments

Comments
 (0)