registrationStart

public boolean registrationStart(    String userId,     String username,     String email,     Map<String, Object> properties)

Starts a registration moment.

This method should be called as soon as a user wishes to submit their user registration info. This method is designed specifically for cases where the registration occurs through an internally managed service as opposed to an external service (e.g. Google, Facebook, GitHub Login).

Return

True if the operation was successful; false otherwise.

Parameters

userId

An identifier that uniquely represents the user (e.g. frequent flyer number). This value is optional and, if present, will associate the value as a property of the moment.

username

The username of the user. This value is optional and, if present, will associate the value as a property of the moment.

email

The email address of the user. This value is optional and, if present, will associate the value as a property of the moment.

properties

A map of Strings to Objects that represent additional properties to associate with the moment. This value is optional. A maximum of 10 properties (not including the ones set via arguments to this method) may be set.


public boolean registrationStart(String source, Map<String, Object> properties)

Starts a registration moment.

This method should be called as soon as a user wishes to submit their user registration info. This method is designed specifically for cases where the registration occurs through an external authentication service (e.g. Google, Facebook, GitHub Login).

Return

True if the operation was successful; false otherwise.

Parameters

source

The registration system that will be authenticating the user. This value is optional and, if present, will associate the value as a property of the moment.

properties

A map of Strings to Objects that represent additional properties to associate with the moment. This value is optional. A maximum of 10 properties (not including the ones set via arguments to this method) may be set.