title: Am I doing/handling the GDPR privacy alert correctly inside my code
body: <p>I am working on an asp.net mvc core web application for users' registration within our system, and we have the following scenario:-</p>
  
  <p>1) when a user access the web application, they enter their registration number</p>
  
  <p>2) then they click on submit >> and fill the registration form.</p>
  
  <p>3) we want to track the users who enter step number one , but did not complete the registration.</p>
  
  <p>so since i am tracking users' actions, so i enable the GDPR inside my application by following these steps <a href="https://docs.microsoft.com/en-us/aspnet/core/security/gdpr?view=aspnetcore-2.2" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/core/security/gdpr?view=aspnetcore-2.2</a> . and using the following code, i am able to check if the user accept the privacy alert or not:-</p>
  
  <pre><code>var consentFeature = HttpContext.Features.Get&lt;ITrackingConsentFeature&gt;();
  var canTrack = consentFeature.CanTrack ;
  </code></pre>
  
  <p>and if the <code>canTrack</code> return true (the user accept the privacy alert) then i will track the users' action, while if the <code>canTrack</code>return false (the user did not accept the privacy alert) i will not track the user actions.. so am i going things correctly?</p>