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 @@ }
Use this page to detail your site's privacy policy.
+At Essential C#, we are committed to protecting your privacy and ensuring you have a positive experience on our website.
+ +We collect information to provide better services to our users. The types of information we collect include:
+We use the information we collect to:
+We use cookies and similar technologies to enhance your browsing experience. Our website uses:
+You can manage your cookie preferences at any time by clicking the "Cookie Preferences" link in our footer.
+ +Depending on your location, you may have certain rights regarding your personal information:
+Our website uses the following third-party services that may collect information:
+We retain your information only as long as necessary to provide our services and fulfill the purposes outlined in this privacy policy.
+ +Your information may be transferred to and processed in countries other than your own. We ensure appropriate safeguards are in place for such transfers.
+ +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.
+ +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")
+