Click or drag to resize
IABTestLoggerLogConversion Method
Logs A/B test conversion.

Namespace: Kentico.OnlineMarketing.Web.Mvc
Assembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
void LogConversion(
	string conversionName,
	string siteName,
	string itemIdentifier = null,
	[OptionalAttribute] decimal defaultValue,
	int count = 1,
	string culture = null
)

Parameters

conversionName
Type: SystemString
Name of conversion registered in system.
siteName
Type: SystemString
Site name where conversion occurred.
itemIdentifier (Optional)
Type: SystemString
Identifier of object connected to conversion.
defaultValue (Optional)
Type: SystemDecimal
Default value used for logging. This value has lower priority than the conversion default value defined in the A/B testing application.
count (Optional)
Type: SystemInt32
Number of conversions that occurred - 1 by default.
culture (Optional)
Type: SystemString
Culture name connected to conversion - current thread culture is used if not specified.
See Also