Upload source maps

If you serve compiled or minified code, PostHog requires source maps to generate accurate stack traces.

If your source maps are not publicly hosted, you will need to upload them during your build process to see unminified code in your stack traces.

Choose your platform to view specific instructions.

PostHog is an all-in-one developer platform for building successful products. We provide product analytics, web analytics, session replay, error tracking, feature flags, experimentation, surveys, LLM analytics, data warehouse, a CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.

Community questions

Was this page useful?

Questions about this page? or post a community question.