กลับไปหน้า Tools

GetNotes Tools

PostHog/posthog

Tool นี้คืออะไร

PostHog เป็นแพลตฟอร์มโอเพนซอร์สแบบครบวงจรสำหรับสร้างผลิตภัณฑ์ที่ขับเคลื่อนด้วยตนเอง ช่วยให้นักพัฒนาและทีมผลิตภัณฑ์สามารถวิเคราะห์พฤติกรรมผู้ใช้ ติดตามข้อผิดพลาด จัดการฟีเจอร์ และทำการทดลอง เพื่อปรับปรุงผลิตภัณฑ์ได้อย่างรวดเร็วและมีประสิทธิภาพ

ข้อมูลโปรเจกต์

ดาว

36.3K

Forks

3K

License

ไม่ระบุ

อัปเดต GitHub ล่าสุด

18 ก.ค. 2569

เพิ่มใน GetNotes

19 ก.ค. 2569

Repository

PostHog/posthog

รูปแบบ

Desktop App

เหมาะกับงาน

Automationข้อมูลและ AnalyticsDeveloper ToolsDevOpsทดสอบซอฟต์แวร์

เหมาะกับอาชีพ

Ecosystem

Python · React

แปลและเรียบเรียงโดย AI

เนื้อหาฉบับภาษาไทย

ใช้อ่านเพื่อทำความเข้าใจเบื้องต้น โปรดตรวจสอบรายละเอียดสำคัญกับเอกสารต้นฉบับด้านล่าง

posthoglogoGitHub contributorsPRs WelcomeDocker PullsGitHub commit activityGitHub closed issues
PostHog Demonstration

PostHog คือแพลตฟอร์มโอเพนซอร์สสำหรับสร้างผลิตภัณฑ์ที่ขับเคลื่อนด้วยตนเอง

PostHog มอบเครื่องมือทุกอย่างที่คุณต้องการเพื่อสร้างผลิตภัณฑ์ที่ประสบความสำเร็จ และรวบรวมบริบททั้งหมดที่เอเจนต์ต้องการเพื่อวินิจฉัยปัญหา ค้นพบโอกาส และแก้ไขข้อผิดพลาดเชิงรุก:

  • โหมดขับเคลื่อนด้วยตนเอง (Self-driving mode): เปลี่ยนสัญญาณในข้อมูลผลิตภัณฑ์ของคุณ (ข้อผิดพลาด, การคลิกด้วยความโกรธ, การสอบถามที่ล้มเหลว และอื่นๆ) ให้เป็นรายงานที่ผ่านการวิจัยและ pull request ที่คุณตรวจสอบและรวมเข้าด้วยกัน
  • การวิเคราะห์ผลิตภัณฑ์ (Product analytics): บันทึกเหตุการณ์อัตโนมัติหรือติดตั้งเครื่องมือวิเคราะห์ตามเหตุการณ์ด้วยตนเองเพื่อทำความเข้าใจพฤติกรรมผู้ใช้และวิเคราะห์ข้อมูลด้วยการแสดงภาพหรือ SQL
  • การวิเคราะห์เว็บ (Web analytics): ตรวจสอบปริมาณการเข้าชมเว็บและเซสชันผู้ใช้ด้วยแดชบอร์ดที่คล้ายกับ GA ตรวจสอบการแปลง, web vitals และรายได้อย่างง่ายดาย
  • การเล่นซ้ำเซสชัน (Session replays): ดูเซสชันผู้ใช้จริงของการโต้ตอบกับเว็บไซต์หรือแอปมือถือของคุณเพื่อวินิจฉัยปัญหาและทำความเข้าใจพฤติกรรมผู้ใช้
  • Feature flags: เปิดตัวฟีเจอร์อย่างปลอดภัยสำหรับผู้ใช้หรือกลุ่มเป้าหมายที่เลือกด้วย feature flags
  • การทดลอง (Experiments): ทดสอบการเปลี่ยนแปลงและวัดผลกระทบทางสถิติของสิ่งเหล่านั้นต่อเมตริกเป้าหมาย ตั้งค่าการทดลองแบบ no-code ได้ด้วย
  • การติดตามข้อผิดพลาด (Error tracking): ติดตามข้อผิดพลาด รับการแจ้งเตือน และแก้ไขปัญหาเพื่อปรับปรุงผลิตภัณฑ์ของคุณ
  • บันทึก (Logs): นำเข้า ค้นหา และวิเคราะห์ข้อมูลบันทึกควบคู่ไปกับข้อมูลผลิตภัณฑ์อื่นๆ ของคุณ
  • แบบสำรวจ (Surveys): ถามคำถามใดๆ ด้วยชุดเทมเพลตแบบสำรวจ no-code ของเรา หรือสร้างแบบสำรวจที่กำหนดเองด้วยเครื่องมือสร้างแบบสำรวจของเรา
  • คลังข้อมูล (Data warehouse): ซิงค์ข้อมูลจากเครื่องมือภายนอก เช่น Stripe, Hubspot, คลังข้อมูลของคุณ และอื่นๆ สอบถามข้อมูลควบคู่ไปกับข้อมูลผลิตภัณฑ์ของคุณ
  • Data pipelines: เรียกใช้ตัวกรองและการแปลงที่กำหนดเองกับข้อมูลที่เข้ามาของคุณ ส่งไปยังเครื่องมือกว่า 25 รายการหรือ webhook ใดๆ แบบเรียลไทม์ หรือส่งออกจำนวนมากไปยังคลังข้อมูลของคุณ
  • AI observability: บันทึก traces, generations, latency และ cost สำหรับแอปที่ขับเคลื่อนด้วย LLM ของคุณ
  • เวิร์กโฟลว์ (Workflows): สร้างเวิร์กโฟลว์ที่ดำเนินการอัตโนมัติหรือส่งข้อความถึงผู้ใช้ของคุณ

