Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计通过

exit-intent-popups退出意图弹出窗口

Agent Skill

exit-intent-popups 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

419

周安装

18

GitHub Stars

19

下载量

147
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:exit-intent-popups(退出意图弹出窗口)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/exit-intent-popups
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill exit-intent-popups
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill exit-intent-popups

简介

exit-intent-popups 检测用户即将离开页面时弹出定向优惠,提升转化率与邮件捕获率。

  • 适合电商、SaaS 等产品优化用户留存与线索收集场景。
  • 通过 GitHub 安装,需配置目标受众与频率限制策略。
  • 应遵守隐私政策与反垃圾邮件法规,避免过度打扰用户。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Exit-Intent Popups

Overview

Exit-intent popups detect when a visitor is about to leave — by tracking rapid mouse movement toward the browser's address bar on desktop — and display a targeted offer. When implemented with proper targeting and frequency capping, they recover 5–10% of otherwise lost visitors. Dedicated popup apps handle all the detection logic, A/B testing, and ESP integration — no custom code needed.

When to Use This Skill

  • When site bounce rate is above 60% and conversion rate is below 2%
  • When capturing email addresses for the marketing list during the session
  • When offering a first-purchase discount to new visitors who haven't converted
  • When reminding checkout abandoners about items in their cart before they leave
  • When A/B testing popup offer types (% off vs. free shipping vs. free gift)

Core Instructions

Step 1: Choose the right popup tool

PlatformRecommended ToolWhy
ShopifyKlaviyo Forms (free, syncs to Klaviyo) or Privy ($30/mo)Klaviyo Forms integrates directly with Klaviyo flows; Privy includes A/B testing, unique coupon codes, and detailed analytics
WooCommerceOptinMonster ($9/mo) or Popup Maker (free)OptinMonster has exit-intent detection, A/B testing, and WooCommerce integration; Popup Maker is simpler and free
BigCommerceJustuno or Klaviyo FormsBoth have native BigCommerce integrations and exit-intent detection
Custom / HeadlessKlaviyo Forms (via JavaScript embed) or custom implementationKlaviyo Forms works on any site with a JavaScript snippet

Step 2: Configure exit-intent detection and targeting

Most popup tools have exit-intent built in. The key is configuring it correctly to avoid annoying visitors.


Shopify with Klaviyo Forms

  1. In Klaviyo, go to Sign-up Forms → Create Form
  2. Choose Popup as the form type
  3. Under Targeting, set:

- Display when: Exit intent (mouse moves to top of browser) - Delay: 5 seconds minimum time on page before activating - Frequency: Show once per 14 days (Klaviyo manages this via cookie)

  1. Under Targeting → Conditions, add:

- Show only on: Homepage, product pages, collection pages - Do NOT show on: /checkout, /cart, /account - Do NOT show to: Existing subscribers (Klaviyo checks this automatically for identified profiles)

  1. Under Form Content, set your offer:

- For email capture: "Get 10% off your first order" + email input + GDPR consent checkbox - For cart reminder: "You have items in your cart — complete your purchase" + link back to cart

  1. Under Success Action, create a discount code:

- Connect to Shopify → Discounts — Klaviyo can automatically create unique single-use 10% off codes - These codes appear in the success message and are automatically synced to the subscriber's profile


Shopify with Privy

  1. Install Privy from the Shopify App Store
  2. Go to Privy → Displays → New Display → Popup
  3. Under When to show, select "Exit intent"
  4. Under Who to show it to, configure:

- New visitors only (suppress for logged-in customers) - Minimum 30 seconds on site - Not in checkout - Frequency cap: 14 days

  1. Under Offers, Privy automatically generates unique coupon codes synced to Shopify's discount system
  2. Connect Privy to Klaviyo or Mailchimp under Integrations for automatic list sync

WooCommerce with OptinMonster

  1. Install OptinMonster plugin from the WordPress directory
  2. Create a new campaign: Popup → Exit Intent
  3. Under Display Rules, configure:

- Exit Intent trigger: sensitivity = Medium - Time on page: minimum 30 seconds - Page targeting: include homepage, shop, product pages; exclude checkout, cart, my-account - Frequency: 14-day cookie suppression (OptinMonster default)

  1. Under Integrations, connect to Mailchimp, Klaviyo, or your email provider
  2. For unique coupon codes: use WooCommerce → Coupons to create a coupon, then display the code in the success message (OptinMonster does not auto-generate unique codes on free tiers)

