Skip to content

AspNet Request Tracking Consent Layout Renderer

Rolf Kristensen edited this page Jul 24, 2022 · 3 revisions

ASP.NET Tracking Consent

Platforms Supported: Limited (Only supported in Asp.NetCore)

Introduced with NLog.Web.AspNetCore v5.1.0

Configuration Syntax

${aspnet-request-tracking-consent:property=CanTrack}

Options

  • Property - Enum Values:
    • CanTrack - Indicates either if consent has been given (1), or if consent is not required (0)
    • HasConsent - Indicates if consent was given.
    • IsConsentNeeded - Indicates if consent is required for the given request.
Clone this wiki locally