Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions guides/react-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,35 @@ import App from "./App";
registerRootComponent(App);
```

### Enhanced Expo Environment Data (Optional)

For richer analytics in Expo projects, you can use the community-maintained `telemetrydeck-expo-plugin` that automatically enriches every signal with 40+ environment parameters including device info, app version, accessibility settings, locale, timezone, and more.

```shell
npm install telemetrydeck-expo-plugin
```

Add the plugin to your TelemetryDeck instance:

```tsx
import { createTelemetryDeck } from "@typedigital/telemetrydeck-react";
import { expoPlugin } from "telemetrydeck-expo-plugin";

const td = createTelemetryDeck({
app: process.env.APP_ID,
user: "anonymous",
plugins: [expoPlugin], // Automatically adds device, app, and user context
});
```

This plugin automatically adds parameters like:
- **Device**: model, OS version, architecture, screen resolution, orientation
- **App**: version, build number, SDK info
- **User preferences**: locale, timezone, color scheme, accessibility settings
- **Context**: marketplace source, debug/release build type, and more

[View the complete list of parameters and documentation](https://github.com/kbatalin/telemetrydeck-expo-plugin)

## What to do next

Now that you've integrated TelemetryDeck, learn how to use the analytics platform to gain valuable insights about your users:
Expand Down