Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

1.3 KB
Raw Blame
---
title: PLATFORM
description: Add Rybbit analytics to your PLATFORM site
category: CATEGORY
icon: SiPLATFORM
---

import { Steps, Step } from "fumadocs-ui/components/steps";
import { Callout } from "fumadocs-ui/components/callout";

ONE OR TWO SENTENCES: what PLATFORM is and where the snippet goes (which setting, template or file), so a reader knows the shape of the job before the steps.

<Steps>
<Step>
### Get your tracking snippet

<include>../../../partials/guides/get-snippet.mdx</include>
</Step>

<Step>
### Add the snippet to PLATFORM

PLATFORM-SPECIFIC INSTRUCTIONS. Use a numbered list for UI navigation, a code block for file edits. Use `<Tabs>` when there is more than one reasonable method, with the recommended one first.
</Step>

<Step>
### Verify installation

<include>../../../partials/guides/verify.mdx</include>
</Step>
</Steps>

## Track custom events

OPTIONAL. Only when there is something PLATFORM-specific to say (framework component example, e-commerce events, form hooks). Otherwise delete this section; the generic docs are linked under Next steps.

## Troubleshooting

OPTIONAL. Only PLATFORM-specific failure modes (caching plugin, CSP, sandboxed embeds, plan restrictions). Generic checks already live in the Verify step.

## Next steps

<include>../../../partials/guides/next-steps.mdx</include>