Skip to content

Cookie Policy

Last updated: May 25, 2025

1. Introduction

This Cookie Policy explains how MockAPI ("we," "our," or "us") uses cookies and similar tracking technologies when you visit our website and use our services. This policy should be read together with our Privacy Policy.

By continuing to use our website, you consent to our use of cookies as described in this policy.

2. What Are Cookies?

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

2.1 Types of Cookies by Duration

  • Session Cookies: Temporary cookies that are deleted when you close your browser
  • Persistent Cookies: Cookies that remain on your device for a specified period or until manually deleted

2.2 Types of Cookies by Origin

  • First-Party Cookies: Set directly by our website
  • Third-Party Cookies: Set by external services we use (analytics, advertising, etc.)

3. How We Use Cookies

We use cookies for the following purposes:

3.1 Essential Cookies

These cookies are necessary for our website to function properly and cannot be disabled:

  • Authentication: Remember your login status and session information
  • Security: Protect against cross-site request forgery (CSRF) attacks
  • Load Balancing: Distribute traffic across our servers
  • API Access: Manage API authentication and rate limiting

3.2 Functional Cookies

These cookies enhance your experience by remembering your preferences:

  • Theme Preferences: Remember your light/dark mode selection
  • Language Settings: Store your preferred language
  • UI Preferences: Remember dashboard layout and settings
  • Form Data: Temporarily store form inputs to prevent data loss

3.3 Performance Cookies

These cookies help us understand how visitors interact with our website:

  • Analytics: Track page views, user journeys, and feature usage
  • Performance Monitoring: Monitor website speed and performance
  • Error Tracking: Identify and fix technical issues
  • A/B Testing: Test different versions of features

3.4 Marketing Cookies

These cookies are used for advertising and marketing purposes (with your consent):

  • Advertising: Show relevant ads on other websites
  • Conversion Tracking: Measure the effectiveness of our marketing campaigns
  • Social Media: Enable social media sharing and integration
  • Remarketing: Show targeted ads to previous visitors

4. Specific Cookies We Use

4.1 Essential Cookies

Cookie NamePurposeDuration
mockapi_sessionMaintains user session and authenticationSession
csrf_tokenProtects against CSRF attacksSession
api_key_authManages API authentication30 days

4.2 Functional Cookies

Cookie NamePurposeDuration
theme_preferenceStores light/dark mode preference1 year
dashboard_layoutRemembers dashboard customization6 months
language_prefStores language preference1 year

4.3 Analytics Cookies

ServiceCookie NamesPurposeDuration
Google Analytics_ga, _ga_*, _gidWebsite analytics and user behavior tracking2 years / 24 hours
Mixpanelmp_*Product analytics and feature usage tracking1 year
Hotjar_hjid, _hjSession*User experience analytics and heatmaps1 year / 30 min

5. Cookie Consent and Management

5.1 Cookie Consent

When you first visit our website, we will ask for your consent to use non-essential cookies. You can choose which categories of cookies to accept or reject.

5.2 Managing Cookie Preferences

You can manage your cookie preferences in several ways:

  • Cookie Banner: Use our cookie consent banner when you first visit
  • Cookie Settings: Access cookie settings from our website footer
  • Browser Settings: Configure cookies directly in your browser
  • Account Settings: Manage preferences in your user account

5.3 Withdrawing Consent

You can withdraw your consent for non-essential cookies at any time by:

  • Visiting our Cookie Settings page
  • Clearing your browser cookies
  • Contacting us at privacy@mockapi.com

6. Browser Cookie Controls

6.1 Browser Settings

Most browsers allow you to control cookies through their settings:

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

6.2 Mobile Browsers

  • iOS Safari: Settings → Safari → Privacy & Security
  • Android Chrome: Chrome menu → Settings → Site settings → Cookies

7. Impact of Disabling Cookies

7.1 Essential Cookies

Disabling essential cookies will affect core functionality:

  • You may not be able to log in or stay logged in
  • API authentication may not work properly
  • Security features may be compromised
  • Some features may not function correctly

7.2 Non-Essential Cookies

Disabling non-essential cookies will limit some features:

  • Your preferences may not be remembered
  • We cannot provide personalized experiences
  • Analytics and improvement efforts may be limited
  • Marketing content may be less relevant

8. Other Tracking Technologies

8.1 Web Beacons

We may use web beacons (also known as pixel tags) in our emails and web pages to track user interactions and measure the effectiveness of our communications.

8.2 Local Storage

We use browser local storage to store application data and user preferences locally on your device. This data is not transmitted to our servers unless explicitly requested.

8.3 Session Storage

Session storage is used to temporarily store data during your browsing session. This data is automatically deleted when you close your browser tab.

9. International Transfers

Some of our third-party service providers may be located outside your country of residence. When cookies are used by these services, your data may be transferred internationally. We ensure appropriate safeguards are in place for such transfers.

10. Updates to This Policy

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

  • Posting the updated policy on our website
  • Displaying a notice on our website
  • Sending an email notification (for significant changes)

11. Contact Information

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

  • Email: privacy@mockapi.com
  • Cookie Settings: Available in our website footer
  • Address: MockAPI Inc., 123 Tech Street, San Francisco, CA 94105