Skip to main content

Prerequisites

Before using the AppSloth Retention Modal component, make sure you’ve:
  1. Set up AppSloth in your project
  2. Installed the required shadcn/ui components:

Adding the Retention Modal Component

The AppSloth Retention Modal component provides a customizable retention flow for your application. It includes features like multi-step feedback collection, custom offer presentation, and detailed analytics tracking. Adding the Retention Modal component to your application is straightforward:
The Retention Modal is typically used in subscription management or account settings pages where users might consider canceling their service.

How It Works

The Retention Modal provides a comprehensive retention flow:
  1. Feedback Collection: Gathers user feedback through predefined options and free-form text
  2. Retention Offer: Optional step to present a special offer to retain the customer
  3. Analytics Tracking: Automatically tracks all retention-related events
  4. Customizable UI: Extensive styling and configuration options
  5. Flexible Callbacks: Custom handlers for feedback, offers, and cancellation

Customization Options

The Retention Modal component is highly customizable through props:

Button Customization

Customize the trigger button:

Feedback Page Customization

Customize the feedback collection page:

Offer Page Customization

Configure the retention offer page:

Custom Event Handling

Implement custom handlers for various events:

Component Props

Viewing Retention Analytics

All retention-related events are tracked and can be analyzed in your AppSloth Dashboard:
  1. Log into your AppSloth Dashboard
  2. Navigate to the “Retention” section
  3. Analyze your retention metrics:
    • View churn rates
    • Analyze feedback patterns
    • Track offer acceptance rates
    • Monitor retention effectiveness
AppSloth Retention Dashboard

Next Steps

Now that you’ve added the AppSloth Retention Modal to your application, explore more features:

Banners

Create eye-catching banners to highlight important announcements

Feedback

Collect and manage user feedback to improve your product

Inbox

Send targeted in-app messages and alerts to your users