{"_id":"@dhrimz/capacitor-mixpanel","_rev":"7-da069f41a03d1cd1abed8508a968add8","name":"@dhrimz/capacitor-mixpanel","dist-tags":{"latest":"8.0.0"},"versions":{"7.4.3":{"name":"@dhrimz/capacitor-mixpanel","version":"7.4.3","keywords":["capacitor","plugin","native","mixpanel","drimz"],"author":{"name":"Ryan Nacpil"},"license":"MIT","_id":"@dhrimz/capacitor-mixpanel@7.4.3","maintainers":[{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"}],"homepage":"https://github.com/DrimZ/capacitor-mixpanel#readme","bugs":{"url":"https://github.com/DrimZ/capacitor-mixpanel/issues"},"dist":{"shasum":"7af37cb0db3c2d03eb701e806990bbd5e797fc00","tarball":"https://registry.npmjs.org/@dhrimz/capacitor-mixpanel/-/capacitor-mixpanel-7.4.3.tgz","fileCount":24,"integrity":"sha512-5la5LEGRIt5b2cHyiOaicKxtVzDV5XJYbyqpfUhbKWXfxX2iCHvSXFe8cKMgK0Br3oS7kJv00LURz9YvKWZ/Sw==","signatures":[{"sig":"MEQCIDVmWUko/E7PIjL6t4rhJKBOTkj4v13ffevQnVLI97O2AiBdonU8OUlodIGnt3ieZxbnpCdlUzrnim0uIhecmjO9qA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":100506},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"5c8b41f01dded66fc8649974442e3273ee37900b","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MixpanelPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/DrimZ/capacitor-mixpanel.git","type":"git"},"_npmVersion":"10.2.4","description":"Capacitor plugin for Mixpanel","directories":{},"_nodeVersion":"20.11.0","dependencies":{"mixpanel-browser":"^2.68.0"},"eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.4.2","@capacitor/ios":"^7.4.2","@capacitor/core":"^7.4.2","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.4.2","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mixpanel_7.4.3_1755492985544_0.7765949463176893","host":"s3://npm-registry-packages-npm-production"}},"7.4.4":{"name":"@dhrimz/capacitor-mixpanel","version":"7.4.4","keywords":["capacitor","plugin","native","mixpanel","drimz"],"author":{"name":"Ryan Nacpil"},"license":"MIT","_id":"@dhrimz/capacitor-mixpanel@7.4.4","maintainers":[{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"}],"homepage":"https://github.com/DrimZ/capacitor-mixpanel#readme","bugs":{"url":"https://github.com/DrimZ/capacitor-mixpanel/issues"},"dist":{"shasum":"a52bc6b4009e49a6a098fd9b82c91bd55474fdd3","tarball":"https://registry.npmjs.org/@dhrimz/capacitor-mixpanel/-/capacitor-mixpanel-7.4.4.tgz","fileCount":24,"integrity":"sha512-xsXVdXqsvQJWICIjzsYkLQKlsiaq+CJ3u8MhzviG5FGrW+r42kJnuhX8VZ7zsayBazSqvu2a8qwHURZmLfhing==","signatures":[{"sig":"MEYCIQDVGJuSOYnhCrqGQx7i7rOMAOhl47CKag72rWJ3XUfrCAIhAK3PN72oCVK0lxCO1VPkJzrqrVT0OEMtEHTU8TP3GHZh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":100506},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"5c8b41f01dded66fc8649974442e3273ee37900b","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MixpanelPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/DrimZ/capacitor-mixpanel.git","type":"git"},"_npmVersion":"10.2.4","description":"Capacitor plugin for Mixpanel","directories":{},"_nodeVersion":"20.11.0","dependencies":{"mixpanel-browser":"^2.68.0"},"eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.4.2","@capacitor/ios":"^7.4.2","@capacitor/core":"^7.4.2","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.4.2","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mixpanel_7.4.4_1755494314689_0.8272123671528349","host":"s3://npm-registry-packages-npm-production"}},"7.4.5":{"name":"@dhrimz/capacitor-mixpanel","version":"7.4.5","keywords":["capacitor","plugin","native","mixpanel","drimz"],"author":{"name":"Ryan Nacpil"},"license":"MIT","_id":"@dhrimz/capacitor-mixpanel@7.4.5","maintainers":[{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"}],"homepage":"https://github.com/DrimZ/capacitor-mixpanel#readme","bugs":{"url":"https://github.com/DrimZ/capacitor-mixpanel/issues"},"dist":{"shasum":"6c925dec1548e5fec1cf0e1907286071c4dca8b2","tarball":"https://registry.npmjs.org/@dhrimz/capacitor-mixpanel/-/capacitor-mixpanel-7.4.5.tgz","fileCount":24,"integrity":"sha512-+KqZtPiTyM6E3HxaHtMlIxmgrOuur7dwCuHR0/CyQN6r0k2UxcWYbEMSiUWWOyqnEtdpQb/fNvVDjDGZQ0V/vQ==","signatures":[{"sig":"MEYCIQD/+c0ZNaQjySRCWYIkv+4Lzth9J5N6DTMp39FsoXF81QIhALrNI5tyg5SujUqHEKKrcBOSs2wjp4XEayWI+VEk/NGq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":100506},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"5c8b41f01dded66fc8649974442e3273ee37900b","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MixpanelPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/DrimZ/capacitor-mixpanel.git","type":"git"},"_npmVersion":"10.2.4","description":"Capacitor plugin for Mixpanel","directories":{},"_nodeVersion":"20.11.0","dependencies":{"mixpanel-browser":"^2.68.0"},"eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.4.2","@capacitor/ios":"^7.4.2","@capacitor/core":"^7.4.2","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.4.2","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mixpanel_7.4.5_1755496360950_0.9197595700134029","host":"s3://npm-registry-packages-npm-production"}},"7.4.6":{"name":"@dhrimz/capacitor-mixpanel","version":"7.4.6","keywords":["capacitor","plugin","native","mixpanel","drimz"],"author":{"name":"Ryan Nacpil"},"license":"MIT","_id":"@dhrimz/capacitor-mixpanel@7.4.6","maintainers":[{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"}],"homepage":"https://github.com/DrimZ/capacitor-mixpanel#readme","bugs":{"url":"https://github.com/DrimZ/capacitor-mixpanel/issues"},"dist":{"shasum":"2073730a7dc023d4b0c1f1a99628b32a19cdfdfc","tarball":"https://registry.npmjs.org/@dhrimz/capacitor-mixpanel/-/capacitor-mixpanel-7.4.6.tgz","fileCount":25,"integrity":"sha512-/B1/hqmuoZonnwi62eL9scjDpk1CWFesdDqQGT7v63lWRl8Twuh5Gdqv2pqnrZmmVGJPN3bHpRmgdTQgmrqdAg==","signatures":[{"sig":"MEQCIFIIKOTOX3GEyKkqkGcSwiisb/YqxLpsFXFCoOG5DxQBAiBHzFU59X13IiDoO9FLbh2cMhST8Cyp73KZ18j3wAgCQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101090},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"5c8b41f01dded66fc8649974442e3273ee37900b","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MixpanelPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/DrimZ/capacitor-mixpanel.git","type":"git"},"_npmVersion":"10.2.4","description":"Capacitor plugin for Mixpanel","directories":{},"_nodeVersion":"20.11.0","dependencies":{"mixpanel-browser":"^2.68.0"},"eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.4.2","@capacitor/ios":"^7.4.2","@capacitor/core":"^7.4.2","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.4.2","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mixpanel_7.4.6_1755497100438_0.4868060525209785","host":"s3://npm-registry-packages-npm-production"}},"8.0.0":{"name":"@dhrimz/capacitor-mixpanel","version":"8.0.0","description":"Capacitor plugin for Mixpanel","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Ryan Nacpil"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/DrimZ/capacitor-mixpanel.git"},"bugs":{"url":"https://github.com/DrimZ/capacitor-mixpanel/issues"},"keywords":["capacitor","plugin","native","mixpanel","drimz"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","docgen":"docgen --api MixpanelPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^8.0.0","@capacitor/cli":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"^0.3.1","@capacitor/ios":"^8.0.0","@ionic/eslint-config":"^0.4.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","eslint":"^8.57.1","prettier":"^3.6.2","prettier-plugin-java":"^2.7.7","rimraf":"^6.1.0","rollup":"^4.53.2","swiftlint":"^2.0.0","typescript":"^5.9.3"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"dependencies":{"mixpanel-browser":"^2.76.0"},"_id":"@dhrimz/capacitor-mixpanel@8.0.0","gitHead":"86ac0d80a6270f650f8fda546a951ee580919aa5","homepage":"https://github.com/DrimZ/capacitor-mixpanel#readme","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-bQURm8bchsthxRQbEZZxJ8ZUT3Vc5qFE7WHXvQS5dUBS+q3NqM8yWugKb1MhfkenwU1do73hM2wKCJDAj5wGAg==","shasum":"b24ddbcf6a7c3b124c57ef83b494d8efe45440ef","tarball":"https://registry.npmjs.org/@dhrimz/capacitor-mixpanel/-/capacitor-mixpanel-8.0.0.tgz","fileCount":25,"unpackedSize":198376,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC94iyuENd22H+qPfCwBaqHTxEYy348U1Q9XfwMkgq72gIgQsxtwSSDGLgCZkPfDqHLI7hmOOqLvm+pvrgLGs44dqo="}]},"_npmUser":{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"},"directories":{},"maintainers":[{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-mixpanel_8.0.0_1774333016951_0.12549160484188238"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-18T04:56:25.395Z","modified":"2026-03-24T06:16:57.227Z","7.4.2":"2025-08-18T04:47:15.474Z","7.4.3":"2025-08-18T04:56:25.725Z","7.4.4":"2025-08-18T05:18:34.857Z","7.4.5":"2025-08-18T05:52:41.118Z","7.4.6":"2025-08-18T06:05:00.624Z","8.0.0":"2026-03-24T06:16:57.104Z"},"bugs":{"url":"https://github.com/DrimZ/capacitor-mixpanel/issues"},"author":{"name":"Ryan Nacpil"},"license":"MIT","homepage":"https://github.com/DrimZ/capacitor-mixpanel#readme","keywords":["capacitor","plugin","native","mixpanel","drimz"],"repository":{"type":"git","url":"git+https://github.com/DrimZ/capacitor-mixpanel.git"},"description":"Capacitor plugin for Mixpanel","maintainers":[{"name":"iamryann","email":"nacpil.ryan.d@gmail.com"}],"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Capacitor Mixpanel</h3>\n<p align=\"center\"><strong><code>@dhrimz/capacitor-mixpanel</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Mixpanel forked from <code>@houseninja/capacitor-mixpanel</code>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@dhrimz/capacitor-mixpanel\"><img src=\"https://img.shields.io/npm/l/@dhrimz/capacitor-mixpanel?style=flat-square\" /></a>\n  <img src=\"https://img.shields.io/github/last-commit/DrimZ/capacitor-mixpanel?style=flat-square\"></img>\n<br>\n  <a href=\"https://www.npmjs.com/package/@dhrimz/capacitor-mixpanel\"><img src=\"https://img.shields.io/npm/dw/@dhrimz/capacitor-mixpanel?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@dhrimz/capacitor-mixpanel\"><img src=\"https://img.shields.io/npm/v/@dhrimz/capacitor-mixpanel?style=flat-square\" /></a>\n</p>\n\n## Install\n\n```bash\nnpm install @dhrimz/capacitor-mixpanel\n```\n\nAdd the following plugin configuration:\n\n```js\n{\n  ...\n  \"Mixpanel\": {\n    \"token\": \"token-abcdefg1234\",\n    \"trackAutomaticEvents\": true, // optional, default: true\n    \"optOutTrackingByDefault\": false, // optional, default: false\n    \"disableIosIpCollection\": true, // optional, default: false\n    \"serverURL\": \"https://api-eu.mixpanel.com/\", // optional, default: \"https://api.mixpanel.com/\"\n    \"persistence\": \"localStorage\", // optional (WEB ONLY), default: \"cookie\"\n    \"track_pageview\": true, // optional (WEB ONLY), default: false\n  },\n  ...\n}\n```\n\nSync capacitor configuration\n\n```bash\nnpx cap sync\n```\n\n## API\n\n<docgen-index>\n\n* [`initialize(...)`](#initialize)\n* [`distinctId()`](#distinctid)\n* [`track(...)`](#track)\n* [`identify(...)`](#identify)\n* [`alias(...)`](#alias)\n* [`reset()`](#reset)\n* [`clearSuperProperties()`](#clearsuperproperties)\n* [`currentSuperProperties()`](#currentsuperproperties)\n* [`registerSuperProperties(...)`](#registersuperproperties)\n* [`setProfile(...)`](#setprofile)\n* [`setProfileUnion(...)`](#setprofileunion)\n* [`deleteProfile()`](#deleteprofile)\n* [`trackCharge(...)`](#trackcharge)\n* [`flush()`](#flush)\n* [`optInTracking(...)`](#optintracking)\n* [`optOutTracking()`](#optouttracking)\n* [`hasOptedOutTracking()`](#hasoptedouttracking)\n* [`startSessionRecording()`](#startsessionrecording)\n* [`stopSessionRecording()`](#stopsessionrecording)\n* [`getSessionReplayUrl()`](#getsessionreplayurl)\n* [`getSessionRecordingProperties()`](#getsessionrecordingproperties)\n* [`getFeatureFlagVariant(...)`](#getfeatureflagvariant)\n* [`getFeatureFlagValue(...)`](#getfeatureflagvalue)\n* [`isFeatureFlagEnabled(...)`](#isfeatureflagenabled)\n* [`areFlagsReady()`](#areflagsready)\n* [`updateFeatureFlagContext(...)`](#updatefeatureflagcontext)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### initialize(...)\n\n```typescript\ninitialize(options: InitializeOptions) => Promise<void>\n```\n\nInitialize the plugin with your Mixpanel token and configuration.\n\n&gt; **Platform:** Web only — on iOS and Android, Mixpanel is initialized\n&gt; automatically via the `capacitor.config.json` plugin configuration.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#initializeoptions\">InitializeOptions</a></code> |\n\n--------------------\n\n\n### distinctId()\n\n```typescript\ndistinctId() => Promise<{ value: string; }>\n```\n\nReturns the current distinct id of the user. This is either the id automatically generated by the library or the id that has been passed by a call to identify().\n\n&gt; **Platforms:** iOS, Android, Web\n\n**Returns:** <code>Promise&lt;{ value: string; }&gt;</code>\n\n--------------------\n\n\n### track(...)\n\n```typescript\ntrack(options: TrackOptions) => Promise<void>\n```\n\nTracks an event with properties. Properties are optional and can be added only if needed.\n\n&gt; **Platforms:** iOS, Android, Web\n\n| Param         | Type                                                  |\n| ------------- | ----------------------------------------------------- |\n| **`options`** | <code><a href=\"#trackoptions\">TrackOptions</a></code> |\n\n--------------------\n\n\n### identify(...)\n\n```typescript\nidentify(options: IdentifyOptions) => Promise<void>\n```\n\nIdentify a user with a unique ID to track user activity across devices, tie a user to their events, and create a user profile. If you never call this method, unique visitors are tracked using a UUID generated the first time they visit the site.\n\n&gt; **Platforms:** iOS, Android, Web\n\n| Param         | Type                                                        |\n| ------------- | ----------------------------------------------------------- |\n| **`options`** | <code><a href=\"#identifyoptions\">IdentifyOptions</a></code> |\n\n--------------------\n\n\n### alias(...)\n\n```typescript\nalias(options: AliasOptions) => Promise<void>\n```\n\nThe alias method creates an alias which Mixpanel will use to remap one id to another. Multiple aliases can point to the same identifier.\n\n&gt; **Platforms:** iOS, Android, Web\n\n| Param         | Type                                                  |\n| ------------- | ----------------------------------------------------- |\n| **`options`** | <code><a href=\"#aliasoptions\">AliasOptions</a></code> |\n\n--------------------\n\n\n### reset()\n\n```typescript\nreset() => Promise<void>\n```\n\nClears super properties and generates a new random distinct_id for this instance. Useful for clearing data when a user logs out.\n\n&gt; **Platforms:** iOS, Android, Web\n\n--------------------\n\n\n### clearSuperProperties()\n\n```typescript\nclearSuperProperties() => Promise<void>\n```\n\nClears all currently set super properties.\n\n&gt; **Platforms:** iOS, Android, Web\n\n--------------------\n\n\n### currentSuperProperties()\n\n```typescript\ncurrentSuperProperties() => Promise<{ properties: any; }>\n```\n\nReturns the currently set super properties.\n\n&gt; **Platforms:** iOS, Android, Web\n\n**Returns:** <code>Promise&lt;{ properties: any; }&gt;</code>\n\n--------------------\n\n\n### registerSuperProperties(...)\n\n```typescript\nregisterSuperProperties(options: SuperPropertyOptions) => Promise<void>\n```\n\nRegister super properties that will be sent with every event.\n\n&gt; **Platforms:** iOS, Android, Web\n\n| Param         | Type                                                                  |\n| ------------- | --------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#superpropertyoptions\">SuperPropertyOptions</a></code> |\n\n--------------------\n\n\n### setProfile(...)\n\n```typescript\nsetProfile(options: ProfileProperties) => Promise<void>\n```\n\nSet properties on the current user in Mixpanel People.\n\n&gt; **Platforms:** iOS, Android, Web\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#profileproperties\">ProfileProperties</a></code> |\n\n--------------------\n\n\n### setProfileUnion(...)\n\n```typescript\nsetProfileUnion(options: ProfileProperties) => Promise<void>\n```\n\nUnion list properties.\n\n&gt; **Platforms:** iOS, Android, Web\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#profileproperties\">ProfileProperties</a></code> |\n\n--------------------\n\n\n### deleteProfile()\n\n```typescript\ndeleteProfile() => Promise<void>\n```\n\nPermanently deletes the current people analytics profile from Mixpanel (using the current distinctId).\n\n&gt; **Platforms:** iOS, Android, Web\n\n--------------------\n\n\n### trackCharge(...)\n\n```typescript\ntrackCharge(options: ChargeOptions) => Promise<void>\n```\n\nTrack money spent by the current user for revenue analytics and associate properties with the charge. Properties is optional.\n\n&gt; **Platforms:** iOS, Android, Web\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#chargeoptions\">ChargeOptions</a></code> |\n\n--------------------\n\n\n### flush()\n\n```typescript\nflush() => Promise<void>\n```\n\nUploads queued data to the Mixpanel server.\n\n&gt; **Platform:** iOS, Android only — no-op on Web.\n\n--------------------\n\n\n### optInTracking(...)\n\n```typescript\noptInTracking(options: OptInOptions) => Promise<void>\n```\n\nOpt in tracking. Use this method to opt in an already opted out user from tracking. People updates and track calls will be sent to Mixpanel after using this method.\n\n&gt; **Platforms:** iOS, Android, Web\n\n| Param         | Type                                                  |\n| ------------- | ----------------------------------------------------- |\n| **`options`** | <code><a href=\"#optinoptions\">OptInOptions</a></code> |\n\n--------------------\n\n\n### optOutTracking()\n\n```typescript\noptOutTracking() => Promise<void>\n```\n\nOpt out tracking. This method is used to opt out tracking. This causes all events and people request no longer to be sent back to the Mixpanel server.\n\n&gt; **Platforms:** iOS, Android, Web\n\n--------------------\n\n\n### hasOptedOutTracking()\n\n```typescript\nhasOptedOutTracking() => Promise<{ value: boolean; }>\n```\n\nReturns the current opt-out status.\n\n&gt; **Platforms:** iOS, Android, Web\n\n**Returns:** <code>Promise&lt;{ value: boolean; }&gt;</code>\n\n--------------------\n\n\n### startSessionRecording()\n\n```typescript\nstartSessionRecording() => Promise<void>\n```\n\nStart recording the current session.\n\n&gt; **Platform:** Web only\n\n--------------------\n\n\n### stopSessionRecording()\n\n```typescript\nstopSessionRecording() => Promise<void>\n```\n\nStop the current session recording.\n\n&gt; **Platform:** Web only\n\n--------------------\n\n\n### getSessionReplayUrl()\n\n```typescript\ngetSessionReplayUrl() => Promise<{ value: string; }>\n```\n\nGet a URL to view the current session replay in the Mixpanel UI.\n\n&gt; **Platform:** Web only\n\n**Returns:** <code>Promise&lt;{ value: string; }&gt;</code>\n\n--------------------\n\n\n### getSessionRecordingProperties()\n\n```typescript\ngetSessionRecordingProperties() => Promise<{ properties: any; }>\n```\n\nGet session recording properties (e.g., `$mp_replay_id`) for the current recording.\n\n&gt; **Platform:** Web only\n\n**Returns:** <code>Promise&lt;{ properties: any; }&gt;</code>\n\n--------------------\n\n\n### getFeatureFlagVariant(...)\n\n```typescript\ngetFeatureFlagVariant(options: FeatureFlagOptions) => Promise<FeatureFlagVariantResult>\n```\n\nGet the variant for a feature flag.\n\n&gt; **Platform:** Web only\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#featureflagoptions\">FeatureFlagOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#featureflagvariantresult\">FeatureFlagVariantResult</a>&gt;</code>\n\n--------------------\n\n\n### getFeatureFlagValue(...)\n\n```typescript\ngetFeatureFlagValue(options: FeatureFlagValueOptions) => Promise<{ value: any; }>\n```\n\nGet the value of a feature flag variant.\n\n&gt; **Platform:** Web only\n\n| Param         | Type                                                                        |\n| ------------- | --------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#featureflagvalueoptions\">FeatureFlagValueOptions</a></code> |\n\n**Returns:** <code>Promise&lt;{ value: any; }&gt;</code>\n\n--------------------\n\n\n### isFeatureFlagEnabled(...)\n\n```typescript\nisFeatureFlagEnabled(options: FeatureFlagEnabledOptions) => Promise<{ value: boolean; }>\n```\n\nCheck if a feature flag is enabled.\n\n&gt; **Platform:** Web only\n\n| Param         | Type                                                                            |\n| ------------- | ------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#featureflagenabledoptions\">FeatureFlagEnabledOptions</a></code> |\n\n**Returns:** <code>Promise&lt;{ value: boolean; }&gt;</code>\n\n--------------------\n\n\n### areFlagsReady()\n\n```typescript\nareFlagsReady() => Promise<{ value: boolean; }>\n```\n\nCheck if feature flags have been fetched and are ready.\n\n&gt; **Platform:** Web only\n\n**Returns:** <code>Promise&lt;{ value: boolean; }&gt;</code>\n\n--------------------\n\n\n### updateFeatureFlagContext(...)\n\n```typescript\nupdateFeatureFlagContext(options: FeatureFlagContextOptions) => Promise<void>\n```\n\nUpdate the context variables used for feature flag evaluation.\n\n&gt; **Platform:** Web only\n\n| Param         | Type                                                                            |\n| ------------- | ------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#featureflagcontextoptions\">FeatureFlagContextOptions</a></code> |\n\n--------------------\n\n\n### Interfaces\n\n\n#### InitializeOptions\n\n| Prop                         | Type                                                                         | Description                                                                                                                                                                                                                  | Default                 |\n| ---------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| **`token`**                  | <code>string</code>                                                          | Your Mixpanel API token                                                                                                                                                                                                      |                         |\n| **`autotrack`**              | <code>boolean</code>                                                         | Enable or disable autotracking                                                                                                                                                                                               | <code>true</code>       |\n| **`optOutByDefault`**        | <code>boolean</code>                                                         | Opting users out of tracking by this Mixpanel instance by default                                                                                                                                                            | <code>false</code>      |\n| **`debug`**                  | <code>boolean</code>                                                         | Enable or disable debug mode                                                                                                                                                                                                 | <code>false</code>      |\n| **`ipCollection`**           | <code>boolean</code>                                                         | Enable or disable IP collection for geolocation                                                                                                                                                                              | <code>true</code>       |\n| **`serverURL`**              | <code>string</code>                                                          | Mixpanel cluster URL or EU server URL                                                                                                                                                                                        | <code>null</code>       |\n| **`persistence`**            | <code>'cookie' \\| 'localStorage'</code>                                      | [WebOnly] Type of persistence store for super properties if set to 'localStorage', any existing mixapanel cookie value with the same persistence_name will be transferred to localStorage and deleted                        | <code>'cookie'</code>   |\n| **`track_pageview`**         | <code>boolean</code>                                                         | [WebOnly] Enable automatic page view tracking using default page view events through the track_pageview() method.                                                                                                            | <code>false</code>      |\n| **`recordSessionsPercent`**  | <code>number</code>                                                          | [WebOnly] Percentage of sessions to record (0-100). Set to a value &gt; 0 to enable session recording.                                                                                                                       | <code>0</code>          |\n| **`recordBlockClass`**       | <code>string</code>                                                          | [WebOnly] CSS class name to block from session recording                                                                                                                                                                     | <code>'mp-block'</code> |\n| **`recordBlockSelector`**    | <code>string</code>                                                          | [WebOnly] CSS selector to block from session recording                                                                                                                                                                       |                         |\n| **`recordMaskTextClass`**    | <code>string</code>                                                          | [WebOnly] CSS class name to mask text in session recording                                                                                                                                                                   | <code>'mp-mask'</code>  |\n| **`recordMaskTextSelector`** | <code>string</code>                                                          | [WebOnly] CSS selector to mask text in session recording                                                                                                                                                                     |                         |\n| **`recordCollectFonts`**     | <code>boolean</code>                                                         | [WebOnly] Whether to collect fonts during session recording                                                                                                                                                                  | <code>false</code>      |\n| **`recordIdleTimeoutMs`**    | <code>number</code>                                                          | [WebOnly] Idle timeout in milliseconds before stopping recording                                                                                                                                                             | <code>300000</code>     |\n| **`recordMaxMs`**            | <code>number</code>                                                          | [WebOnly] Maximum recording length in milliseconds                                                                                                                                                                           | <code>1800000</code>    |\n| **`recordMinMs`**            | <code>number</code>                                                          | [WebOnly] Minimum recording length in milliseconds before sending                                                                                                                                                            |                         |\n| **`recordCanvas`**           | <code>boolean</code>                                                         | [WebOnly] Whether to record canvas elements                                                                                                                                                                                  | <code>false</code>      |\n| **`recordHeatmapData`**      | <code>boolean</code>                                                         | [WebOnly] Whether to capture click events for heatmaps                                                                                                                                                                       | <code>false</code>      |\n| **`recordConsole`**          | <code>boolean</code>                                                         | [WebOnly] Whether to include console logs in session recordings                                                                                                                                                              | <code>false</code>      |\n| **`autocapture`**            | <code>boolean \\| <a href=\"#autocaptureoptions\">AutocaptureOptions</a></code> | [WebOnly] Enable autocapture for automatic tracking of clicks, form submissions, page views, and scrolls. Pass true to enable with defaults, or an <a href=\"#autocaptureoptions\">AutocaptureOptions</a> object to customize. | <code>false</code>      |\n| **`flags`**                  | <code>{ context?: <a href=\"#record\">Record</a>&lt;string, any&gt;; }</code>  | [WebOnly] Enable feature flags with optional context variables.                                                                                                                                                              |                         |\n\n\n#### AutocaptureOptions\n\n| Prop                     | Type                                                                                      | Description                                                             | Default                 |\n| ------------------------ | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------- |\n| **`click`**              | <code>boolean</code>                                                                      | Track element clicks                                                    | <code>true</code>       |\n| **`input`**              | <code>boolean</code>                                                                      | Track when input is provided (not content)                              | <code>true</code>       |\n| **`pageview`**           | <code>boolean \\| 'url-with-path' \\| 'url-with-path-and-query-string' \\| 'full-url'</code> | Track page views. Set to true or a string format.                       | <code>'full-url'</code> |\n| **`submit`**             | <code>boolean</code>                                                                      | Track form submissions                                                  | <code>true</code>       |\n| **`scroll`**             | <code>boolean</code>                                                                      | Track page scrolls                                                      | <code>true</code>       |\n| **`rageClick`**          | <code>boolean \\| <a href=\"#rageclickoptions\">RageClickOptions</a></code>                  | Track rage clicks (multiple clicks in a short time on the same element) | <code>true</code>       |\n| **`captureTextContent`** | <code>boolean</code>                                                                      | Capture text content of clicked elements                                | <code>false</code>      |\n\n\n#### RageClickOptions\n\n| Prop              | Type                | Description                                                                   | Default           |\n| ----------------- | ------------------- | ----------------------------------------------------------------------------- | ----------------- |\n| **`thresholdPx`** | <code>number</code> | Distance threshold in pixels for clicks to be considered within the same area | <code>30</code>   |\n| **`timeoutMs`**   | <code>number</code> | Time window in milliseconds for clicks to be considered rapid                 | <code>1000</code> |\n| **`clickCount`**  | <code>number</code> | Number of clicks required to trigger a rage click event                       | <code>3</code>    |\n\n\n#### TrackOptions\n\n| Prop             | Type                                                        | Description                                                                                                                                | Default         |\n| ---------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------- |\n| **`event`**      | <code>string</code>                                         | The name of the event. This can be anything the user does - 'Button Click', 'Sign Up', 'Item Purchased', etc.                              |                 |\n| **`properties`** | <code><a href=\"#trackproperties\">TrackProperties</a></code> | A set of properties to include with the event you're sending. These describe the user who did the event or details about the event itself. | <code>{}</code> |\n\n\n#### TrackProperties\n\n\n#### IdentifyOptions\n\n| Prop             | Type                | Description                                                                                                                                         |\n| ---------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`distinctId`** | <code>string</code> | A string that uniquely identifies a user. If not provided, the distinct_id currently in the persistent store (cookie or localStorage) will be used. |\n\n\n#### AliasOptions\n\n| Prop             | Type                | Description                                                           |\n| ---------------- | ------------------- | --------------------------------------------------------------------- |\n| **`alias`**      | <code>string</code> | A unique identifier that you want to use for this user in the future. |\n| **`distinctId`** | <code>string</code> | The current identifier being used for this user.                      |\n\n\n#### SuperPropertyOptions\n\n| Prop             | Type             | Description                                                |\n| ---------------- | ---------------- | ---------------------------------------------------------- |\n| **`properties`** | <code>any</code> | An associative array of properties to store about the user |\n\n\n#### ProfileProperties\n\n| Prop             | Type             | Description                                                |\n| ---------------- | ---------------- | ---------------------------------------------------------- |\n| **`properties`** | <code>any</code> | An associative array of properties to store about the user |\n\n\n#### ChargeOptions\n\n| Prop             | Type                | Description                                                       | Default         |\n| ---------------- | ------------------- | ----------------------------------------------------------------- | --------------- |\n| **`amount`**     | <code>number</code> | The amount of the transaction                                     |                 |\n| **`properties`** | <code>any</code>    | An associative array of properties to store about the transaction | <code>{}</code> |\n\n\n#### OptInOptions\n\n| Prop             | Type                | Description                                                |\n| ---------------- | ------------------- | ---------------------------------------------------------- |\n| **`distinctId`** | <code>string</code> | String that uniquely identifies the current user.          |\n| **`properties`** | <code>any</code>    | An associative array of properties to store about the user |\n\n\n#### FeatureFlagVariantResult\n\n| Prop        | Type                |\n| ----------- | ------------------- |\n| **`key`**   | <code>string</code> |\n| **`value`** | <code>any</code>    |\n\n\n#### FeatureFlagOptions\n\n| Prop           | Type                | Description                                   |\n| -------------- | ------------------- | --------------------------------------------- |\n| **`name`**     | <code>string</code> | The name of the feature flag                  |\n| **`fallback`** | <code>string</code> | Fallback variant key if the flag is not found |\n\n\n#### FeatureFlagValueOptions\n\n| Prop                | Type                | Description                             |\n| ------------------- | ------------------- | --------------------------------------- |\n| **`name`**          | <code>string</code> | The name of the feature flag            |\n| **`fallbackValue`** | <code>any</code>    | Fallback value if the flag is not found |\n\n\n#### FeatureFlagEnabledOptions\n\n| Prop                | Type                 | Description                             | Default            |\n| ------------------- | -------------------- | --------------------------------------- | ------------------ |\n| **`name`**          | <code>string</code>  | The name of the feature flag            |                    |\n| **`fallbackValue`** | <code>boolean</code> | Fallback value if the flag is not found | <code>false</code> |\n\n\n#### FeatureFlagContextOptions\n\n| Prop          | Type                                                         | Description                                            | Default            |\n| ------------- | ------------------------------------------------------------ | ------------------------------------------------------ | ------------------ |\n| **`context`** | <code><a href=\"#record\">Record</a>&lt;string, any&gt;</code> | Context variables for feature flag evaluation          |                    |\n| **`replace`** | <code>boolean</code>                                         | If true, replace the entire context instead of merging | <code>false</code> |\n\n\n### Type Aliases\n\n\n#### Record\n\nConstruct a type with a set of properties K of type T\n\n<code>{\r [P in K]: T;\r }</code>\n\n</docgen-api>\n","readmeFilename":"README.md"}