Difference between revisions of "ATC/Current/SDK/Identify"

From Genesys Documentation
Jump to: navigation, search
(Published)
(Published)
Line 5: Line 5:
 
|TocName=identify
 
|TocName=identify
 
|ComingSoon=No
 
|ComingSoon=No
|Context=The <tt>identify</tt> method adds information to a customer record.
+
|Context=Learn how to use the <tt>identify</tt> method to add information to a customer record.
 
|Section={{Section
 
|Section={{Section
 
|sectionHeading=Description
 
|sectionHeading=Description
Line 11: Line 11:
 
|alignment=Vertical
 
|alignment=Vertical
 
|gif=No
 
|gif=No
|structuredtext=The <tt>identify</tt> method adds information to a customer record.
+
|structuredtext=The <tt>identify</tt> method adds information to a customer record.  
 +
 
 +
{{NoteFormat|<tt>identify</tt> will affect the next web event sent via <tt>{{Link-SomewhereInThisVersion|manual=SDK|topic=Pageview}}</tt> or <tt>{{Link-SomewhereInThisVersion|manual=SDK|topic=Record}}</tt> method.}}
 
|fullwidth=No
 
|fullwidth=No
 
|Status=No
 
|Status=No

Revision as of 20:48, October 10, 2019

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

Learn how to use the identify method to add information to a customer record.

Description

The identify method adds information to a customer record.

Important
identify will affect the next web event sent via pageview or record method.

Signature

ac('identify', [loginId], [traits], [callback])

Arguments

login

  • Description: an Id that can be used to stitch customer identities together
  • Type: string/null
  • Status: required
  • Note: If loginId is null, the current identity will be cleared.

traits

  • Description: information about a customer
  • Type: object
  • Status: optional
  • Restrictions: A flat object with properties of type string, number, or boolean

For more information about how to link different customer records together, see Traits mapper.

callback

  • Description: callback
  • Type: function
  • Status: optional
Retrieved from "https://all.docs.genesys.com/ATC/Current/SDK/Identify (2025-07-26 12:43:39)"
Comments or questions about this documentation? Contact us for support!