Difference between revisions of "ATC/Current/SDK/Identify"
From Genesys Documentation
DannaShirley (talk | contribs) (Published) |
DannaShirley (talk | contribs) (Published) |
||
Line 5: | Line 5: | ||
|TocName=identify | |TocName=identify | ||
|ComingSoon=No | |ComingSoon=No | ||
+ | |Dimension=DevTracking | ||
|Context=Learn how to use the <tt>identify</tt> method to add 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 | ||
Line 29: | Line 30: | ||
|alignment=Vertical | |alignment=Vertical | ||
|gif=No | |gif=No | ||
− | |structuredtext=* [[#loginID|loginId]] | + | |structuredtext=*[[#loginID|loginId]] |
− | * [[#traits|traits]] | + | *[[#traits|traits]] |
− | * [[#callback|callback]] | + | *[[#callback|callback]] |
|fullwidth=No | |fullwidth=No | ||
|Status=No | |Status=No | ||
Line 40: | Line 41: | ||
|alignment=Vertical | |alignment=Vertical | ||
|gif=No | |gif=No | ||
− | |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 |
− | * Status: required | + | *Status: required |
− | * Note: If loginId is null, the current identity will be cleared. | + | *Note: If loginId is null, the current identity will be cleared. |
|fullwidth=No | |fullwidth=No | ||
|Status=No | |Status=No | ||
Line 52: | Line 53: | ||
|alignment=Vertical | |alignment=Vertical | ||
|gif=No | |gif=No | ||
− | |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: A 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 together, see {{Link-SomewhereInThisVersion|manual=SDK|topic=Traits_mapper|display text=Traits mapper.}} | ||
Line 66: | Line 67: | ||
|alignment=Vertical | |alignment=Vertical | ||
|gif=No | |gif=No | ||
− | |structuredtext=* Description: callback | + | |structuredtext=*Description: callback |
− | * Type: function | + | *Type: function |
− | * Status: optional | + | *Status: optional |
|fullwidth=No | |fullwidth=No | ||
|Status=No | |Status=No | ||
}} | }} | ||
}} | }} |
Revision as of 19:06, January 14, 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!