Repository navigation
Conversation
Deploy preview
Changed pages
72 more changed pages are not listed. |
|
Vale prose linter → found 68 errors, 1556 warnings, 70 suggestions in your markdown Full report → · Copy the Job Summary code block into an LLM to batch-fix issues.
|
Bundle reportTotal JS (gzip)12.07 MiB (-156.9 KiB / -1.3%) Largest changed named chunks
Eager graph (modules shipped in each entrypoint's initial chunks)
Largest modules in the
|
| Module | Size |
|---|---|
css ./node_modules/.pnpm/css-loader@5.2.7_webpack@5.101.3/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.6_webpack@5.101.3/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css |
1022.3 KiB |
./src/components/Stickers/Stickers.tsx |
696.4 KiB |
./node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js |
354.8 KiB |
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@16.14.66_react@18.3.1/node_modules/react-markdown/lib/react-markdown.js + 88 modules |
351.4 KiB |
./node_modules/.pnpm/framer-motion@14.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs + 126 modules |
287.2 KiB |
./node_modules/.pnpm/cloudinary-core@2.14.0_lodash@4.17.21/node_modules/cloudinary-core/cloudinary-core.js |
281.9 KiB |
./src/components/SearchUI/index.tsx + 87 modules |
273.1 KiB |
./gatsby-browser.tsx + 59 modules |
258.5 KiB |
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-1.mjs |
248.5 KiB |
./src/components/Pricing/PricingSlider/Slider.tsx + 87 modules |
240.2 KiB |
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-2.mjs |
228.2 KiB |
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/magnifying-glass.mjs |
221.7 KiB |
./src/hooks/useProducts.tsx + 24 modules |
155.6 KiB |
./src/hooks/useProduct.ts + 9 modules |
149.4 KiB |
./src/components/Icons/Icons.tsx |
147.4 KiB |
Eager-graph budgets are report-only until a baseline is established. Sizes are gzip of public/**/*.js; eager size is webpack module source bytes for the modules actually shipped in the entrypoint's initial chunks (post-tree-shake).
|
✅ The latest commit has no critical SEO/AEO risks that this check can find. |
dustinbyrne
left a comment
There was a problem hiding this comment.
Two API-reference details need correction: request-wide type-error handling and the legacy $ignore_sent_at compatibility promise. The navigation entry and billing redirect look consistent. Keep the documented pre-release publication holds in place.
AI-assisted review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es and non-string ids are new Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…older result Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gestion warning Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#21385 deletes contents/docs/libraries/android/index.mdx and redirects it to the generated SDK reference, with the migration guide generated from posthog-android's MIGRATION.md. That guide and the 4.x reference cover everything the 4.0 upgrade section and config table here added, so drop this PR's changes to the page instead of conflicting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Heads-up from the posthog-android 4.0 release review. This PR is stacked on #22061, which deletes the hand-written SDK pages and redirects them to the references (I first attributed that to this PR; the page-anchor points are now on #22061).
🤖 Generated with Claude Code |
The upgrade guide now lives at /docs/libraries/flutter/migration (#21385), so restore flutter/index.mdx to master, point the CocoaPods notice at the migration guide, and scope the synchronous logs beforeSend rule to 6.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@gewenyu99 a heads-up on 428cf1b, which retires the hand-written SDK pages: other docs still link to anchors on those pages. The redirect drops the fragment's target, so readers land on the reference page without the section they wanted. For Flutter, at this PR's head:
The other retired pages have the same problem: 33 files under The link checker doesn't catch these, because the page still resolves through the redirect. ( On the Flutter side, #20924 no longer edits |
The iOS, Android and Flutter capture v1 majors ship in a later release, with their own docs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…inks Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ajors - Rust: use the `posthog` crate on the transactional email page and in the analytics tutorial, whose code did not compile. - Node: object-form `captureException` on two more pages; Fastify guide names posthog-node 6. - Python: positional project token in the error tracking tutorial. - Go: `SecretKey` in the secret key snippet. - Restore notes from the retired upgrade page: proxies must return the capture response unchanged, older proxy guides, the AI capture spec link, and the separate client for historical migration. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… spec - Person-only events sent with person processing off are accepted, then dropped during ingestion. - A large AI event sent with plain capture is reported as ai_event_too_big. - Options are stored as properties only when they change the default. - Add the ai_byte_rate_limited detail, the decompression error tag, null properties, repeated fields, ignored top-level fields and unknown results. - Self-hosted body limits are a minimum, since the AI endpoint now takes more. - Scope legacy-only statements on the timestamps, ingestion warnings and identify pages, and link the proxy reference from the API page. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The event billing limit refuses the whole request, including exception, survey and AI events. Name the three product quota details. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nto HEAD # Conflicts: # contents/docs/workflows/transactional-emails/rust.mdx
…nto HEAD # Conflicts: # contents/docs/ai-observability/large-events.mdx
…r own quota Matches PostHog/posthog#135788: the events quota drops other events one by one with events_over_quota, and 402 means no event in the request was left to store. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Agent-drafted and reviewed by Manoel.
blocking: Rust attachment example still imports posthog_rs — line 199
This PR changes the install step to cargo add posthog@1 and renames every other posthog_rs:: path on this page to posthog::, but the "Copies and attachments" example still starts with use posthog_rs::{CodeEmail, EmailAttachment};. The 1.x SDK publishes the crate as posthog, so users (and coding agents, which the page's prompt points here) who follow the install step and copy this example get an unresolved-crate compile error. It should use posthog:: like the rest of the page.
Reproduction test — src/main.rs in a new binary crate whose Cargo.toml has posthog = { path = "<posthog-rs checkout at origin/v1>" } under [dependencies] (same package name as cargo add posthog@1):
// Line 199 of contents/docs/workflows/transactional-emails/rust.mdx at a0ed7d1031
use posthog_rs::{CodeEmail, EmailAttachment};
fn main() { let _ = std::any::type_name::<CodeEmail>(); let _ = std::any::type_name::<EmailAttachment>(); }Run: cargo build --offline
Reproduction: reproduced — cargo build --offline against posthog-rs origin/v1 fails with error[E0432]: unresolved import posthog_rs, and rustc suggests use posthog::{CodeEmail, EmailAttachment};.
turnipdabeets
left a comment
There was a problem hiding this comment.
[suggestion] Approving from the mobile side. We still need the posthog_rs:: → posthog:: fix Manoel flagged at workflows/transactional-emails/rust.mdx:199 before this merges.
Summary
This PR adds a reference page for capture v1, the new event capture API. The page describes the two endpoints, the required headers, the request and event format, event options, compression, limits, status codes, per-event results, retries, and clock skew. Legacy capture stays documented and supported.
This is the first PR of three. Do not merge before the first capture v1 SDK release.
Changes
/docs/api/capture-v1, with a nav entry under API after "Capture".$lib/$lib_versionan event sends and fills them fromPostHog-Sdk-Infoonly when$libis missing. The capture v1 SDK page and the Go, Python and Rust MCP analytics pages match./docs/billing/limitsto/docs/billing/limits-alerts. Capture v1 links to/docs/billing/limitsin its402response, and that path returns404today.Open items
@posthog/ai/@posthog/mcppatches publish, together with docs(ios): posthog-ios 4.0 upgrade guide and screenshot-only mobile replay #21807, docs(android): posthog-android 4.0 upgrade guide and replay docs #21808 and docs(flutter): update install docs and tutorials for posthog_flutter 6.0 #20924.200with{"result":"ok"}per event against capture v1.Checks
src/navs/index.jsandvercel.jsonpass.Screenshots: API nav
At narrow widths the site collapses the sidebar, so the narrow shots show the page itself. Console: the same errors appear on production and on the preview of an unchanged page, so this PR adds none.
Review the stack together
This PR is stacked on #22061, the nav PR for the Markdown SDK references. Merge #22061 first, then this PR. The deploy preview of this PR has the changes from both PRs, so you can review every page there.
What each PR changes
/docs/references/posthog-*URLs redirect to the new pages. The error tracking reference links go to the new pages./docs/libraries) is now "Choosing a PostHog SDK". The page has the same URL. A table at the top shows the SDK versions that use capture v1, with a link to each migration guide. The feature comparison is below the table./docs/libraries/capture-v1redirects to/docs/libraries, because the generated migration guides link to it.Pages to check
Nav and reference pages (#22061). Use the SDKs section of the docs nav. Each SDK has a "Reference" page with a page for each major version. The SDKs that move to capture v1 also have a "Migration" page.
/docs/libraries/python/reference,/7.x.x,/8.x.x,/migration/docs/libraries/go/reference,/1.x.x,/2.x.x,/migration/docs/libraries/rust/reference,/0.x.x,/1.x.x,/migration/docs/libraries/ios/reference,/3.x.x,/4.x.x,/migration/docs/libraries/android/reference,/3.x.x,/4.x.x,/migration/docs/libraries/flutter/reference,/5.x.x,/6.x.x,/migration/docs/libraries/node/reference,/5.x.x,/6.x.x(no migration page yet, so the links go toMIGRATION.mdon GitHub)/docs/libraries/js/reference,/1.x.x/docs/libraries/react-native/reference,/4.x.x/docs/error-tracking/referencesPages that this PR changes (117 files):
SDK pages (20)
/docs/libraries/docs/libraries/android/docs/libraries/cloudflare-workers/docs/libraries/django/docs/libraries/fastify/docs/libraries/flask/docs/libraries/flutter/docs/libraries/go/docs/libraries/hono/docs/libraries/ios/configuration/docs/libraries/ios/docs/libraries/ios/usage/docs/libraries/nestjs/docs/libraries/node/docs/libraries/python/docs/libraries/react-router/react-router-v7-framework-mode/docs/libraries/rust/docs/libraries/svelte/docs/libraries/tanstack-start/docs/libraries/vercelAPI (3)
/docs/api/capture-v1/docs/api/capture/docs/apiMCP analytics (10)
/docs/mcp-analytics/custom-events/docs/mcp-analytics/events/docs/mcp-analytics/identifying-users/docs/mcp-analytics/installation/go/docs/mcp-analytics/installation/other-languages/docs/mcp-analytics/installation/python/docs/mcp-analytics/installation/rust/docs/mcp-analytics/installation/typescript/docs/mcp-analytics/privacy/docs/mcp-analytics/start-hereAI observability and evals (5)
/docs/ai-evals/offline-evals/docs/ai-observability/basics/docs/ai-observability/custom-properties/docs/ai-observability/installation/manual-capture/docs/ai-observability/large-eventsOther docs (29)
/docs/data/events/docs/data/ingestion-warnings/docs/data/timestamps/docs/distributed-tracing/installation/go/docs/distributed-tracing/installation/python/docs/error-tracking/capture/docs/error-tracking/installation/go/docs/error-tracking/installation/nestjs/docs/error-tracking/installation/rust/docs/error-tracking/link-releases/python/docs/experiments/installation/rust/docs/feature-flags/installation/openfeature-js/docs/feature-flags/local-evaluation/docs/health-checks/keeping-sdks-current/docs/how-posthog-works/ingestion-pipeline/docs/metrics/installation/nodejs/docs/metrics/installation/python/docs/migrate/docs/product-analytics/group-analytics/docs/product-analytics/identify/docs/product-analytics/identity-resolution/docs/product-analytics/schema-management/docs/self-host/configure/running-behind-proxy/docs/self-host/docs/web-analytics/bot-detection/docs/workflows/transactional-emails/go/docs/workflows/transactional-emails/node/docs/workflows/transactional-emails/python/docs/workflows/transactional-emails/rustSnippets (shown on other pages) (14)
contents/docs/_snippets/python-sdk-version-note.mdx– shows on/docs/libraries/python,/docs/libraries/django,/docs/libraries/flaskcontents/docs/api/_snippets/capture-v1-callout.mdx– shows on/docs/api/capture,/docs/api/capture-v1contents/docs/data-pipelines/_snippets/persons-model-note.mdxcontents/docs/feature-flags/snippets/groups-ingestion-go.mdxcontents/docs/getting-started/_snippets/user-properties-how-to-set.mdxcontents/docs/integrate/_snippets/configure-secret-api-key.mdxcontents/docs/integrate/_snippets/install-go.mdxcontents/docs/integrate/_snippets/install-node-package-managers.mdxcontents/docs/integrate/_snippets/install-python.mdxcontents/docs/integrate/_snippets/install-rust.mdxcontents/docs/integrate/feature-flags-code/_snippets/feature-flags-code-go.mdxcontents/docs/integrate/feature-flags-code/_snippets/feature-flags-code-rust.mdxcontents/docs/integrate/send-events/_snippets/send-events-rust.mdxcontents/docs/product-analytics/_snippets/how-to-capture-anonymous-backend-and-api.mdx– shows on/docs/product-analytics/capture-events,/docs/data/anonymous-vs-identified-eventsTutorials (34)
/tutorials/anthropic-analytics/tutorials/astro-ab-tests/tutorials/astro-analytics/tutorials/bootstrap-feature-flags-react/tutorials/cohere-analytics/tutorials/django-ab-tests/tutorials/django-analytics/tutorials/event-tracking-guide/tutorials/go-ab-tests/tutorials/go-analytics/tutorials/go-feature-flags/tutorials/llm-ab-tests/tutorials/mcp-analytics/tutorials/nextjs-ab-tests/tutorials/nextjs-analytics/tutorials/nextjs-error-monitoring/tutorials/nextjs-pages-analytics/tutorials/node-express-ab-tests/tutorials/node-express-analytics/tutorials/nuxt-analytics/tutorials/nuxt-feature-flags/tutorials/nuxtjs-ab-tests/tutorials/one-time-feature-flags/tutorials/openai-observability/tutorials/openrouter-observability/tutorials/python-ab-testing/tutorials/python-analytics/tutorials/python-error-tracking/tutorials/python-feature-flags/tutorials/remix-ab-tests/tutorials/remix-analytics/tutorials/rust-analytics/tutorials/svelte-ab-tests/tutorials/track-high-volume-apisHandbook (1)
/handbook/wizard-and-docs/wizard-edge-casesOther files (1)
contents/docs/product-analytics/installation/api.eval.yaml🤖 Generated with Claude Code