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

From Genesys Documentation
Jump to: navigation, search
m (Text replacement - "\|Platform=([^\|]*)GenesysEngage-onpremises([\|]*)" to "|Platform=$1GenesysEngage-cloud$2")
(Published)
Line 2: Line 2:
 
|Standalone=No
 
|Standalone=No
 
|DisplayName=identify
 
|DisplayName=identify
|Platform=GenesysEngage-cloud, PureConnect, GenesysCloud
 
 
|TocName=identify
 
|TocName=identify
 +
|Context=Learn how to use the <tt>identify</tt> method to add information to a customer record.
 +
|Dimension=DevTracking
 
|ComingSoon=No
 
|ComingSoon=No
|Dimension=DevTracking
+
|Platform=PureConnect, GenesysCloud, GenesysEngage-cloud
|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
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Vertical
 
|alignment=Vertical
 
|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.}}
+
{{NoteFormat|<tt>identify</tt> affects the next web event sent using the <tt>{{Link-SomewhereInThisVersion|manual=SDK|topic=Pageview}}</tt> or <tt>{{Link-SomewhereInThisVersion|manual=SDK|topic=Record}}</tt> method.|}}
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=Signature
 
|sectionHeading=Signature
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Vertical
 
|alignment=Vertical
 
|structuredtext=<tt>ac('identify', [loginId], [traits], [callback])</tt>
 
|structuredtext=<tt>ac('identify', [loginId], [traits], [callback])</tt>
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=Arguments
 
|sectionHeading=Arguments
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Vertical
 
|alignment=Vertical
 
|structuredtext=*[[#loginID|loginId]]
 
|structuredtext=*[[#loginID|loginId]]
 
*[[#traits|traits]]
 
*[[#traits|traits]]
 
*[[#callback|callback]]
 
*[[#callback|callback]]
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=login
 
|sectionHeading=login
 
|anchor=login
 
|anchor=login
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Vertical
 
|alignment=Vertical
|structuredtext=*Description: an Id that can be used to stitch customer identities together
+
|structuredtext=*'''Description:''' ID used to stitch customer identities together
*Type: string/null
+
*'''Type:''' String/null
*Status: required
+
*'''Status:''' Required
*Note: If loginId is null, the current identity will be cleared.
+
*'''Note:''' If loginId is null, the current identity is cleared.
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=traits
 
|sectionHeading=traits
 
|anchor=traits
 
|anchor=traits
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Vertical
 
|alignment=Vertical
|structuredtext=*Description: information about a customer
+
|structuredtext=*'''Description:''' Information about a customer
*Type: object
+
*'''Type:''' Object
*Status: optional
+
*'''Status:''' Optional
*Restrictions: A flat object with properties of type string, number, or boolean
+
*'''Restrictions:''' Flat object with properties of type string, number, or Boolean
  
For more information about how to link different customer records together, see {{Link-SomewhereInThisVersion|manual=SDK|topic=Traits_mapper|display text=Traits mapper.}}
+
For more information about how to link different customer records, see {{Link-SomewhereInThisVersion|manual=SDK|topic=Traits_mapper|display text=Traits mapper.}}
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
 
|sectionHeading=callback
 
|sectionHeading=callback
 
|anchor=callback
 
|anchor=callback
|Standalone=No
 
|ComingSoon=No
 
 
|alignment=Vertical
 
|alignment=Vertical
|structuredtext=*Description: callback
+
|structuredtext=*'''Description:''' Callback
*Type: function
+
*'''Type:''' Function
*Status: optional
+
*'''Status:''' Optional
|fullwidth=No
 
 
|Status=No
 
|Status=No
 
}}
 
}}
 
}}
 
}}

Revision as of 19:31, December 16, 2020

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 affects the next web event sent using the pageview or record method.

Signature

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

Arguments

login

  • Description: ID used to stitch customer identities together
  • Type: String/null
  • Status: Required
  • Note: If loginId is null, the current identity is cleared.

traits

  • Description: Information about a customer
  • Type: Object
  • Status: Optional
  • Restrictions: Flat object with properties of type string, number, or Boolean

For more information about how to link different customer records, 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:44:20)"
Comments or questions about this documentation? Contact us for support!