diff --git a/catalog/CHANGELOG.md b/catalog/CHANGELOG.md index 98760a66412..7d1a15da7c0 100644 --- a/catalog/CHANGELOG.md +++ b/catalog/CHANGELOG.md @@ -17,6 +17,7 @@ where verb is one of ## Changes +- [Added] Enable MixPanel tracking in Embed mode ([#4237](https://github.com/quiltdata/quilt/pull/4237)) - [Fixed] Fix embed files listing ([#4236](https://github.com/quiltdata/quilt/pull/4236)) - [Changed] Qurator: switch to Claude 3.5 Sonnet **v2** ([#4234](https://github.com/quiltdata/quilt/pull/4234)) - [Changed] Add `catalog` fragment to Quilt+ URIs (and to documentation) ([#4213](https://github.com/quiltdata/quilt/pull/4213)) diff --git a/catalog/app/embed/Embed.js b/catalog/app/embed/Embed.js index a6f29bcf595..189b7a28f65 100644 --- a/catalog/app/embed/Embed.js +++ b/catalog/app/embed/Embed.js @@ -40,6 +40,7 @@ import defer from 'utils/defer' import { ErrorDisplay } from 'utils/error' import * as RT from 'utils/reactTools' import * as s3paths from 'utils/s3paths' +import * as Tracking from 'utils/tracking' import useConstant from 'utils/useConstant' import useMemoEq from 'utils/useMemoEq' import usePrevious from 'utils/usePrevious' @@ -356,6 +357,7 @@ function App({ init }) { Notifications.Provider, [APIConnector.Provider, { fetch, middleware: [Auth.apiMiddleware] }], [Auth.Provider, { storage }], + [Tracking.Provider, { userSelector: Auth.selectors.username }], AWS.Credentials.Provider, AWS.Config.Provider, AWS.S3.Provider,