Click or drag to resize
AnalyticsHelperTrackUserRegistration Method
Logs user registration into the web analytics and if conversion name and value are set, the conversion is tracked.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 10.0.0
Syntax
C#
public static void TrackUserRegistration(
	string siteName,
	UserInfo user,
	string conversionName = null,
	double conversionValue = 0
)

Parameters

siteName
Type: SystemString
Site name.
user
Type: CMS.MembershipUserInfo
Registered user.
conversionName (Optional)
Type: SystemString
Name of the conversion which shall be tracked. If null or empty, conversion is not tracked.
conversionValue (Optional)
Type: SystemDouble
Conversion value.
Exceptions
ExceptionCondition
ArgumentNullExceptionArgument user cannot be null
See Also