คุณสามารถควบคุมทั้งหมดได้จาก Slack, web, เดสก์ท็อป (PostHog Code) หรือตัวแก้ไขของคุณเองผ่าน the MCP

เหนือสิ่งอื่นใด ทั้งหมดนี้ใช้งานได้ฟรีด้วย แพ็กเกจฟรีรายเดือนที่ใจกว้าง สำหรับแต่ละเครื่องมือ เริ่มต้นด้วยการลงทะเบียนสำหรับ PostHog Cloud US หรือ PostHog Cloud EU

สารบัญ

เริ่มต้นใช้งาน PostHog

PostHog Cloud (แนะนำ)

วิธีที่เร็วที่สุดและน่าเชื่อถือที่สุดในการเริ่มต้นใช้งาน PostHog คือการลงทะเบียนฟรีที่ PostHog Cloud หรือ PostHog Cloud EU คุณจะได้รับ 1 ล้านเหตุการณ์แรก, 5,000 การบันทึก, 1 ล้านคำขอ flag, 100,000 ข้อผิดพลาด และ 1,500 การตอบแบบสำรวจฟรีทุกเดือน หลังจากนั้นคุณจะชำระเงินตามการใช้งาน

การโฮสต์ด้วยตนเองสำหรับ open-source hobby deploy (ขั้นสูง)

หากคุณต้องการโฮสต์ PostHog ด้วยตนเอง คุณสามารถ deploy อินสแตนซ์สำหรับงานอดิเรกได้ในบรรทัดเดียวบน Linux ด้วย Docker (แนะนำหน่วยความจำ 4GB):

bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"

การ deploy แบบโอเพนซอร์สควรจะรองรับได้ประมาณ 100,000 เหตุการณ์ต่อเดือน หลังจากนั้นเราแนะนำให้ ย้ายไปยัง PostHog Cloud

เรา ไม่ ให้การสนับสนุนลูกค้าหรือเสนอการรับประกันสำหรับการ deploy แบบโอเพนซอร์ส ดู เอกสารการโฮสต์ด้วยตนเอง, คู่มือการแก้ไขปัญหา และ ข้อจำกัดความรับผิดชอบ ของเราสำหรับข้อมูลเพิ่มเติม

