feat(GRO-90): PostHog 분석 통합 — scrapflow (Electron) - #3
Open
kl529 wants to merge 1 commit into
Open
Conversation
- posthog-js 설치 (렌더러 프로세스 전용) - src/lib/posthog.js: 초기화 헬퍼 및 표준 이벤트 카탈로그 - Electron 데스크탑 앱 특성상 Next.js 프록시 없이 직접 PostHog 서버 연결 - 핵심 이벤트: screenshotCaptured, ocrCompleted, itemSaved, searchPerformed - src/index.js: 앱 시작 시 initPostHog() 및 app_opened 이벤트 발행 - .env.example: REACT_APP_POSTHOG_KEY 추가 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
posthog-js설치 및 초기화 통합 (렌더러 프로세스 전용)src/lib/posthog.js: Electron 데스크탑 앱에 최적화된 PostHog 모듈screenshotCaptured,ocrCompleted,itemSaved,searchPerformedsrc/index.js: 앱 시작 시initPostHog()및app_opened이벤트 발행.env.example:REACT_APP_POSTHOG_KEY추가환경 변수 설정 필요
빌드 환경에서 아래 환경 변수를 설정해야 합니다 (Create React App 관례):
관련 이슈
🤖 Generated with Claude Code