Privacy Policy

Your privacy is important to us. This Privacy Policy explains how NBA Analytics Textbook ("we," "us," or "our") collects, uses, and protects information when you visit nbaanalytic.com (the "Site").

Introduction

Last Updated: March 8, 2026

NBA Analytics Textbook is a free, open-source educational website dedicated to teaching basketball analytics with R and Python. We are committed to protecting your privacy and being transparent about how we handle data. This site does not require user accounts, registration, or login. We do not directly collect personal information through forms (except for an optional contact form).

By using our Site, you agree to the practices described in this Privacy Policy. If you do not agree with this policy, please discontinue use of the Site.

Information We Collect

We do not require you to create an account or provide personal information to use this Site. However, certain information may be collected automatically or stored locally on your device:

Analytics Data (Google Analytics 4)

We use Google Analytics 4 to understand how visitors interact with our Site. This service may collect:

  • Pages visited and time spent on each page
  • Referral source (how you arrived at our Site)
  • General geographic location (country/region level, not precise location)
  • Device type, browser, and operating system
  • Screen resolution and viewport size
  • Language preferences
Local Storage Data

We use your browser's localStorage to store preferences and progress locally on your device. This data never leaves your browser and is not transmitted to our servers. Stored items include:

  • Dark mode preference - Remembers whether you prefer light or dark mode
  • Quiz progress - Tracks your answers and scores on quizzes so you can resume where you left off

Cookies and Tracking Technologies

Our Site uses the following cookies and tracking technologies:

Google Analytics Cookies

Google Analytics sets cookies to distinguish unique users and throttle request rates. Key cookies include:

  • _ga - Used to distinguish unique users. Expires after 2 years.
  • _ga_<container-id> - Used to persist session state. Expires after 2 years.

These cookies collect aggregate, anonymized data. Google Analytics 4 does not store IP addresses.

Google AdSense Cookies

Google AdSense may set cookies to serve personalized or non-personalized ads based on your browsing history. These cookies are managed by Google and are subject to Google's Privacy Policy. You can opt out of personalized advertising by visiting Google Ads Settings.

localStorage

localStorage is not a cookie but a browser storage mechanism. Unlike cookies, localStorage data is not sent to any server with each request. It remains entirely on your device and can be cleared through your browser settings at any time.

Google AdSense

We use Google AdSense to display advertisements on our Site. Google AdSense is a third-party advertising service provided by Google LLC. Google AdSense may use cookies and web beacons to serve ads based on your prior visits to our Site or other websites on the internet.

Google's use of advertising cookies enables it and its partners to serve ads based on your visit to our Site and/or other sites on the internet. You may opt out of personalized advertising by visiting Google Ads Settings.

For more information about how Google uses data when you use our Site, please visit How Google uses data when you use our partners' sites or apps.

Third-Party Services

Our Site relies on the following third-party services to deliver content and functionality. Each service may collect limited technical data (such as IP addresses) as part of delivering their resources:

Google Analytics 4

Purpose: Website analytics and usage statistics

Privacy Policy: policies.google.com/privacy

Google AdSense

Purpose: Displaying advertisements

Privacy Policy: policies.google.com/privacy

Google Fonts

Purpose: Serving web fonts (Inter, JetBrains Mono)

Privacy Policy: policies.google.com/privacy

jsDelivr CDN

Purpose: Delivering Bootstrap, Prism.js, KaTeX, and Bootstrap Icons

Privacy Policy: jsdelivr.com/privacy

jQuery CDN

Purpose: Delivering the jQuery JavaScript library from code.jquery.com

Privacy Policy: OpenJS Foundation Privacy Policy

Data Retention

  • Google Analytics data - Retained for 14 months by default in Google Analytics 4, after which it is automatically deleted. We do not export or store this data independently.
  • Google AdSense data - Managed and retained by Google according to their data retention policies.
  • localStorage data - Persists on your device until you manually clear your browser data or remove the specific items. This data is never transmitted to us.
  • Cookies - Google Analytics cookies expire after 2 years of inactivity. Advertising cookies have varying expiration periods as set by Google.

Children's Privacy

Our Site is an educational resource about basketball analytics and is intended for a general audience. We do not knowingly collect personal information from children under the age of 13 in compliance with the Children's Online Privacy Protection Act (COPPA).

Since our Site does not require registration, login, or the submission of personal information, we do not knowingly collect data from users of any age. If you are a parent or guardian and believe your child has provided personal information to us through a contact form or other means, please contact us and we will take steps to remove such information promptly.

Your Rights

You have several options to control how data is collected and stored when visiting our Site:

  • Opt out of Google Analytics - Install the Google Analytics Opt-out Browser Add-on to prevent your data from being used by Google Analytics.
  • Opt out of personalized ads - Visit Google Ads Settings to opt out of personalized advertising, or visit aboutads.info for broader ad opt-out options.
  • Block cookies - Configure your browser to block or delete cookies. Note that blocking cookies may affect the functionality of some features.
  • Clear localStorage - Clear your browser's local storage through your browser settings (usually found under Privacy or Site Settings). This will reset your dark mode preference and quiz progress.
  • Do Not Track - We respect the Do Not Track (DNT) browser signal. However, please note that Google Analytics may not honor DNT signals. We recommend using the Google Analytics Opt-out Add-on for complete opt-out.

If you are located in the European Economic Area (EEA) or other regions with data protection laws, you may have additional rights including the right to access, correction, deletion, and data portability. Since we do not directly collect personal data, most of these rights pertain to data collected by our third-party service providers. Please refer to their respective privacy policies for more information.

Changes to This Policy

We may update this Privacy Policy from time to time to reflect changes in our practices, third-party services, or applicable laws. When we make changes, we will update the "Last Updated" date at the top of this policy.

We encourage you to review this Privacy Policy periodically to stay informed about how we are protecting your information. Your continued use of the Site after any changes to this policy constitutes your acceptance of the updated policy.

Contact Us

If you have any questions, concerns, or requests regarding this Privacy Policy or our data practices, please reach out to us:

Contact Us