การตั้งค่า PostHog

เมื่อคุณมีอินสแตนซ์ PostHog แล้ว คุณสามารถตั้งค่าได้โดยการติดตั้ง JavaScript web snippet ของเรา, หนึ่งใน SDKs ของเรา หรือโดย การใช้ API ของเรา คุณยังสามารถเชื่อมต่อ the MCP เพื่อนำ PostHog เข้าสู่ Claude Code, Cursor หรือเอเจนต์ที่เข้ากันได้กับ MCP

เรามี SDKs และไลบรารีสำหรับภาษาและเฟรมเวิร์กยอดนิยม เช่น:

นอกจากนี้ เรายังมีเอกสารและคู่มือสำหรับ Go, .NET/C#, Django, Angular, WordPress, Webflow และอื่นๆ

เมื่อคุณติดตั้ง PostHog แล้ว ดู เอกสารผลิตภัณฑ์ ของเราสำหรับข้อมูลเพิ่มเติมเกี่ยวกับวิธีการตั้งค่า product analytics, web analytics, session replays, feature flags, experiments, error tracking, surveys, data warehouse และอื่นๆ

เรียนรู้เพิ่มเติมเกี่ยวกับ PostHog

โค้ดของเราไม่ใช่สิ่งเดียวที่เป็นโอเพนซอร์ส 😳 เรายังโอเพนซอร์ส คู่มือบริษัท ของเรา ซึ่งให้รายละเอียดเกี่ยวกับ กลยุทธ์, วิธีการทำงาน และ กระบวนการ ของเรา

อยากรู้ว่าจะใช้ PostHog ให้เกิดประโยชน์สูงสุดได้อย่างไร? เราได้เขียนคู่มือ การประสบความสำเร็จด้วย PostHog ซึ่งจะแนะนำคุณเกี่ยวกับพื้นฐานของการ วัดการเปิดใช้งาน, การติดตามการรักษาลูกค้า และ การสร้างรายได้

การมีส่วนร่วม

เรา <3 การมีส่วนร่วมไม่ว่าจะเล็กหรือใหญ่:

สำหรับภาพรวมของโครงสร้าง codebase โปรดดูที่ monorepo layout และ products

โอเพนซอร์ส vs. แบบชำระเงิน

repo นี้อยู่ภายใต้ MIT expat license ยกเว้นไดเรกทอรี ee (ซึ่งมี ไลเซนส์อยู่ที่นี่) หากมี

ต้องการ FOSS 💯% อย่างแท้จริง? ตรวจสอบ repository posthog-foss ของเรา ซึ่งถูกล้างโค้ดและฟีเจอร์ที่เป็นกรรมสิทธิ์ทั้งหมดออกไปแล้ว

ราคาสำหรับแผนแบบชำระเงินของเรามีความโปร่งใสอย่างสมบูรณ์และสามารถดูได้ที่ หน้าการกำหนดราคา ของเรา

เรากำลังรับสมัครงาน!

Hedgehog working on a Mission Control Center

เฮ้! หากคุณกำลังอ่านข้อความนี้ แสดงว่าคุณได้พิสูจน์แล้วว่าเป็นผู้อ่าน README ที่ทุ่มเท

คุณอาจเป็นส่วนเสริมที่ยอดเยี่ยมสำหรับทีมของเรา เรากำลังเติบโตอย่างรวดเร็ว และยินดีเป็นอย่างยิ่งหากคุณจะมาร่วมงานกับเรา

เอกสารโปรเจกต์

อ่านเอกสารต้นฉบับ

README วิธีติดตั้ง วิธีใช้งาน และข้อกำหนดจาก repository ต้นฉบับ

ดูไฟล์บน GitHub
posthoglogoGitHub contributorsPRs WelcomeDocker PullsGitHub commit activityGitHub closed issues
PostHog Demonstration

PostHog is the open source platform for building self-driving products

