Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

explain how to use posthog

Sarina Li57e30b8973e0
diff --git a/docs/.env.example b/docs/.env.example
new file mode 100644
index 0000000000..01693726c0
--- /dev/null
+++ b/docs/.env.example
@@ -0,0 +1,2 @@
+NEXT_PUBLIC_POSTHOG_API_KEY=
+NEXT_PUBLIC_POSTHOG_HOST=
\ No newline at end of file
diff --git a/docs/README.md b/docs/README.md
index b6f494e5cf..18ddff9a91 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -34,6 +34,14 @@ A `source.config.ts` config file has been included, you can customise different
Read the [Introduction](https://fumadocs.dev/docs/mdx) for further details.
+## Setup Telemetry
+
+We use PostHog for telemetry to improve the clarity and structure of our documentation. Start by copying the `.env.example` and adding in your PostHog API key and host.
+
+```bash
+cp .env.example .env
+```
+
## Learn More
To learn more about Next.js and Fumadocs, take a look at the following