@paywithglide/glide-react
v0.0.48
Published
React components for https://paywithglide.xyz
Readme
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 for detailed documentation and examples.
Quick Example
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);
},
});