November Happy Hour will be moved to Thursday December 5th.

Class DoNotTrackPersonalizationEvaluator

An implementation of IPersonalizationEvaluator that checks if Do Not Track header (DNT) is present on request and if so disables personalization.

Inheritance
System.Object
DoNotTrackPersonalizationEvaluator
Namespace: EPiServer.Personalization
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public class DoNotTrackPersonalizationEvaluator : Object, IPersonalizationEvaluator

Constructors

DoNotTrackPersonalizationEvaluator(IHttpContextAccessor)

Creates a new instance of DoNotTrackPersonalizationEvaluator

Declaration
public DoNotTrackPersonalizationEvaluator(IHttpContextAccessor requestAccessor)
Parameters
Type Name Description
Microsoft.AspNetCore.Http.IHttpContextAccessor requestAccessor

Methods

Personalize()

Declaration
public bool Personalize()
Returns
Type Description
System.Boolean

Implements

Extension Methods