Skip to content

Settings

Settings analytics manage

A router that opens the dedicated management screen for a connected tracking pixel — Meta, Google, GA4, LinkedIn, or TikTok — based on the selected pixel's id.
Available
Ports as-is

Examples

Rendered live from the maintained Storybook story. Lantern stores only the story id and embeds Storybook rather than duplicating the component or its demo.

Settings analytics manage

Rendered live from Storybook

Storybook must be running for this to load — bun run start:storybook from the monorepo root, or set NEXT_PUBLIC_STORYBOOK_URL to a deployed instance.

Props

The component's public API, read from its TypeScript source. Descriptions come from TSDoc on the prop, so this table cannot drift from the component.

PropTypeDefaultDescription
pixelId*string—Undocumented — add TSDoc to the prop in the library.
pixelName*string—Undocumented — add TSDoc to the prop in the library.
pixelIcon*string—Undocumented — add TSDoc to the prop in the library.
onBack*() => void—Undocumented — add TSDoc to the prop in the library.
onDisconnect() => void—Undocumented — add TSDoc to the prop in the library.
initialConnectedboolean—Undocumented — add TSDoc to the prop in the library.
onReconnect() => void—Undocumented — add TSDoc to the prop in the library.
autoConnectboolean—Undocumented — add TSDoc to the prop in the library.

Reference

Transcribed from the component audit. If this disagrees with the source, the source is right.

Source
src/components/settings/SettingsAnalyticsManage.tsx
Portability
Copies across unchanged — only the utils import path moves.
Notes
Render it after a user picks a pixel to manage from the Analytics pane, passing the pixel id, name, and connection state so it can hand off to the matching platform screen. Any pixel id without a dedicated screen falls back to a header with a back button and a placeholder message that settings aren't built out yet.