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.55.0 to 2.55.1 <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>Misc fixes and updates</h2> <ul> <li>Adds a minimum recording length option for session recording. For example, <code>{record_min_ms: 4000}</code> won't send any recordings that are less than 4 seconds long. The maximum value allowed is 8000.</li> <li>Added a fix for session recordings being sent with an empty start time.</li> <li>Fixes and improvements for request batcher to support offline queueing and retry.</li> <li>Fix for query param parsing/escaping (<a href="https://redirect.github.com/mixpanel/mixpanel-js/issues/443">mixpanel/mixpanel-js#443</a>).</li> <li>Support for more UTM tags / click IDs (<a href="https://redirect.github.com/mixpanel/mixpanel-js/pull/442">mixpanel/mixpanel-js#442</a>).</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.55.1</strong> (27 Aug 2024)</p> <ul> <li>Adds a minimum recording length option for session recording</li> <li>Fixes and improvements for session recording batcher to support offline queueing and retry</li> <li>Fix for query param parsing/escaping</li> <li>Support for more UTM tags / click IDs (thanks <a href="https://github.com/aliyalcinkaya"><code>@aliyalcinkaya</code></a>)</li> </ul> <p><strong>2.55.0</strong> (2 Aug 2024)</p> <ul> <li>Added new build to support native JavaScript modules</li> </ul> <p><strong>2.54.1</strong> (30 Jul 2024)</p> <ul> <li>Fixes and improvements for user-idleness detection in session recording</li> </ul> <p><strong>2.54.0</strong> (23 Jul 2024)</p> <ul> <li>Provides optional builds without session recording module and without asynchronous script loading.</li> <li>Integrates request batcher with session recording module for increased reliability.</li> <li>Improved user inactivity heuristic for session recording timeout.</li> <li>Adds config options to inline images and collect fonts during session recording.</li> </ul> <p><strong>2.53.0</strong> (21 Jun 2024)</p> <ul> <li>Switch to new session-recording network payload format, utilizing client-side compression when available</li> <li>Session-recording methods are now available through Google Tag Manager wrapper</li> </ul> <p><strong>2.52.0</strong> (7 Jun 2024)</p> <ul> <li>Reverted UTM param persistence change from 2.51.0: UTM parameters are again persisted by default</li> </ul> <p><strong>2.51.0</strong> (30 May 2024)</p> <ul> <li>UTM parameter properties are no longer persisted by default</li> <li>Existing superproperties persisted in localStorage are now copied back to cookie storage if the library is initialized with cookie persistence (support migrations from localStorage->cookie)</li> <li>Added session-recording options <code>record_block_class</code>, <code>record_block_selector</code>, and <code>record_mask_text_class</code></li> <li>Added method <code>mixpanel.get_session_recording_properties()</code> for interop with other client-side SDKs</li> </ul> <p><strong>2.50.0</strong> (26 Apr 2024)</p> <ul> <li>Initial support for session recording</li> </ul> <p><strong>2.49.0</strong> (5 Feb 2024)</p> <ul> <li>SPA support in pageview-tracking</li> <li>Support for configurable UTM parameter persistence</li> <li>Initial-referrer profile properties are now stored with <code>set_once</code> instead of <code>set</code></li> <li>Ignore AhrefsSiteAudit crawler</li> </ul> <p><strong>2.48.1</strong> (14 Nov 2023)</p> <ul> <li>UTM campaign properties will always be persisted super properties (fixes discrepancy between minified and unminified package)</li> </ul> <p><strong>2.48.0</strong> (7 Nov 2023)</p> <ul> <li>API endpoint routes can now be configured individually (i.e. rename /track, /engage, /groups)</li> <li>Event properties object passed to mixpanel.track() will no longer be mutated</li> <li>Super properties are now reloaded from persistence when making every tracking call (i.e., kept fresh when another tab/window in the same browser has updated them)</li> <li>Extra failsafe behavior for trying to clear queued requests when localStorage doesn't work on startup, e.g., when localStorage is full so writes fail</li> <li>Block Chrome-Lighthouse user agent</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="28961c73f3"><code>28961c7</code></a> 2.55.1</li> <li><a href="f4ceda4b4e"><code>f4ceda4</code></a> Merge pull request <a href="https://redirect.github.com/mixpanel/mixpanel-js/issues/217">#217</a> from mixpanel/2.55.1-rc</li> <li><a href="cb938d7876"><code>cb938d7</code></a> Build 2.55.1</li> <li><a href="5bf4d47e02"><code>5bf4d47</code></a> Build release branch</li> <li><a href="de08b334b9"><code>de08b33</code></a> Merge pull request <a href="https://redirect.github.com/mixpanel/mixpanel-js/issues/220">#220</a> from mixpanel/jg-fix-race-test</li> <li><a href="567315502f"><code>5673155</code></a> fix race condition test for bundled version</li> <li><a href="6813a4779c"><code>6813a47</code></a> Merge pull request <a href="https://redirect.github.com/mixpanel/mixpanel-js/issues/219">#219</a> from mixpanel/carlos-recording-min-duration-test</li> <li><a href="304e596dd8"><code>304e596</code></a> Fixed test for minimum recording duration</li> <li><a href="343c7ab3bd"><code>343c7ab</code></a> Merge pull request <a href="https://redirect.github.com/mixpanel/mixpanel-js/issues/213">#213</a> from mixpanel/carlos-recording-min-duration</li> <li><a href="a7d429a834"><code>a7d429a</code></a> Merge branch '2.55.1-rc' into carlos-recording-min-duration</li> <li>Additional commits viewable in <a href="https://github.com/mixpanel/mixpanel-js/compare/v2.55.0...v2.55.1">compare view</a></li> </ul> </details> <br /> Updates `@types/mixpanel-browser` from 2.49.1 to 2.50.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
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.