From fc4dab5b7154faa69f1f6551a17a64b4a19dbc85 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 Aug 2025 16:14:32 +0000 Subject: [PATCH 1/3] Initial plan From 0e3fabf84f73514640d188fd9fd3845c1e657e35 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 Aug 2025 16:23:41 +0000 Subject: [PATCH 2/3] Implement comprehensive cookie consent management for Microsoft Clarity and Google Analytics Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com> --- EssentialCSharp.Web/Views/Home/Privacy.cshtml | 91 +++- .../Views/Shared/_Layout.cshtml | 26 +- .../wwwroot/js/consent-manager.js | 459 ++++++++++++++++++ 3 files changed, 573 insertions(+), 3 deletions(-) create mode 100644 EssentialCSharp.Web/wwwroot/js/consent-manager.js diff --git a/EssentialCSharp.Web/Views/Home/Privacy.cshtml b/EssentialCSharp.Web/Views/Home/Privacy.cshtml index af4fb195..46a778c6 100644 --- a/EssentialCSharp.Web/Views/Home/Privacy.cshtml +++ b/EssentialCSharp.Web/Views/Home/Privacy.cshtml @@ -3,4 +3,93 @@ }

@ViewData["Title"]

-

Use this page to detail your site's privacy policy.

+
+
+
+

Privacy Policy

+

At Essential C#, we are committed to protecting your privacy and ensuring you have a positive experience on our website.

+ +

Information We Collect

+

We collect information to provide better services to our users. The types of information we collect include:

+
    +
  • Usage Information: How you interact with our website, including pages visited, time spent, and navigation patterns
  • +
  • Technical Information: Browser type, operating system, IP address, and device information
  • +
  • Account Information: When you create an account, we collect your email address and any profile information you provide
  • +
+ +

How We Use Your Information

+

We use the information we collect to:

+
    +
  • Provide and improve our services
  • +
  • Analyze website usage to enhance user experience
  • +
  • Communicate with you about updates and features
  • +
  • Ensure website security and prevent fraud
  • +
+ +

Cookies and Tracking Technologies

+

We use cookies and similar technologies to enhance your browsing experience. Our website uses:

+
    +
  • Essential Cookies: Required for basic website functionality
  • +
  • Analytics Cookies: Help us understand how you use our site (Google Analytics, Microsoft Clarity)
  • +
  • Advertising Cookies: Used to deliver relevant advertisements
  • +
+ +

You can manage your cookie preferences at any time by clicking the "Cookie Preferences" link in our footer.

+ +
+ +
+ +

Your Rights

+

Depending on your location, you may have certain rights regarding your personal information:

+
    +
  • Access to your personal information
  • +
  • Correction of inaccurate information
  • +
  • Deletion of your personal information
  • +
  • Restriction of processing
  • +
  • Data portability
  • +
  • Objection to processing
  • +
+ +

Third-Party Services

+

Our website uses the following third-party services that may collect information:

+
    +
  • Google Analytics: Web analytics service provided by Google Inc.
  • +
  • Microsoft Clarity: User behavior analytics service provided by Microsoft Corporation
  • +
+ +

Data Retention

+

We retain your information only as long as necessary to provide our services and fulfill the purposes outlined in this privacy policy.

+ +

International Transfers

+

Your information may be transferred to and processed in countries other than your own. We ensure appropriate safeguards are in place for such transfers.

+ +

Contact Us

+

If you have questions about this privacy policy or your personal information, please contact us through our GitHub repository or at the contact information provided on IntelliTect's Privacy Policy.

+ +

Changes to This Policy

+

We may update this privacy policy from time to time. We will notify you of any material changes by posting the new policy on this page.

+ +

Last updated: @DateTime.Now.ToString("MMMM dd, yyyy")

+
+
+
+
+
Quick Actions
+
+
+
+ + + IntelliTect Privacy Policy + +
+
+
+
+
+
diff --git a/EssentialCSharp.Web/Views/Shared/_Layout.cshtml b/EssentialCSharp.Web/Views/Shared/_Layout.cshtml index e92bdb0c..9ef8c726 100644 --- a/EssentialCSharp.Web/Views/Shared/_Layout.cshtml +++ b/EssentialCSharp.Web/Views/Shared/_Layout.cshtml @@ -78,6 +78,10 @@ + + + + + - + +