Bumps [mixpanel-browser](https://github.com/mixpanel/mixpanel-js) and [@types/mixpanel-browser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mixpanel-browser). These dependencies needed to be updated together. Updates `mixpanel-browser` from 2.64.0 to 2.65.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mixpanel/mixpanel-js/releases">mixpanel-browser's releases</a>.</em></p> <blockquote> <h2>Updates to revenue, session recording, autocapture, etc</h2> <p>This release packages up changes and improvements to several subsystems:</p> <ul> <li>The long-deprecated <code>mixpanel.people.track_charge()</code> method now only prints a console error and no longer sets a profile property or produces any other change. The old version of Mixpanel's Revenue analysis UI has been replaced by a newer suite of analysis tools which don't depend on profile properties (see <a href="https://docs.mixpanel.com/docs/features/revenue_analytics">https://docs.mixpanel.com/docs/features/revenue_analytics</a>).</li> <li>Autocapture click tracking properties now include page height and width.</li> <li>Session recording now stops when <code>mixpanel.reset()</code> is called.</li> <li>New init option<code>api_extra_query_params</code> adds support for appending arbitrary query string params to tracking requests (useful for non-standard proxy setups)</li> <li>The API of the Feature Flagging system (under development) has been revised</li> <li>Whale Browser is now detected automatically</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mixpanel/mixpanel-js/blob/master/CHANGELOG.md">mixpanel-browser's changelog</a>.</em></p> <blockquote> <p><strong>2.65.0</strong> (20 May 2025)</p> <ul> <li><code>mixpanel.people.track_charge()</code> (deprecated) no longer sets profile property</li> <li>Adds page height and width tracking to autocapture click tracking</li> <li>Session recording now stops when mixpanel.reset() is called</li> <li>Support for adding arbitrary query string params to tracking requests (thanks <a href="https://github.com/dylan-asos"><code>@dylan-asos</code></a>)</li> <li>Feature flagging API revisions</li> <li>Whale Browser detection</li> </ul> <p><strong>2.64.0</strong> (15 Apr 2025)</p> <ul> <li>Add <code>record_heatmap_data</code> init option for Session Recording to ensure click events are captured for Heat Maps</li> <li>Initial support for feature flagging</li> </ul> <p><strong>2.63.0</strong> (1 Apr 2025)</p> <ul> <li>Update rrweb to latest alpha version</li> <li>Refactor SDK build process to rely mainly on Rollup</li> </ul> <p><strong>2.62.0</strong> (26 Mar 2025)</p> <ul> <li>Replace UUID generator with UUIDv4 (using native API when available)</li> <li>Consistently use native JSON serialization when available</li> <li>Fix for session recording idle timeout race condition</li> </ul> <p><strong>2.61.2</strong> (14 Mar 2025)</p> <ul> <li>Revert 10ms throttle on enqueueing events to improve tracking reliability on page unload</li> </ul> <p><strong>2.61.1</strong> (11 Mar 2025)</p> <ul> <li>Session recording stops if initial DOM snapshot fails</li> <li>Errors triggered by rrweb's record function are now caught</li> <li>Fix for issue causing opt-out check error messages in <code>debug</code> mode</li> </ul> <p><strong>2.61.0</strong> (6 Mar 2025)</p> <ul> <li>Session recordings now continue across page loads within the same tab, using IndexedDB for persistence</li> </ul> <p><strong>2.60.0</strong> (31 Jan 2025)</p> <ul> <li>Expanded Autocapture configs</li> <li>Prevent duplicate values in persistence when using people.union (thanks <a href="https://github.com/chrisdeely"><code>@chrisdeely</code></a>)</li> </ul> <p><strong>2.59.0</strong> (21 Jan 2025)</p> <ul> <li>Initial Autocapture support</li> <li>Block more crawlers (AmazonBot, more Yandex bots)</li> </ul> <p><strong>2.58.0</strong> (16 Dec 2024)</p> <ul> <li>Added canvas recording option</li> <li>Session Replay checkpoint events now include a starting URL</li> </ul> <p><strong>2.57.1</strong> (12 Dec 2024)</p> <ul> <li>Asynchronous abstractions (primarily Promise support) introduced in internal refactor of batch/queue/retry system</li> </ul> <p><strong>2.57.0</strong> (Dec 2024) REDACTED</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="bb9a0053b8"><code>bb9a005</code></a> 2.65.0</li> <li><a href="409a7aae9e"><code>409a7aa</code></a> changelog for 2.65.0</li> <li><a href="b8ed533587"><code>b8ed533</code></a> rebuild 2.65.0</li> <li><a href="2538584c46"><code>2538584</code></a> lint fix</li> <li><a href="6fda746356"><code>6fda746</code></a> rebuild 2.65.0-rc1</li> <li><a href="13348c6d78"><code>13348c6</code></a> try to work around global recorder object test issue</li> <li><a href="340e9cf921"><code>340e9cf</code></a> make track_charge a NOOP</li> <li><a href="7d9d3a5e91"><code>7d9d3a5</code></a> fix tests</li> <li><a href="37c1f3de1b"><code>37c1f3d</code></a> add back get_feature_data temporarily</li> <li><a href="0c3ab8bd73"><code>0c3ab8b</code></a> [Session Replay] Stop session recording when SDK calls reset()</li> <li>Additional commits viewable in <a href="https://github.com/mixpanel/mixpanel-js/compare/v2.64.0...v2.65.0">compare view</a></li> </ul> </details> <br /> Updates `@types/mixpanel-browser` from 2.54.0 to 2.60.0 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mixpanel-browser">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This is a Next.js project bootstrapped with
create-next-app.
Getting Started
First, install dependencies and populate the timestamps.json file:
pnpm setup
Next, create files .env.local and .env.development.local in this directory.
Put this in .env.local:
NEXT_PUBLIC_MIXPANEL_TOKEN=""
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID=""
NEXT_PUBLIC_LINKEDIN_PARTNER_ID=""
FIREZONE_DEPLOYED_SHA=""
And this in .env.development.local:
# Created by Vercel CLI
EDGE_CONFIG=""
FIREZONE_DEPLOYED_SHA=""
SITE_URL=""
VERCEL_DEEP_CLONE=""
After that, make sure to contact the team for their values.
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page
auto-updates as you edit the file.
Linting
This project uses Prettier to format code and ensure a consistent style. Use the .prettierrc.json in the root of this repo to configure your editor.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.