Difference between revisions of "ATC/Current/SDK/Forms: track"
From Genesys Documentation
DannaShirley (talk | contribs) (Published) |
DannaShirley (talk | contribs) (Published) |
||
Line 36: | Line 36: | ||
|alignment=Vertical | |alignment=Vertical | ||
|gif=No | |gif=No | ||
− | |structuredtext=* Description: | + | |structuredtext=* Description: The element you want to track. |
* Type: string | * Type: string | ||
* Status: optional | * Status: optional | ||
Line 48: | Line 48: | ||
|alignment=Vertical | |alignment=Vertical | ||
|gif=No | |gif=No | ||
− | |structuredtext=* Description: | + | |structuredtext=* Description: The activity or behavior that you want to track. |
* Type: object | * Type: object | ||
* Status: optional | * Status: optional |
Revision as of 12:01, May 10, 2019
This topic is part of the manual Journey JavaScript SDK for version Current of Genesys Predictive Engagement.
The forms:track method
Description
The forms:track method tracks form-level activity.
Signature
ac('forms:track', [selector], [options]);
Arguments
selector
- Description: The element you want to track.
- Type: string
- Status: optional
- Default: form
options
- Description: The activity or behavior that you want to track.
- Type: object
- Status: optional
- Default: {}
- Properties:
Name | Description | Type | Status | Default | Arguments |
captureFormDataOnAbandon | boolean | optional | true | ||
captureFormDataOnSubmit | boolean | optional | true | ||
transform | function | optional | formDataObject | ||
traitsMapper | traitsMapper |
Comments or questions about this documentation? Contact us for support!