forms: track

From Genesys Documentation
Revision as of 20:46, October 10, 2019 by DannaShirley (talk | contribs) (Published)
Jump to: navigation, search
This topic is part of the manual Journey JavaScript SDK for version Current of Genesys Predictive Engagement.

Learn how to use theforms:track method to capture when users complete web-based forms.

Description

The forms:track method tracks form-level activity. See also Form Tracking API.

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      
Retrieved from "https://all.docs.genesys.com/ATC/Current/SDK/Forms:track (2024-11-09 11:38:32)"
Comments or questions about this documentation? Contact us for support!