Forms
Form submissions are the primary means of converting Visitors from Anonymous to Identified. The S4S Cloud service form mapping defines which forms should perform identification and returns the identifier with the response for a successful submission, which is then automatically applied.
Programmatic identification
Visitor identifiers can be set by calling the S4S Cloud library function:
S4SCloud.analytics.visitor.setIdentifier(visitorId);
The value provided must be a valid identifier for a Visitor record that exists within the S4S Cloud service for analytics functionality to work.