Skip to content

Add privacy-preserving funnel analytics#20

Merged
BGMLAI merged 7 commits into
masterfrom
codex/funnel-analytics
Jul 14, 2026
Merged

Add privacy-preserving funnel analytics#20
BGMLAI merged 7 commits into
masterfrom
codex/funnel-analytics

Conversation

@BGMLAI

@BGMLAI BGMLAI commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Outcome

  • tracks page views, installer copies, Stripe checkout clicks, GitHub clicks, and PyPI clicks
  • carries UTM source/medium/campaign and referrer host without cookies or client IP logging
  • adds dedicated Nginx access/event logs and a local funnel report helper
  • records the live Nginx site configuration to prevent deployment drift

Production

Deployed to gate.cat VPS origin. Nginx configuration validated and reloaded; /events returns 204 and writes the expected event log. Removed two stale backup configs from sites-enabled (preserved under /var/backups/nginx/gatecat) that caused duplicate host warnings.

Tests

  • uv run pytest -q tests/test_marketing_consistency.py tests/test_funnel_report.py (5 passed)
  • nginx -t (successful)
  • public landing contains event script and does not contain pip install gate.cat
  • production event smoke POST returned 204 and was recorded

Tracks #9

@BGMLAI

BGMLAI commented Jul 14, 2026

Copy link
Copy Markdown
Owner Author

Additional launch work now included:

  • recorded 3 measured placements with direct permalinks: X, LinkedIn, Cursor Discord
  • hardened event delivery after a real Firefox landing request did not produce a page event (fetch keepalive primary, beacon/image fallback)
  • latest PyPI metric: 2,147 trailing-30-day downloads without known mirrors
  • removed misleading global pip install CTA from coverage/blog surfaces
  • updated GitHub repo description and v0.4.16 release install section to the inspectable two-step installer
  • deployed and smoke-verified all changed public files on the VPS origin

Local targeted suite remains 5 passed; latest head is 0e62be6.

@BGMLAI

BGMLAI commented Jul 14, 2026

Copy link
Copy Markdown
Owner Author

Root-cause update for the broken install CTA:

  • Regression source: the Claude Design restore commit 08e909f reintroduced a hard-coded pip install gate.cat string in six landing-page surfaces.
  • Content fix: a9d263c replaced every landing CTA with the inspectable two-step installer.
  • Cache fix: af66ca8 adds Cache-Control: no-cache, no-store, must-revalidate for HTML/fallback responses so corrected copy cannot remain visible in a browser.
  • Production verified: public https://gate.cat/ has 0 occurrences of pip install gate.cat; Cloudflare now returns the no-cache header.
  • Regression coverage: uv run pytest -q tests/test_marketing_consistency.py → 5 passed.
  • Production Nginx config validated and reloaded successfully; no benchmark or application process was touched.

@BGMLAI

BGMLAI commented Jul 14, 2026

Copy link
Copy Markdown
Owner Author

Growth progress update:

  • Latest reliable PyPI trailing-30-day total: 2,147 downloads (pypistats is currently rate-limiting fresh reads).
  • Stripe since launch: 0 subscriptions, 0 charges, 0 payment intents.
  • GitHub: 0 stars, 0 forks, 0 watchers.
  • First-party funnel: 1 unique page_view; 0 installer-copy or checkout events so far.
  • Added GitHub discovery topics cursor and developer-tools (20/20 topic slots now used).
  • Prepared and committed a native YouTube Short: 1080×1920, 24s, H.264, caption-first. Asset + reproducible filter are in commits 4971674 and 090bb1c.
  • YouTube Studio channel Bogumił Jankiewicz is authenticated and ready. Upload is paused only because the ChatGPT Chrome extension lacks local-file URL access; no publication is counted without a verified public permalink.
  • PR Add privacy-preserving funnel analytics #20 CI is running on Python 3.11–3.13; merge will follow green checks.

@BGMLAI
BGMLAI merged commit 1ad38ab into master Jul 14, 2026
3 checks passed
@BGMLAI

BGMLAI commented Jul 14, 2026

Copy link
Copy Markdown
Owner Author

Handoff after this growth pass:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant