[feat] solution/backend,frontend,postgres-init: 서비스 사이트 공개 화면 방문 수집 — 전체 방문 통계에 합산하고 사이트 표에 한 줄로, 기능 문서 추가
This commit is contained in:
1 parent
2fc50de161
commit
99a344f65c
21 files changed
+378
-21
No files matched your search
@@ -283,6 +283,9 @@ nginx 가 `/s/…`·`/robots.txt`·`/sitemap.xml` 요청을 mirror 로 `/interna
|
||||
발행 사이트 부트 코드(`solution/site/src/lib/visit-beacon.ts`)가 hydrate 직후 `/v1/track/view` 로
|
||||
비콘을 한 번 보내고, 백엔드가 **1건 = 1행**으로 쌓는다(`services/visit_service.py`). 미리보기는 보내지 않는다.
|
||||
|
||||
- `site_id` NULL = 서비스 사이트 공개 화면(`/`·`/pricing`·`/showcase`·`/login`·`/signup`, 2026-10-13, 마이그레이션 `0026`).
|
||||
서비스 앱 비콘(`solution/frontend/src/lib/visitBeacon.ts`)이 보낸다. 전체 통계는 합쳐 세고, 사이트 표에는 한 줄로 낀다.
|
||||
|
||||
- 쿠키·식별자를 브라우저에 두지 않는다. `visitor_hash = sha256(JWT_ACCESS_SECRET|IP|UA|KST 월)` —
|
||||
달이 바뀌면 같은 사람도 새 방문자다(Umami 와 같다). **IP 원문은 저장하지 않는다.**
|
||||
- 봇(`crawler_detect`)과 HeadlessChrome(우리 목업 검증 스크립트)은 세지 않는다.
|
||||
|
||||
Reference in new issue
Block a user