🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive. https://rybbit.io
Find a file
Bill Yang ca0faeb484
Add goal management functionality in analytics (#100)
* Add goal management functionality in analytics

- Introduced goal creation, deletion, and updating capabilities in the analytics API, allowing users to define conversion goals based on path or event types.
- Implemented corresponding React hooks for managing goals, including fetching, creating, updating, and deleting goals.
- Enhanced the UI with a dedicated Goals page and components for listing and managing goals, improving user experience in tracking conversions.
- Updated package dependencies to include necessary libraries for form handling and validation.

* Enhance goals management with pagination and sorting

- Added pagination and sorting capabilities to the goals fetching logic in the analytics API, allowing users to navigate through goals more efficiently.
- Updated the GoalsPage component to manage current page state and handle page changes, improving user experience.
- Modified the GoalsList component to display pagination metadata and navigation controls, facilitating better goal management.
- Adjusted the server-side getGoals function to support pagination and sorting parameters, ensuring accurate data retrieval.

* Refactor GoalsPage and GoalCard components for improved UI and functionality

- Updated GoalsPage to include a SubHeader component and adjusted layout for better responsiveness.
- Enhanced loading and empty state handling in GoalsPage for a smoother user experience.
- Modified GoalCard to use icons for goal types, improving visual clarity and consistency in the UI.

* Refactor CreateGoalButton and GoalCard components for improved modal handling

- Updated CreateGoalButton to utilize a trigger prop for the GoalFormModal, simplifying modal state management.
- Refactored GoalCard to integrate GoalFormModal for editing goals, enhancing user interaction and reducing state complexity.
- Removed unnecessary state management and modal handling from both components, streamlining the codebase.

* Refactor GoalCard and Clickhouse initialization for improved code clarity

- Removed unnecessary imports in GoalCard component, streamlining the code.
- Updated Clickhouse initialization to include a new 'props' JSON field alongside 'properties', enhancing data structure for analytics.
- Added a utility function in PageviewQueue to parse properties, improving error handling and data integrity.

* enable clickhouse

* fix ch build

* fix ch build

* fix ch build

* wip

* wip

* wip

* Enable json

* add network

* add network

* Refactor Clickhouse configuration and remove unused properties from data models

* Refactor property value handling in analytics queries to utilize native JSON types in ClickHouse, improving type safety and performance.
2025-04-28 20:58:43 -07:00
.github Add github actions 2025-02-17 18:46:54 -08:00
clickhouse_config Add goal management functionality in analytics (#100) 2025-04-28 20:58:43 -07:00
client Add goal management functionality in analytics (#100) 2025-04-28 20:58:43 -07:00
docs Refactor metadata and layout components for improved clarity and user experience 2025-04-27 14:27:52 -07:00
mockdata Rename project from FrogStats to Rybbit and update related documentation and UI components accordingly. Adjusted code guidelines, modified organization setup prompts, and updated example HTML to reflect the new branding. Added usage documentation and improved self-hosting instructions for clarity. 2025-04-16 23:58:39 -07:00
server Add goal management functionality in analytics (#100) 2025-04-28 20:58:43 -07:00
.env.example Nginx (#36) 2025-03-02 21:25:58 -08:00
.gitignore bump better auth 2025-03-03 22:31:18 -08:00
Caddyfile Add caddy (#90) 2025-04-16 23:04:17 -07:00
CLAUDE.md Rename project from FrogStats to Rybbit and update related documentation and UI components accordingly. Adjusted code guidelines, modified organization setup prompts, and updated example HTML to reflect the new branding. Added usage documentation and improved self-hosting instructions for clarity. 2025-04-16 23:58:39 -07:00
docker-compose.dev.yml Add goal management functionality in analytics (#100) 2025-04-28 20:58:43 -07:00
docker-compose.yml Add goal management functionality in analytics (#100) 2025-04-28 20:58:43 -07:00
LICENSE.md Add license 2025-04-16 11:21:56 -07:00
README.md Update README.md 2025-04-22 23:41:11 -07:00
setup.sh Add caddy (#90) 2025-04-16 23:04:17 -07:00

Rybbit Analytics

Open Source Web & Product Analytics

website Demo Documentation Discord License

Rybbit is the modern open source and privacy friendly alternative to Google Analytics. It takes only a couple minutes to setup and is super intuitive to use.

View a live demo of Rybbit running on a real-life production site with over a million visits a month.

Getting Started

You can either sign up for our hosted service at https://rybbit.io or self host Rybbit on your own VPS.

Learn more about Rybbit by reading our documentation .

Key Features

  • All key web analytics metrics including sessions, unique users, pageviews, bounce rate, session duration
  • No cookies = GDPR and CCPA compliant
  • Customizable retention, user journeys, and funnels dashboards
  • Advanced filtering across 15+ dimensions
  • Custom events
  • Live sessions dashboard
  • 3 level location tracking (country -> region -> city) + advanced map visualizations
  • Real time dashboard
  • Support for organizations and unlimited number of sites

Dashboard Preview

Main

image

Realtime

image

Sessions

image

Journeys

image

Funnels

image