Difference between revisions of "ATC/Current/SDK/Identify"
From Genesys Documentation
m (Text replacement - "\|Platforms?=([^\|]*)PureEngage([\|]*)" to "|Platform=$1GenesysEngage-onpremises$2") |
|||
Line 2: | Line 2: | ||
|Standalone=No | |Standalone=No | ||
|DisplayName=identify | |DisplayName=identify | ||
− | |Platform= | + | |Platform=GenesysEngage-onpremises, PureConnect, PureCloud |
|TocName=identify | |TocName=identify | ||
|ComingSoon=No | |ComingSoon=No |
Revision as of 11:45, July 15, 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!