From c20e311983dd0eb5d44cf330d903c72b2b90012b Mon Sep 17 00:00:00 2001 From: Tyler Goerzen Date: Fri, 2 Oct 2026 14:33:58 -0700 Subject: [PATCH 1/2] docs: say the SDKs are open source on every SDK page (TOF-685) Add a one-line license + repo statement to each of the 13 SDK pages, add an "Open Source at Mixpanel" page listing every SDK's repository and license, link it from the SDKs overview, and add it to the nav. Co-Authored-By: Claude Opus 5.5 --- docs.json | 3 +- docs/tracking-methods/sdks.mdx | 2 + docs/tracking-methods/sdks/android.mdx | 2 + docs/tracking-methods/sdks/flutter.mdx | 2 + docs/tracking-methods/sdks/go.mdx | 2 + docs/tracking-methods/sdks/ios.mdx | 2 + docs/tracking-methods/sdks/java/index.mdx | 2 + docs/tracking-methods/sdks/javascript.mdx | 2 + docs/tracking-methods/sdks/nodejs.mdx | 2 + docs/tracking-methods/sdks/open-source.mdx | 47 +++++++++++++++++++++ docs/tracking-methods/sdks/php.mdx | 2 + docs/tracking-methods/sdks/python.mdx | 2 + docs/tracking-methods/sdks/react-native.mdx | 2 + docs/tracking-methods/sdks/ruby.mdx | 2 + docs/tracking-methods/sdks/swift.mdx | 2 + docs/tracking-methods/sdks/unity.mdx | 2 + 16 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 docs/tracking-methods/sdks/open-source.mdx diff --git a/docs.json b/docs.json index 8274bbec2..5ff0fcd17 100644 --- a/docs.json +++ b/docs.json @@ -186,7 +186,8 @@ "docs/tracking-methods/sdks/java/java-openfeature" ] }, - "links/mixpanel-utils" + "links/mixpanel-utils", + "docs/tracking-methods/sdks/open-source" ] }, "docs/tracking-methods/autocapture", diff --git a/docs/tracking-methods/sdks.mdx b/docs/tracking-methods/sdks.mdx index cfe3be916..aea10d92d 100644 --- a/docs/tracking-methods/sdks.mdx +++ b/docs/tracking-methods/sdks.mdx @@ -6,6 +6,8 @@ description: "Send data from your application into Mixpanel" Our SDKs allow you to implement Mixpanel in a wide range of environments. Visit our [Github repo](https://github.com/mixpanel) to see the library source code. +All of our SDKs are open source under the Apache 2.0 or MIT license. See [Open Source at Mixpanel](/docs/tracking-methods/sdks/open-source) for each SDK's repository and license. + If you do not see an SDK in your preferred language, leverage our [HTTP APIs](/reference/ingestion-api) directly. ## Client-Side SDKs diff --git a/docs/tracking-methods/sdks/android.mdx b/docs/tracking-methods/sdks/android.mdx index 05f749a7f..93752694d 100644 --- a/docs/tracking-methods/sdks/android.mdx +++ b/docs/tracking-methods/sdks/android.mdx @@ -9,6 +9,8 @@ Please refer to our [Quickstart Guide](/docs/quickstart/install-mixpanel#android The [Full API Reference](http://mixpanel.github.io/mixpanel-android/index.html), [Library Source Code](https://github.com/mixpanel/mixpanel-android), and an [Example Application](https://github.com/mixpanel/sample-android-mixpanel-integration) is documented in our GitHub repo. +The Android SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-android/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-android](https://github.com/mixpanel/mixpanel-android). + ## Installing the Library We publish builds of our library to the Maven central repository as an .aar file. This file contains all of the classes, resources, and configurations that you'll need to use the library. diff --git a/docs/tracking-methods/sdks/flutter.mdx b/docs/tracking-methods/sdks/flutter.mdx index 581a262a8..e7dd1b9ee 100644 --- a/docs/tracking-methods/sdks/flutter.mdx +++ b/docs/tracking-methods/sdks/flutter.mdx @@ -9,6 +9,8 @@ Please refer to our [Quickstart Guide](/docs/quickstart/install-mixpanel#flutter The [Full API Reference](https://mixpanel.github.io/mixpanel-flutter), [Library Source Code](https://github.com/mixpanel/mixpanel-flutter), and an [Example Application](https://github.com/mixpanel/mixpanel-flutter/tree/main/example) is documented in our GitHub repo. +The Flutter SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-flutter/blob/main/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-flutter](https://github.com/mixpanel/mixpanel-flutter). + ## Installing the Library To install the library in your [Flutter development environment](https://docs.flutter.dev/get-started/install), declare it as a dependency in the `pubspec.yaml` file of your package: diff --git a/docs/tracking-methods/sdks/go.mdx b/docs/tracking-methods/sdks/go.mdx index 777a7ebbe..0b13fa1ae 100644 --- a/docs/tracking-methods/sdks/go.mdx +++ b/docs/tracking-methods/sdks/go.mdx @@ -9,6 +9,8 @@ The Mixpanel Go library is designed to be used for scripting, or in circumstance The [Full API Reference](https://pkg.go.dev/github.com/mixpanel/mixpanel-go), [Library Source Code](https://github.com/mixpanel/mixpanel-go), and [Examples](https://github.com/mixpanel/mixpanel-go/tree/main/examples) are documented in our GitHub repo. +The Go SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-go/blob/main/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-go](https://github.com/mixpanel/mixpanel-go). + ## Installing the Library Install the library with [Go get](https://pkg.go.dev/cmd/go/internal/get). Run the following command in your CLI to install: diff --git a/docs/tracking-methods/sdks/ios.mdx b/docs/tracking-methods/sdks/ios.mdx index 43fa37245..6ecc95639 100644 --- a/docs/tracking-methods/sdks/ios.mdx +++ b/docs/tracking-methods/sdks/ios.mdx @@ -13,6 +13,8 @@ Please refer to our [Quickstart Guide](/docs/quickstart/install-mixpanel#ios-obj The [Full API Reference](https://mixpanel.github.io/mixpanel-iphone/index.html), [Library Source Code](https://github.com/mixpanel/mixpanel-iphone/), and an [Example Application](https://github.com/mixpanel/mixpanel-iphone/tree/master/HelloMixpanel) is documented in our GitHub repo. +The iOS (Objective-C) SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-iphone/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-iphone](https://github.com/mixpanel/mixpanel-iphone). + ## Installing the Library You can install the Objective-C library by using CocoaPods, Carthage, or Swift Package Manager. diff --git a/docs/tracking-methods/sdks/java/index.mdx b/docs/tracking-methods/sdks/java/index.mdx index 1065ac04d..627c5d361 100644 --- a/docs/tracking-methods/sdks/java/index.mdx +++ b/docs/tracking-methods/sdks/java/index.mdx @@ -9,6 +9,8 @@ The Mixpanel Java library is useful for tracking events from Java servers. The [Full API Reference](http://mixpanel.github.io/mixpanel-java/), [Library Source Code](https://github.com/mixpanel/mixpanel-java) and an [Example Application](https://github.com/mixpanel/mixpanel-java/blob/master/src/demo/java/com/mixpanel/mixpanelapi/demo/MixpanelAPIDemo.java) is documented in our GitHub repo. +The Java SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-java/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-java](https://github.com/mixpanel/mixpanel-java). + ## Installing the Library diff --git a/docs/tracking-methods/sdks/javascript.mdx b/docs/tracking-methods/sdks/javascript.mdx index 34282ec94..c4427f5d6 100644 --- a/docs/tracking-methods/sdks/javascript.mdx +++ b/docs/tracking-methods/sdks/javascript.mdx @@ -9,6 +9,8 @@ Please refer to our [Quickstart Guide](/docs/quickstart/install-mixpanel#javascr The [Full API Reference](https://github.com/mixpanel/mixpanel-js/blob/master/doc/readme.io/javascript-full-api-reference.md#mixpanel), [Library Source Code](https://github.com/mixpanel/mixpanel-js), and an [Example Application](https://github.com/mixpanel/mixpanel-js/tree/master/examples) is documented in our GitHub repo. +The Javascript SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-js/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-js](https://github.com/mixpanel/mixpanel-js). + ## Installing the Library diff --git a/docs/tracking-methods/sdks/nodejs.mdx b/docs/tracking-methods/sdks/nodejs.mdx index cfc134025..3d1ba74d3 100644 --- a/docs/tracking-methods/sdks/nodejs.mdx +++ b/docs/tracking-methods/sdks/nodejs.mdx @@ -11,6 +11,8 @@ For the in-browser client-side library, please use the [JavaScript SDK](/docs/tr The [Library Source Code](https://github.com/mixpanel/mixpanel-node) and an [Example Application](https://github.com/mixpanel/mixpanel-node/blob/master/example.js) is documented in our GitHub repo. +The Node.js SDK is open source under the [MIT license](https://github.com/mixpanel/mixpanel-node/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-node](https://github.com/mixpanel/mixpanel-node). + ## Installing the Library diff --git a/docs/tracking-methods/sdks/open-source.mdx b/docs/tracking-methods/sdks/open-source.mdx new file mode 100644 index 000000000..aa72c0e99 --- /dev/null +++ b/docs/tracking-methods/sdks/open-source.mdx @@ -0,0 +1,47 @@ +--- +title: "Open Source at Mixpanel" +sidebarTitle: "Open Source" +description: "Mixpanel's SDKs are open source under the Apache 2.0 or MIT license. Find the GitHub repository and license for every SDK." +--- + +Mixpanel's SDKs are open source. You can read the code that runs in your app or on your server, open issues, follow releases, and send pull requests on GitHub. + +Mixpanel's platform is a hosted service. The SDKs send data to it, and the systems that ingest, store, and query that data aren't open source. + +Each repository has its full license text in its `LICENSE` file, linked in the tables below. + +## SDKs + +| SDK | Repository | License | +|-----|------------|---------| +| [Javascript](/docs/tracking-methods/sdks/javascript) | [mixpanel/mixpanel-js](https://github.com/mixpanel/mixpanel-js) | [Apache 2.0](https://github.com/mixpanel/mixpanel-js/blob/master/LICENSE) | +| [React Native](/docs/tracking-methods/sdks/react-native) | [mixpanel/mixpanel-react-native](https://github.com/mixpanel/mixpanel-react-native) | [Apache 2.0](https://github.com/mixpanel/mixpanel-react-native/blob/master/LICENSE.md) | +| [Android](/docs/tracking-methods/sdks/android) | [mixpanel/mixpanel-android](https://github.com/mixpanel/mixpanel-android) | [Apache 2.0](https://github.com/mixpanel/mixpanel-android/blob/master/LICENSE) | +| [iOS (Objective-C)](/docs/tracking-methods/sdks/ios) | [mixpanel/mixpanel-iphone](https://github.com/mixpanel/mixpanel-iphone) | [Apache 2.0](https://github.com/mixpanel/mixpanel-iphone/blob/master/LICENSE) | +| [iOS (Swift)](/docs/tracking-methods/sdks/swift) | [mixpanel/mixpanel-swift](https://github.com/mixpanel/mixpanel-swift) | [Apache 2.0](https://github.com/mixpanel/mixpanel-swift/blob/master/LICENSE) | +| [Flutter](/docs/tracking-methods/sdks/flutter) | [mixpanel/mixpanel-flutter](https://github.com/mixpanel/mixpanel-flutter) | [Apache 2.0](https://github.com/mixpanel/mixpanel-flutter/blob/main/LICENSE) | +| [Unity](/docs/tracking-methods/sdks/unity) | [mixpanel/mixpanel-unity](https://github.com/mixpanel/mixpanel-unity) | [Apache 2.0](https://github.com/mixpanel/mixpanel-unity/blob/master/LICENSE) | +| [Python](/docs/tracking-methods/sdks/python) | [mixpanel/mixpanel-python](https://github.com/mixpanel/mixpanel-python) | [Apache 2.0](https://github.com/mixpanel/mixpanel-python/blob/master/LICENSE.txt) | +| [Node.js](/docs/tracking-methods/sdks/nodejs) | [mixpanel/mixpanel-node](https://github.com/mixpanel/mixpanel-node) | [MIT](https://github.com/mixpanel/mixpanel-node/blob/master/LICENSE) | +| [Ruby](/docs/tracking-methods/sdks/ruby) | [mixpanel/mixpanel-ruby](https://github.com/mixpanel/mixpanel-ruby) | [Apache 2.0](https://github.com/mixpanel/mixpanel-ruby/blob/master/LICENSE) | +| [PHP](/docs/tracking-methods/sdks/php) | [mixpanel/mixpanel-php](https://github.com/mixpanel/mixpanel-php) | [Apache 2.0](https://github.com/mixpanel/mixpanel-php/blob/master/LICENSE) | +| [Go](/docs/tracking-methods/sdks/go) | [mixpanel/mixpanel-go](https://github.com/mixpanel/mixpanel-go) | [Apache 2.0](https://github.com/mixpanel/mixpanel-go/blob/main/LICENSE) | +| [Java](/docs/tracking-methods/sdks/java) | [mixpanel/mixpanel-java](https://github.com/mixpanel/mixpanel-java) | [Apache 2.0](https://github.com/mixpanel/mixpanel-java/blob/master/LICENSE) | + +## Session Replay SDKs + +On Javascript and Android, Session Replay ships in the main SDK repository. iOS, React Native, and Flutter have their own repositories. + +| SDK | Repository | License | +|-----|------------|---------| +| [Session Replay (Javascript)](/docs/tracking-methods/sdks/javascript/javascript-replay) | [mixpanel/mixpanel-js](https://github.com/mixpanel/mixpanel-js) | [Apache 2.0](https://github.com/mixpanel/mixpanel-js/blob/master/LICENSE) | +| [Session Replay (Android)](/docs/tracking-methods/sdks/android/android-replay) | [mixpanel/mixpanel-android](https://github.com/mixpanel/mixpanel-android) | [Apache 2.0](https://github.com/mixpanel/mixpanel-android/blob/master/LICENSE) | +| [Session Replay (Swift)](/docs/tracking-methods/sdks/swift/swift-replay) | [mixpanel/mixpanel-ios-session-replay-package](https://github.com/mixpanel/mixpanel-ios-session-replay-package) | [Apache 2.0](https://github.com/mixpanel/mixpanel-ios-session-replay-package/blob/main/LICENSE) | +| [Session Replay (React Native)](/docs/tracking-methods/sdks/react-native/react-native-replay) | [mixpanel/mixpanel-react-native-session-replay](https://github.com/mixpanel/mixpanel-react-native-session-replay) | [MIT](https://github.com/mixpanel/mixpanel-react-native-session-replay/blob/main/LICENSE) | +| [Session Replay (Flutter)](/docs/tracking-methods/sdks/flutter/flutter-replay) | [mixpanel/mixpanel-flutter-session-replay](https://github.com/mixpanel/mixpanel-flutter-session-replay) | [Apache 2.0](https://github.com/mixpanel/mixpanel-flutter-session-replay/blob/main/LICENSE) | + +## Utilities + +| Tool | Repository | License | +|------|------------|---------| +| Mixpanel-utils (Python) | [mixpanel/mixpanel-utils](https://github.com/mixpanel/mixpanel-utils) | [Apache 2.0](https://github.com/mixpanel/mixpanel-utils/blob/master/LICENSE) | diff --git a/docs/tracking-methods/sdks/php.mdx b/docs/tracking-methods/sdks/php.mdx index 56f7640fd..d9e312dc7 100644 --- a/docs/tracking-methods/sdks/php.mdx +++ b/docs/tracking-methods/sdks/php.mdx @@ -9,6 +9,8 @@ The Mixpanel PHP library is designed to be used for scripting, or in circumstanc The [Full API Reference](https://mixpanel.github.io/mixpanel-php/), [Library Source Code](https://github.com/mixpanel/mixpanel-php), and [example scripts](https://github.com/mixpanel/mixpanel-php/tree/master/examples) are documented in our Github repo. +The PHP SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-php/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-php](https://github.com/mixpanel/mixpanel-php). + ## Installing the Library diff --git a/docs/tracking-methods/sdks/python.mdx b/docs/tracking-methods/sdks/python.mdx index 7ca00625e..e767ecd3e 100644 --- a/docs/tracking-methods/sdks/python.mdx +++ b/docs/tracking-methods/sdks/python.mdx @@ -9,6 +9,8 @@ The Mixpanel Python library is designed to be used for scripting, or in circumst The [Full API Reference](http://mixpanel.github.io/mixpanel-python), [Library Source Code](https://github.com/mixpanel/mixpanel-python), and an [Example Script](https://github.com/mixpanel/mixpanel-python/tree/master/demo) is documented in our GitHub repo. +The Python SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-python/blob/master/LICENSE.txt). Its source code is on GitHub at [mixpanel/mixpanel-python](https://github.com/mixpanel/mixpanel-python). + ## Installing the Library You can get the library using [pip](https://pypi.org/project/pip/). diff --git a/docs/tracking-methods/sdks/react-native.mdx b/docs/tracking-methods/sdks/react-native.mdx index bf157bcc5..39141a544 100644 --- a/docs/tracking-methods/sdks/react-native.mdx +++ b/docs/tracking-methods/sdks/react-native.mdx @@ -9,6 +9,8 @@ Please refer to our [Quickstart Guide](/docs/quickstart/install-mixpanel#react-n The [Full API Reference](https://mixpanel.github.io/mixpanel-react-native/Mixpanel.html), [Library Source Code](https://github.com/mixpanel/mixpanel-react-native), and an [Example Application](https://github.com/mixpanel/mixpanel-react-native/tree/master/Samples) is documented in our GitHub repo. +The React Native SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-react-native/blob/master/LICENSE.md). Its source code is on GitHub at [mixpanel/mixpanel-react-native](https://github.com/mixpanel/mixpanel-react-native). + ## Installing the Library After [setting up your development environment for React Native](https://reactnative.dev/docs/environment-setup), navigate to your app's root directory and install the Mixpanel React Native SDK. The library requires React Native v0.6\+. diff --git a/docs/tracking-methods/sdks/ruby.mdx b/docs/tracking-methods/sdks/ruby.mdx index 259f02dc3..ebe846a67 100644 --- a/docs/tracking-methods/sdks/ruby.mdx +++ b/docs/tracking-methods/sdks/ruby.mdx @@ -9,6 +9,8 @@ The Mixpanel Ruby library is designed to be used for scripting, or in circumstan The [Full API Reference](http://mixpanel.github.io/mixpanel-ruby), [Library Source Code](https://github.com/mixpanel/mixpanel-ruby), and an [Example Script](https://github.com/mixpanel/mixpanel-ruby/tree/master/demo) is documented in our GitHub repo. +The Ruby SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-ruby/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-ruby](https://github.com/mixpanel/mixpanel-ruby). + See our [server](/docs/quickstart/install-mixpanel#ruby) quickstart for how to get started with the Ruby SDK. ## Installing the Library diff --git a/docs/tracking-methods/sdks/swift.mdx b/docs/tracking-methods/sdks/swift.mdx index 091dd5662..d6aa15324 100644 --- a/docs/tracking-methods/sdks/swift.mdx +++ b/docs/tracking-methods/sdks/swift.mdx @@ -9,6 +9,8 @@ Please refer to our [Quickstart Guide](/docs/quickstart/install-mixpanel#ios-swi The [Full API Reference](https://mixpanel.github.io/mixpanel-swift/), [Library Source Code](https://github.com/mixpanel/mixpanel-swift), and an [Example Application](https://github.com/mixpanel/mixpanel-swift/tree/master/MixpanelDemo/MixpanelDemo) are documented in our GitHub repo. +The iOS (Swift) SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-swift/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-swift](https://github.com/mixpanel/mixpanel-swift). + ## Installing the Library You can install the Swift library by using CocoaPods, Carthage, or Swift Package Manager. diff --git a/docs/tracking-methods/sdks/unity.mdx b/docs/tracking-methods/sdks/unity.mdx index 2209fecab..87d425185 100644 --- a/docs/tracking-methods/sdks/unity.mdx +++ b/docs/tracking-methods/sdks/unity.mdx @@ -9,6 +9,8 @@ Please refer to our [Quickstart Guide](/docs/quickstart/install-mixpanel#unity). The [Full API Reference](http://mixpanel.github.io/mixpanel-unity/api-reference/annotated.html), [Library Source Code](https://github.com/mixpanel/mixpanel-unity), and an [Example Application](https://github.com/mixpanel/mixpanel-unity#examples) is documented in our GitHub repo. +The Unity SDK is open source under the [Apache 2.0 license](https://github.com/mixpanel/mixpanel-unity/blob/master/LICENSE). Its source code is on GitHub at [mixpanel/mixpanel-unity](https://github.com/mixpanel/mixpanel-unity). + Unity SDK does not currently support Simplified ID Merge. From 8972c6f7ba1d90ecc4c572e9942f39827eaf9895 Mon Sep 17 00:00:00 2001 From: Tyler Goerzen Date: Fri, 2 Oct 2026 14:39:44 -0700 Subject: [PATCH 2/2] Say license text is linked instead of naming one filename Two repos use LICENSE.md and LICENSE.txt, so 'its LICENSE file' was wrong for them. Co-Authored-By: Claude Opus 5.5 --- docs/tracking-methods/sdks/open-source.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tracking-methods/sdks/open-source.mdx b/docs/tracking-methods/sdks/open-source.mdx index aa72c0e99..e5d543596 100644 --- a/docs/tracking-methods/sdks/open-source.mdx +++ b/docs/tracking-methods/sdks/open-source.mdx @@ -8,7 +8,7 @@ Mixpanel's SDKs are open source. You can read the code that runs in your app or Mixpanel's platform is a hosted service. The SDKs send data to it, and the systems that ingest, store, and query that data aren't open source. -Each repository has its full license text in its `LICENSE` file, linked in the tables below. +Each repository's full license text is linked in the tables below. ## SDKs