Difference between revisions of "ATC/Current/SDK/Identify"
From Genesys Documentation
DannaShirley (talk | contribs) (Published) |
|||
Line 9: | Line 9: | ||
|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. | ||
Line 19: | Line 19: | ||
}}{{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 | |fullwidth=No | ||
Line 27: | Line 27: | ||
}}{{Section | }}{{Section | ||
|sectionHeading=Arguments | |sectionHeading=Arguments | ||
− | | | + | |Standalone=No |
+ | |ComingSoon=No | ||
|alignment=Vertical | |alignment=Vertical | ||
− | |||
|structuredtext=*[[#loginID|loginId]] | |structuredtext=*[[#loginID|loginId]] | ||
*[[#traits|traits]] | *[[#traits|traits]] | ||
Line 37: | Line 37: | ||
}}{{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: an Id that can be used to stitch customer identities together | ||
*Type: string/null | *Type: string/null | ||
Line 49: | Line 49: | ||
}}{{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 | ||
Line 63: | Line 63: | ||
}}{{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 |
Revision as of 13:34, January 17, 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.
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
Comments or questions about this documentation? Contact us for support!