Documentation

Rybbit Analytics

Last updated May 10, 2026

Rybbit Analytics loads through @c15t/scripts and configures tracking behavior via data-* attributes on the script element.

Integrate with c15t

How c15t loads it

  • Category: measurement (Analytics)
  • Loads when: measurement consent is granted
  • On revocation: unloaded - c15t removes the script from the DOM and stops network activity until consent is granted again.

To use a custom analytics host:

Tracking events in your app

c15t gates the Rybbit script from loading until measurement consent is granted. Your application code that calls Rybbit's runtime API (window.rybbit) is not automatically gated - window.rybbit does not exist until the script is loaded, so unguarded calls before consent throw.

Guard event calls by checking consent state. From React:

From plain JavaScript:

Types

RybbitAnalyticsOptions

Loading…

Script

Loading…