React components for https://paywithglide.xyz

## Features

- Easy integration of crypto deposits and payments
- Support for multiple payment methods (wallet, transfer, fiat onramps)
- Customizable themes
- **Analytics event tracking** - Track user behavior, conversions, and drop-offs with your own analytics platform

## Analytics

GLIDE SDK now supports comprehensive analytics event tracking. You can integrate with platforms like Amplitude, Mixpanel, or Segment to:

- Track user behavior through the deposit flow
- Measure conversion rates and identify drop-off points
- Analyze payment method performance
- Monitor errors and transaction times

See [ANALYTICS.md](./ANALYTICS.md) for detailed documentation and examples.

### Quick Example

```typescript
import { GlideDeposit } from "@paywithglide/glide-react";

const glide = new GlideDeposit({
  app: "your-app",
  recipient: "0x...",

  // Add analytics callback
  onAnalyticsEvent: (event) => {
    // Forward to your analytics platform
    amplitude.track(event.type, event);
  },
});
```

## Documentation

- [Analytics Documentation](./ANALYTICS.md)
- [Main Documentation](https://docs.paywithglide.xyz)
