---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/website/javascript/supported-browsers#article
headline: Analytics.js Browser Support
description: See which browsers Segment tests Analytics.js against, plus Internet Explorer support and how tracking protection like ITP and ETP affects tracking.
url: https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/website/javascript/supported-browsers
inLanguage: en
dateModified: 2026-06-25T22:35:15.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Analytics.js Browser Support

[The Segment JavaScript library, Analytics.js](/docs/segment/connections/sources/catalog/libraries/website/javascript/), loads a snippet on your webpage that supports existing user consent APIs and native browser controls. Segment regularly tests Analytics.js against the following browsers on all major platforms, and updates the library accordingly.

The library is regularly tested and is functional with the following browsers:

* Internet Explorer
* Apple Safari
* Google Chrome
* Mozilla Firefox
* Microsoft Edge
* Brave

> \[!WARNING]
>
> Analytics.js Classic was deprecated on February 28, 2023. As of March 2023, Segment upgraded all sources to [Analytics.js 2.0](/docs/segment/connections/sources/catalog/libraries/website/javascript/).

## Internet Explorer support

Segment guarantees support for Internet Explorer 11 and later for Analytics.js. Remember that different bundled (device-mode) destinations might have different compatibility guarantees for their own products. Refer to the vendor's documentation to confirm browser compatibility.

If you need to support older versions of Internet Explorer or Opera, Segment recommends you to either load a polyfill script in the head as shown [in this code snippet](https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.7.0/polyfill.min.js), or use the analytics-next npm package and polyfill bundle as shown in [Babel](https://babeljs.io/docs/babel-preset-env).

> \[!NOTE]
>
> Classic destinations and Analytics.js support Internet Explorer 11, but some Actions destinations don't support it.

## Tracking protection (ITP, ETP)

Segment is a customer data platform (CDP) that helps companies harness first-party customer data. Browser tracking protection changes align with Segment's privacy stance.

Browser manufacturers add third-party tracking protection mechanisms for end users. These mechanisms target third-party trackers and their cookies, and each platform takes a different approach.

For example, [Firefox Enhanced Tracking Protection (ETP)](https://blog.mozilla.org/blog/2020/08/04/latest-firefox-rolls-out-enhanced-tracking-protection-2-0-blocking-redirect-trackers-by-default/) relies on a dynamic list of known trackers to decide what to block. Browsers that use [Apple's WebKit engine](https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/), like Safari and Chrome for iOS, use Intelligent Tracking Protection (ITP) which actively prevents the browser from loading cookies from a third-party domain.

> \[!NOTE]
>
> Segment cookies expire after seven days of user inactivity, like all other application cookies under the WebKit engine ITP policy.

## Proxies and Analytics.js

Because of regulatory, environmental, or security concerns, some customers prefer to [set up proxy infrastructure for Analytics.js](/docs/segment/connections/sources/catalog/libraries/website/javascript/custom-proxy/).

You can also use the `apihost` configuration option in the Analytics object to route traffic to different API endpoints.
