exit-intent-survey

Capture exit intent feedback with a detection hook, UI survey, and backend persistence.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/120ventures/claude-skills --skill exit-intent-survey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: exit-intent-survey
Source: https://github.com/120ventures/claude-skills/tree/main/exit-intent-survey
Command: npx skills add https://github.com/120ventures/claude-skills --skill exit-intent-survey

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a turnkey exit-intent survey flow to capture why visitors leave and surface actionable feedback for product and marketing teams.

Core Features & Use Cases

  • Detection hook: useExitIntent that triggers a survey when a user attempts to leave the page
  • UI component: ExitIntentSurvey that matches the project’s design system
  • Backend persistence: edge function or direct DB insert to log responses
  • Migration & guardrails: SQL migration with appropriate indices and Row-Level Security (RLS) to protect data

Quick Start

Install and run /exit-intent-survey in your project to begin gathering exit feedback.

Frequently Asked Questions about exit-intent-survey

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track exit intent and capture why visitors leave a landing page?

Tracking exit intent involves detecting mouse movements indicating a user is about to leave, then triggering a survey UI to collect their feedback. This skill provides a useExitIntent detection hook and ExitIntentSurvey UI component to automate this capture process.

How do I persist exit-intent survey responses in Supabase securely?

To persist exit-intent survey responses in Supabase securely, you use a provided SQL migration with indices and Row-Level Security. Responses are sent via a dedicated edge function or direct database insert to ensure protected backend persistence.

Can I use an exit-intent survey on checkout pages without breaking the design system?

Yes, you can use an exit-intent survey on checkout pages without breaking the design system. The included ExitIntentSurvey UI component is specifically design-system-aligned and applies across common page contexts like checkouts, landing pages, and product pages.

What is the best way to collect reason codes and context data when users abandon a page?

The best way to collect reason codes and context data upon page abandonment is through an automated exit-intent survey flow. This skill captures end-to-end exit intent feedback by triggering a survey to log specific reason codes and context data for analysis.

Do I need an edge function to store frontend exit-intent survey data?

You do not strictly need an edge function to store exit-intent survey data, as direct database insertion is also supported. However, using a dedicated edge function provides a structured backend persistence layer to securely log frontend responses.

What context data does an exit-intent survey collect for conversion analysis?

An exit-intent survey for conversion analysis collects reason codes indicating why visitors leave alongside relevant page context data. This feedback is logged end-to-end, surfacing actionable insights for product and marketing teams to improve conversion rates.