Skip to main content

Documentation Index

Fetch the complete documentation index at: https://revlytics.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

Skip patterns

Prevent tracking on specific pages entirely:
<script
  defer
  data-site="YOUR_SITE_ID"
  data-skip-patterns='["/admin/*", "/internal/*", "re:^/debug"]'
  src="https://revlytics.co/script.js"
></script>
When a URL matches a skip pattern, no events are sent — no pageviews, no clicks, no errors.

Mask patterns

Anonymize URL paths that contain sensitive data:
<script
  defer
  data-site="YOUR_SITE_ID"
  data-mask-patterns='["/user/*/profile", "/order/*/status"]'
  src="https://revlytics.co/script.js"
></script>
When a URL matches a mask pattern, the actual path is replaced with the pattern string in all events. For example, /user/john-doe/profile becomes /user/*/profile.

Pattern syntax

FormatExampleMatches
Glob/admin/*/admin/users, /admin/settings
Glob (nested)/api/**/api/v1/users, /api/v2/events/list
Regexre:^/internal/internal, /internal/debug
Patterns are matched against the URL path only (not the full URL). The value must be a valid JSON array.

Use cases

  • Admin panels — Skip /admin/* to exclude internal traffic
  • User profiles — Mask /user/*/profile to anonymize user IDs in paths
  • API docs — Skip /api-playground/* to exclude test traffic
  • Checkout — Mask /checkout/*/confirm to hide order IDs