Click or drag to resize
ApplicationBuilderExtensionsUseActivityTracking Method
Enables the activity tracking feature.

Namespace: Kentico.Activities.Web.Mvc
Assembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public static void UseActivityTracking(
	this IFeaturesBuilder builder
)

Parameters

builder
Type: Kentico.Web.MvcIFeaturesBuilder
The application builder.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IFeaturesBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Enabling the activity tracking feature prepares routes to be mapped once MapRoutes(RouteBuilderExtensionPoint) is called. Inherently this method must be called prior to system routes mapping.
See Also