BigCommerce with Justuno

  1. Install Justuno from the BigCommerce App Marketplace
  2. Go to Justuno → Promotions → New Popup
  3. Configure exit intent triggers, targeting rules, and A/B test variants through the visual builder
  4. Justuno integrates with Klaviyo and Mailchimp for list sync

Custom / Headless

For custom builds, Klaviyo Forms works on any website:

  1. Add the Klaviyo JavaScript snippet to your site
  2. Go to Klaviyo → Sign-up Forms → Create Form and configure as above
  3. Klaviyo handles exit detection, frequency capping, and list sync

If you need full control over the popup behavior (custom exit detection logic):

function initExitIntent({ threshold = 20, delay = 5000, onExitIntent }) {
  let activated = false;

  setTimeout(() => {
    document.addEventListener('mouseleave', (e) => {
      if (e.clientY <= 0 && !activated) {
        activated = true;
        onExitIntent();
      }
    });
  }, delay);

  // Mobile: use visibilitychange instead of mouseleave
  document.addEventListener('visibilitychange', () => {
    if (document.visibilityState === 'hidden' && !activated) {
      activated = true;
      onExitIntent();
    }
  });
}

// Check frequency cap using localStorage
function shouldShowPopup(popupId, capDays = 14) {
  const lastSeen = localStorage.getItem(`popup_seen_${popupId}`);
  if (!lastSeen) return true;
  return (Date.now() - parseInt(lastSeen)) > capDays * 86400000;
}

Step 3: Configure the offer and A/B test

The most impactful thing to test is the offer type. Run one A/B test at a time:

Offer TypeBest ForTypical Email Capture Rate
10% off first orderGeneral merchandise3–8% of popup views
Free shippingHigh-AOV stores (shipping is expensive)4–9% of popup views
Free gift with purchaseBeauty, supplements5–10% of popup views
Content offer ("Download our guide")B2C brands with content2–5%

In Klaviyo/Privy: create two variants of your form with different offers, split traffic 50/50, and measure conversion rate over 2 weeks before picking a winner.

Step 4: Generate unique discount codes (not generic codes)

Generic codes like WELCOME10 get shared on coupon sites and inflate your attribution:

  • Shopify + Klaviyo: Klaviyo automatically generates unique single-use Shopify discount codes — enable this in the form's success action settings
  • Shopify + Privy: Privy connects to Shopify's discount system and generates unique codes automatically
  • WooCommerce: Use the WooCommerce Unique Coupon Generator plugin, or create a general code with per-customer usage limit

Best Practices

  • Always include a control/holdout group (20–30%) — without a holdout, you cannot tell if the popup is adding value or just capturing conversions that would have happened anyway (most popup apps support this)
  • Delay activation by at least 5 seconds — popups that fire immediately train visitors to close them without reading
  • Frequency cap at 14 days minimum — all major popup apps handle this via cookie automatically; verify it is enabled
  • Never pre-check the email consent checkbox — GDPR requires explicit opt-in; pre-checked boxes are not valid consent in the EU
  • Generate unique one-time codes — generic codes (WELCOME10) get shared on coupon sites
  • Exclude already-subscribed visitors — Klaviyo checks this automatically; for other tools, suppress via cookie

Common Pitfalls

ProblemSolution
Popup fires immediately on page loadSet minimum 5-second delay AND minimum scroll depth (20%) in targeting settings
Popup shown to same user on every visitVerify frequency capping is enabled in your popup app (Klaviyo: 14 days; Privy: configurable; OptinMonster: configurable)
Exit intent fires on mobileSwitch to scroll-based or time-based triggers for mobile; most tools do this automatically when exit-intent is selected
No way to measure whether the popup helps conversionEnable A/B testing with a control group in your popup app; most support this natively
High popup-driven unsubscribe rateThe offer is not compelling enough; test free shipping vs. % off; also check that emails are sending too frequently after signup

Related Skills

  • @cart-abandonment-recovery
  • @email-marketing-automation
  • @conversion-rate-optimization
  • @push-notifications
  • @first-party-data-collection

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.22%
按下载量换算58

Claude

28.3%
按下载量换算42

Cursor

19.05%
按下载量换算28

Gemini CLI

9.63%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills