Difference between revisions of "ATC/Current/SDK/Forms: track"

From Genesys Documentation
Jump to: navigation, search
(Published)
(Published)
Line 4: Line 4:
 
|Platform=PureEngage, PureConnect, PureCloud
 
|Platform=PureEngage, PureConnect, PureCloud
 
|TocName=forms:track
 
|TocName=forms:track
|ComingSoon=No
+
|Context=The <tt>forms:track</tt> method
|Context=Learn how to use the<tt>forms:track</tt> method to capture when users complete web-based forms.
 
 
|Section={{Section
 
|Section={{Section
 
|sectionHeading=Description
 
|sectionHeading=Description
Line 11: Line 10:
 
|alignment=Vertical
 
|alignment=Vertical
 
|gif=No
 
|gif=No
|structuredtext=The <tt>forms:track</tt> method tracks form-level activity. See also {{Link-SomewhereInThisVersion|manual=SDK|topic=Form_tracking_API}}.
 
 
|fullwidth=No
 
|fullwidth=No
|Status=No
 
 
}}{{Section
 
}}{{Section
 
|sectionHeading=Signature
 
|sectionHeading=Signature
Line 21: Line 18:
 
|structuredtext=<tt>ac('forms:track', [selector], [options]);</tt>
 
|structuredtext=<tt>ac('forms:track', [selector], [options]);</tt>
 
|fullwidth=No
 
|fullwidth=No
|Status=No
 
 
}}{{Section
 
}}{{Section
 
|sectionHeading=Arguments
 
|sectionHeading=Arguments
Line 30: Line 26:
 
* [[#options|options]]
 
* [[#options|options]]
 
|fullwidth=No
 
|fullwidth=No
|Status=No
 
 
}}{{Section
 
}}{{Section
 
|sectionHeading=selector
 
|sectionHeading=selector
Line 36: Line 31:
 
|alignment=Vertical
 
|alignment=Vertical
 
|gif=No
 
|gif=No
|structuredtext=* Description: The element you want to track.
+
|structuredtext=* Description:
 
* Type: string
 
* Type: string
 
* Status: optional
 
* Status: optional
 
* Default: form
 
* Default: form
 
|fullwidth=No
 
|fullwidth=No
|Status=No
 
 
}}{{Section
 
}}{{Section
 
|sectionHeading=options
 
|sectionHeading=options
Line 48: Line 42:
 
|alignment=Vertical
 
|alignment=Vertical
 
|gif=No
 
|gif=No
|structuredtext=* Description: The activity or behavior that you want to track.
+
|structuredtext=* Description:
 
* Type: object
 
* Type: object
 
* Status: optional
 
* Status: optional
Line 91: Line 85:
 
{{!}}}
 
{{!}}}
 
|fullwidth=No
 
|fullwidth=No
|Status=No
 
 
}}
 
}}
 
}}
 
}}

Revision as of 18:35, November 2, 2019

This topic is part of the manual Journey JavaScript SDK for version Current of Genesys Predictive Engagement.

The forms:track method

Description


Signature

ac('forms:track', [selector], [options]);

Arguments

selector

  • Description:
  • Type: string
  • Status: optional
  • Default: form

options

  • Description:
  • 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      
Retrieved from "https://all.docs.genesys.com/ATC/Current/SDK/Forms:track (2024-10-06 18:56:40)"
Comments or questions about this documentation? Contact us for support!