PostHog provides every tool you need to build a successful product, and captures all the context agents need to proactively diagnose problems, uncover opportunities, and ship fixes:

  • Self-driving mode: Turn signals in your product data (errors, rage clicks, failed queries, and more) into researched reports and pull requests you review and merge.
  • Product analytics: Autocapture or manually instrument event-based analytics to understand user behavior and analyze data with visualization or SQL.
  • Web analytics: Monitor web traffic and user sessions with a GA-like dashboard. Easily monitor conversion, web vitals, and revenue.
  • Session replays: Watch real user sessions of interactions with your website or mobile app to diagnose issues and understand user behavior.
  • Feature flags: Safely roll out features to select users or cohorts with feature flags.
  • Experiments: Test changes and measure their statistical impact on goal metrics. Set up experiments with no-code too.
  • Error tracking: Track errors, get alerts, and resolve issues to improve your product.
  • Logs: Ingest, search, and analyze log data alongside the rest of your product data.
  • Surveys: Ask anything with our collection of no-code survey templates, or build custom surveys with our survey builder.
  • Data warehouse: Sync data from external tools like Stripe, Hubspot, your data warehouse, and more. Query it alongside your product data.
  • Data pipelines: Run custom filters and transformations on your incoming data. Send it to 25+ tools or any webhook in real time or batch export large amounts to your warehouse.
  • AI observability: Capture traces, generations, latency, and cost for your LLM-powered app.
  • Workflows: Create workflows that automate actions or send messages to your users.

You can steer it all from Slack, web, desktop (PostHog Desktop), or your own editor via the MCP.

Best of all, all of this is free to use with a generous monthly free tier for each tool. Get started by signing up for PostHog Cloud US or PostHog Cloud EU.

Table of Contents

Getting started with PostHog

PostHog Cloud (Recommended)

The fastest and most reliable way to get started with PostHog is signing up for free to PostHog Cloud or PostHog Cloud EU. Your first 1 million events, 5k recordings, 1M flag requests, 100k exceptions, and 1500 survey responses are free every month, after which you pay based on usage.

Self-hosting the open-source hobby deploy (Advanced)

If you want to self-host PostHog, you can deploy a hobby instance in one line on Linux with Docker (recommended 4GB memory):

bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"

Open source deployments should scale to approximately 100k events per month, after which we recommend migrating to a PostHog Cloud.

We do not provide customer support or offer guarantees for open source deployments. See our self-hosting docs, troubleshooting guide, and disclaimer for more info.

Setting up PostHog

Once you've got a PostHog instance, you can set it up by installing our JavaScript web snippet, one of our SDKs, or by using our API. You can also connect the MCP to bring PostHog into Claude Code, Cursor, or any MCP-compatible agent.

We have SDKs and libraries for popular languages and frameworks like:

Beyond this, we have docs and guides for Go, .NET/C#, Django, Angular, WordPress, Webflow, and more.

Once you've installed PostHog, see our product docs for more information on how to set up product analytics, web analytics, session replays, feature flags, experiments, error tracking, surveys, data warehouse, and more.

Learning more about PostHog

Our code isn't the only thing that's open source 😳. We also open source our company handbook which details our strategy, ways of working, and processes.

Curious about how to make the most of PostHog? We wrote a guide to winning with PostHog which walks you through the basics of measuring activation, tracking retention, and capturing revenue.

Contributing

We <3 contributions big and small:

For an overview of the codebase structure, see monorepo layout and products.

Open-source vs. paid

This repo is available under the MIT expat license, except for the ee directory (which has its license here) if applicable.

Need absolutely 💯% FOSS? Check out our posthog-foss repository, which is purged of all proprietary code and features.

The pricing for our paid plan is completely transparent and available on our pricing page.

We're hiring!

Hedgehog working on a Mission Control Center

Hey! If you're reading this, you've proven yourself as a dedicated README reader.

You might also make a great addition to our team. We're growing fast and would love for you to join us.

#ab-testing#ai-analytics#analytics#cdp#data-warehouse#experiments#feature-flags#javascript#product-analytics#python#react#session-replay