Cookie Policy
Last updated: July 26, 2025
1. What Are Cookies
Cookies are small text files that are stored on your device (computer, tablet, smartphone) when you visit a website. They help the website remember information about your visit, like your preferred language and other settings. This can make your next visit easier and the site more useful to you.
CodeDiffTool uses cookies and similar tracking technologies to enhance your browsing experience, analyze site traffic, and serve personalized advertisements.
2. Types of Cookies We Use
2.1 Essential Cookies
Purpose: These cookies are necessary for the website to function properly. They enable basic functions like page navigation and access to secure areas of the website.
Examples: Session management, security tokens, load balancing
Can be disabled: No - These cookies are essential for the site to work
2.2 Analytics Cookies
Purpose: These cookies help us understand how visitors interact with our website by collecting and reporting information anonymously.
Provider: Google Analytics
Data collected: Page views, time spent, bounce rate, traffic sources, device information
Can be disabled: Yes - Through cookie preferences or browser settings
2.3 Advertising Cookies
Purpose: These cookies are used to make advertising messages more relevant to you and your interests.
Provider: Google AdSense and advertising partners
Data collected: Browsing behavior, interests, ad interactions
Can be disabled: Yes - Through cookie preferences or ad settings
2.4 Functional Cookies
Purpose: These cookies remember your preferences and settings to provide enhanced, personalized features.
Examples: Language preferences, theme settings, code editor preferences
Can be disabled: Yes - But may affect site functionality
3. Local Storage
In addition to cookies, CodeDiffTool uses your browser's local storage to save your code snippets locally on your device. This allows you to:
- Save and reload your code snippets between sessions
- Maintain your work even if you accidentally close the browser
- Keep your code private - it never leaves your device
Note: You can clear local storage at any time using our “Clear Storage” button or through your browser settings.
4. Third-Party Cookies
4.1 Google Analytics
We use Google Analytics to understand how users interact with our website. Google Analytics uses cookies to track user behavior and generate reports about website usage.
Cookies used:
_ga
- Distinguishes users (expires after 2 years)_ga_*
- Contains campaign related information (expires after 2 years)_gid
- Distinguishes users (expires after 24 hours)_gat
- Throttles request rate (expires after 1 minute)
4.2 Google AdSense
We use Google AdSense to display advertisements on our website. AdSense may use cookies to serve ads based on your interests.
Common AdSense cookies:
IDE
- Used by Google DoubleClick for advertisingDSID
- Used to identify a signed-in user on non-Google sites1P_JAR
- Used to gather website statistics and track conversion rates
5. How to Control Cookies
5.1 Cookie Consent Banner
When you first visit our website, you'll see a cookie consent banner that allows you to accept or manage your cookie preferences. You can change your preferences at any time by clicking the “Cookie Settings” link in our footer.
5.2 Browser Settings
You can control and delete cookies through your browser settings. Here's how to manage cookies in popular browsers:
Google Chrome
- 1. Click the three dots menu
- 2. Go to Settings > Privacy and security
- 3. Click “Cookies and other site data”
- 4. Choose your preferred settings
Mozilla Firefox
- 1. Click the menu button
- 2. Go to Options > Privacy & Security
- 3. Find “Cookies and Site Data”
- 4. Adjust your settings
Safari
- 1. Go to Safari > Preferences
- 2. Click the Privacy tab
- 3. Choose “Block all cookies” or customize
- 4. Click “Manage Website Data” to remove existing cookies
Microsoft Edge
- 1. Click the three dots menu
- 2. Go to Settings > Cookies and site permissions
- 3. Click “Cookies and site data”
- 4. Manage your cookie settings
6. Opt-Out Options
6.1 Google Analytics Opt-Out
You can opt out of Google Analytics tracking by:
- Installing the Google Analytics Opt-out Browser Add-on
- Using our cookie preferences to disable analytics cookies
- Enabling “Do Not Track” in your browser settings
6.2 Advertising Opt-Out
You can opt out of personalized advertising by:
- Visiting Google Ad Settings
- Using the Network Advertising Initiative opt-out tool
- Visiting Your Online Choices (for EU users)
7. Cookie Retention Periods
Cookie Type | Retention Period | Purpose |
---|---|---|
Session cookies | Until browser is closed | Basic functionality |
Google Analytics | Up to 2 years | Website analytics |
AdSense cookies | Up to 2 years | Personalized advertising |
Preference cookies | 1 year | User preferences |
8. Updates to This Cookie Policy
We may update this Cookie Policy from time to time to reflect changes in our practices or for other operational, legal, or regulatory reasons. We encourage you to review this policy periodically to stay informed about our use of cookies.
9. Contact Us
If you have any questions about this Cookie Policy or our use of cookies, please contact us: