import { Button, Hr, Link, Text } from '@react-email/components'; import React from 'react'; import { z } from 'zod'; import { Layout } from '../components/layout'; export const zTrailEndingSoon = z.object({ url: z.string(), organizationName: z.string(), }); export type Props = z.infer; export default TrailEndingSoon; export function TrailEndingSoon({ organizationName = 'Acme Co', url = 'https://openpanel.dev', unsubscribeUrl, }: Props & { unsubscribeUrl?: string }) { const newUrl = new URL(url); newUrl.searchParams.set('utm_source', 'email'); newUrl.searchParams.set('utm_medium', 'email'); newUrl.searchParams.set('utm_campaign', 'trial-ending-soon'); return ( Your trial period is ending soon for {organizationName}! When your trial ends, you'll still receive incoming events but you won't be able to see them in the dashboard until you upgrade. Upgrade to a paid plan
Discover what you can do with OpenPanel: 🎯 Create Custom Funnels - Track user progression through your key conversion paths and identify where users drop off πŸ“ˆ User Retention Analysis - Understand how well you're keeping users engaged over time with beautiful retention graphs πŸ—ΊοΈ User Journey Mapping - Follow individual user paths through your application to understand their behavior and optimize their experience πŸ”¬ A/B Testing Analysis - Measure the impact of your product changes with detailed conversion metrics and statistical significance πŸ“Š Custom Event Tracking - Track any user interaction that matters to your business with our flexible event system
); }