Cookie Policy

Last updated: January 23, 2025

1. Introduction

This Cookie Policy explains how Niansuh ("we", "us", or "our") uses cookies and similar tracking technologies when you visit our website at niansuh.net and use our Service. This policy should be read in conjunction with our Privacy Policy.

By continuing to browse or use our Service, you agree to our use of cookies and tracking technologies as described in this policy. If you do not agree, you should adjust your browser settings or refrain from using our Service.

2. What Are Cookies?

Cookies are small text files that are placed on your device (computer, smartphone, tablet) when you visit a website. They are widely used to make websites work more efficiently and provide information to website owners.

Cookies can be "persistent" or "session" cookies:

  • Persistent cookies: Remain on your device for a set period or until you delete them
  • Session cookies: Are temporary and are deleted when you close your browser

Cookies can also be "first-party" (set by us) or "third-party" (set by other websites or services we use).

3. How We Use Cookies

Niansuh uses cookies and similar tracking technologies for the following purposes:

3.1 Essential Functionality

These cookies are necessary for the Service to function properly and cannot be disabled:

  • Authentication: Keep you logged in to your account across sessions
  • Security: Protect against fraud, abuse, and unauthorized access
  • Session management: Maintain your session state and preferences
  • Load balancing: Distribute traffic across our servers
  • API key management: Securely store and validate your API credentials

3.2 Preferences and Settings

These cookies remember your choices to provide a personalized experience:

  • Theme preferences: Remember your light/dark mode selection
  • Language settings: Store your preferred language
  • Dashboard layout: Save your customized dashboard configuration
  • Notification preferences: Remember your notification settings
  • Model preferences: Store your frequently used AI models

3.3 Analytics and Performance

We use analytics cookies to understand how visitors interact with our Service and improve performance:

  • Page views and navigation patterns
  • Time spent on pages and features used
  • Error tracking and debugging information
  • Performance metrics (page load times, API response times)
  • User flow analysis and conversion tracking
  • A/B testing and feature experimentation

We use the following analytics services:

  • Vercel Analytics: Provides privacy-friendly analytics without using cookies or collecting personal data
  • PostHog: Open-source product analytics for understanding user behavior (can be opted out)

3.4 Marketing and Advertising

We may use cookies to deliver relevant advertisements and measure campaign effectiveness:

  • Track conversions from marketing campaigns
  • Retarget visitors who have shown interest in our Service
  • Measure the effectiveness of our advertising
  • Deliver personalized content and offers

You can opt out of personalized advertising through your browser settings or by using opt-out tools provided by advertising networks.

4. Types of Cookies We Use

4.1 Essential Cookies

Cookie NamePurposeDuration
session_tokenMaintains your login sessionSession
csrf_tokenProtects against cross-site request forgerySession
api_key_hashSecurely validates API credentials30 days

4.2 Preference Cookies

Cookie NamePurposeDuration
theme_preferenceStores light/dark mode selection1 year
languageRemembers language preference1 year
dashboard_layoutSaves dashboard customization6 months

4.3 Analytics Cookies

Cookie NamePurposeDuration
_ph_idPostHog analytics identifier1 year
_ph_sessionPostHog session tracking30 minutes
vercel_analyticsVercel Analytics (privacy-friendly)Session

5. Third-Party Cookies

We may allow third-party service providers to place cookies on your device for the following purposes:

5.1 Analytics Providers

5.2 Payment Processors

5.3 Communication Tools

These third parties have their own privacy policies governing their use of cookies and personal information. We recommend reviewing their policies to understand how they handle your data.

6. Managing Cookies

6.1 Browser Settings

Most web browsers allow you to control cookies through their settings. You can typically:

  • View and delete cookies
  • Block third-party cookies
  • Block all cookies
  • Clear cookies when you close your browser

Here's how to manage cookies in popular browsers:

  • Chrome: Settings → Privacy and security → Cookies and other site data
  • Firefox: Settings → Privacy & Security → Cookies and Site Data
  • Safari: Preferences → Privacy → Manage Website Data
  • Edge: Settings → Cookies and site permissions → Manage and delete cookies

6.2 Opt-Out Tools

You can opt out of certain types of tracking using these tools:

6.3 Impact of Disabling Cookies

Please note that disabling cookies may affect the functionality of our Service:

  • You may not be able to log in or stay logged in
  • Your preferences and settings may not be saved
  • Some features may not work properly
  • You may see less relevant content

Essential cookies cannot be disabled as they are necessary for the Service to function.

7. Do Not Track Signals

Some browsers include a "Do Not Track" (DNT) feature that signals to websites that you do not want to be tracked. Currently, there is no industry standard for how to respond to DNT signals.

We do not currently respond to DNT signals, but we respect your privacy choices and provide multiple ways to control tracking as described in this policy.

8. Mobile Device Identifiers

When you access our Service through a mobile device, we may collect mobile device identifiers and similar technologies for analytics and advertising purposes.

You can control mobile tracking through your device settings:

  • iOS: Settings → Privacy → Tracking → Allow Apps to Request to Track
  • Android: Settings → Google → Ads → Opt out of Ads Personalization

9. Updates to This Cookie Policy

We may update this Cookie Policy from time to time to reflect changes in our practices, technology, or legal requirements. We will notify you of any material changes by:

  • Posting the updated policy on this page
  • Updating the "Last updated" date
  • Sending you an email notification (for significant changes)

We encourage you to review this Cookie Policy periodically to stay informed about how we use cookies.

10. Contact Us

If you have any questions about this Cookie Policy or our use of cookies, please contact us:

  • Email: privacy@niansuh.net
  • Discord: Join our Discord server
  • Response Time: We aim to respond to all inquiries within 48 hours

For cookie-related inquiries, please include "Cookie Policy" in your subject line to ensure prompt handling.