方法与优势
根据访客场景选择触发条件,而不是默认进入页面几秒就弹出。把人群、来源和优惠内容放在一起考虑,明确这次打断为什么对当前访客有用,再决定应该什么时候展示。
围绕访客什么时候需要这条信息、看到后应该做什么,制定电商弹窗优化方案。提供弹窗目标、受众、流量来源和优惠条件后,这项 Skill 会帮助设计文案、触发时机、人群规则、展示频率与移动端行为,再交给团队在现有弹窗工具中配置和测试。
弹窗表现不好,不一定只是优惠不够吸引人,也可能出现太早、重复太多,或在手机上挡住内容又难以关闭。这项 Skill 会把内容和展示规则一起检查,同时考虑移动端使用与效果衡量。
适合目标明确的订阅、促销等弹窗需求。输出是一份可交给运营配置的文案与规则方案,包含展示对象、时机和频率。具体安装、同意机制以及平台中的实际行为,需要在使用的店铺工具里落实并检查。
根据访客场景选择触发条件,而不是默认进入页面几秒就弹出。把人群、来源和优惠内容放在一起考虑,明确这次打断为什么对当前访客有用,再决定应该什么时候展示。
把频率限制、移动端布局和便于关闭的方式写进方案,避免只关注弹窗里说什么。再配上衡量计划,既观察目标动作是否增加,也检查弹窗有没有影响访客继续浏览和完成原来的任务。
弹窗目的、受众、流量来源、现有效果、优惠条件和移动端限制。
使用能发现已安装 Skill 并读取辅助文件的兼容 Agent。外部服务或创作运行环境需另行配置。
不会安装弹窗应用或修改店铺。实施前需核对同意机制和平台规则,不保证转化提升。
将指令复制给 Codex 或 Claude Code,让助手从原始仓库下载固定提交,安装完整文件并检查所需依赖。
请在我当前使用的应用中安装 popups,直接执行文件安装,不要只解释步骤。
原始仓库:https://github.com/coreyhaines31/marketingskills.git
固定提交:e85f3cbc2e4a79bf33b2a12e9bdd9087d414735b
Skill 路径:skills/popups
1. 将这个版本下载到新目录。执行随包脚本前,先阅读 SKILL.md 和安装参考文件,不替换成其他作者的包。
2. Codex 安装到 ~/.agents/skills/popups,Claude Code 安装到 ~/.claude/skills/popups,只安装到我正在使用的应用。安装完整 Skill 文件夹,保留 scripts、references、assets 和随包声明;将仓库根目录许可证一并保留。先检查所有目标目录;已有安装时,说明差异后再决定是否替换。
3. 比较来源和安装目录的文件清单、文件哈希,检查文档要求的运行时、依赖及外部连接。只配置此 Skill 所需的本地依赖,适用时使用隔离环境;账号登录由我在本地完成,不把凭据贴进聊天。
4. 返回来源提交、实际安装路径、文件检查结果及尚未完成的运行环境配置,说明如何调用 popups。文件复制与应用发现分别检查,需要时新建会话。不要执行生产任务,也不要把安装完成说成已确认业务效果。以下为已核对版本未经改写的 SKILL.md。安装完整包才能保留引用的脚本、素材和指引。下方启动提示词为 EcomAgentTools 编写的示例。
---
name: popups
description: When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," "overlay," "collect emails with a popup," "exit popup," "scroll trigger," "sticky bar," or "notification bar." Use this for any overlay or interrupt-style conversion element. For forms outside of popups, see cro. For general page conversion optimization, see cro.
metadata:
version: 2.0.0
---
# Popup CRO
You are an expert in popup and modal optimization. Your goal is to create popups that convert without annoying users or damaging brand perception.
## Initial Assessment
**Check for product marketing context first:**
If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Before providing recommendations, understand:
1. **Popup Purpose**
- Email/newsletter capture
- Lead magnet delivery
- Discount/promotion
- Announcement
- Exit intent save
- Feature promotion
- Feedback/survey
2. **Current State**
- Existing popup performance?
- What triggers are used?
- User complaints or feedback?
- Mobile experience?
3. **Traffic Context**
- Traffic sources (paid, organic, direct)
- New vs. returning visitors
- Page types where shown
---
## Core Principles
### 1. Timing Is Everything
- Too early = annoying interruption
- Too late = missed opportunity
- Right time = helpful offer at moment of need
### 2. Value Must Be Obvious
- Clear, immediate benefit
- Relevant to page context
- Worth the interruption
### 3. Respect the User
- Easy to dismiss
- Don't trap or trick
- Remember preferences
- Don't ruin the experience
---
## Trigger Strategies
### Time-Based
- **Not recommended**: "Show after 5 seconds"
- **Better**: "Show after 30-60 seconds" (proven engagement)
- Best for: General site visitors
### Scroll-Based
- **Typical**: 25-50% scroll depth
- Indicates: Content engagement
- Best for: Blog posts, long-form content
- Example: "You're halfway through—get more like this"
### Exit Intent
- Detects cursor moving to close/leave
- Last chance to capture value
- Best for: E-commerce, lead gen
- Mobile alternative: Back button or scroll up
### Click-Triggered
- User initiates (clicks button/link)
- Zero annoyance factor
- Best for: Lead magnets, gated content, demos
- Example: "Download PDF" → Popup form
### Page Count / Session-Based
- After visiting X pages
- Indicates research/comparison behavior
- Best for: Multi-page journeys
- Example: "Been comparing? Here's a summary..."
### Behavior-Based
- Add to cart abandonment
- Pricing page visitors
- Repeat page visits
- Best for: High-intent segments
---
## Popup Types
### Email Capture Popup
**Goal**: Newsletter/list subscription
**Best practices:**
- Clear value prop (not just "Subscribe")
- Specific benefit of subscribing
- Single field (email only)
- Consider incentive (discount, content)
**Copy structure:**
- Headline: Benefit or curiosity hook
- Subhead: What they get, how often
- CTA: Specific action ("Get Weekly Tips")
### Lead Magnet Popup
**Goal**: Exchange content for email
**Best practices:**
- Show what they get (cover image, preview)
- Specific, tangible promise
- Minimal fields (email, maybe name)
- Instant delivery expectation
### Discount/Promotion Popup
**Goal**: First purchase or conversion
**Best practices:**
- Clear discount (10%, $20, free shipping)
- Deadline creates urgency
- Single use per visitor
- Easy to apply code
### Exit Intent Popup
**Goal**: Last-chance conversion
**Best practices:**
- Acknowledge they're leaving
- Different offer than entry popup
- Address common objections
- Final compelling reason to stay
**Formats:**
- "Wait! Before you go..."
- "Forget something?"
- "Get 10% off your first order"
- "Questions? Chat with us"
### Announcement Banner
**Goal**: Site-wide communication
**Best practices:**
- Top of page (sticky or static)
- Single, clear message
- Dismissable
- Links to more info
- Time-limited (don't leave forever)
### Slide-In
**Goal**: Less intrusive engagement
**Best practices:**
- Enters from corner/bottom
- Doesn't block content
- Easy to dismiss or minimize
- Good for chat, support, secondary CTAs
---
## Design Best Practices
### Visual Hierarchy
1. Headline (largest, first seen)
2. Value prop/offer (clear benefit)
3. Form/CTA (obvious action)
4. Close option (easy to find)
### Sizing
- Desktop: 400-600px wide typical
- Don't cover entire screen
- Mobile: Full-width bottom or center, not full-screen
- Leave space to close (visible X, click outside)
### Close Button
- Keep visible (top right is convention) — users who can't find the close button will bounce entirely
- Large enough to tap on mobile
- "No thanks" text link as alternative
- Click outside to close
### Mobile Considerations
- Can't detect exit intent (use alternatives)
- Full-screen overlays feel aggressive
- Bottom slide-ups work well
- Larger touch targets
- Easy dismiss gestures
### Imagery
- Product image or preview
- Face if relevant (increases trust)
- Minimal for speed
- Optional—copy can work alone
---
## Copy Formulas
### Headlines
- Benefit-driven: "Get [result] in [timeframe]"
- Question: "Want [desired outcome]?"
- Command: "Don't miss [thing]"
- Social proof: "Join [X] people who..."
- Curiosity: "The one thing [audience] always get wrong about [topic]"
### Subheadlines
- Expand on the promise
- Address objection ("No spam, ever")
- Set expectations ("Weekly tips in 5 min")
### CTA Buttons
- First person works: "Get My Discount" vs "Get Your Discount"
- Specific over generic: "Send Me the Guide" vs "Submit"
- Value-focused: "Claim My 10% Off" vs "Subscribe"
### Decline Options
- Polite, not guilt-trippy
- "No thanks" / "Maybe later" / "I'm not interested"
- Avoid manipulative: "No, I don't want to save money"
---
## Frequency and Rules
### Frequency Capping
- Show maximum once per session
- Remember dismissals (cookie/localStorage)
- 7-30 days before showing again
- Respect user choice
### Audience Targeting
- New vs. returning visitors (different needs)
- By traffic source (match ad message)
- By page type (context-relevant)
- Exclude converted users
- Exclude recently dismissed
### Page Rules
- Exclude checkout/conversion flows
- Consider blog vs. product pages
- Match offer to page context
---
## Compliance and Accessibility
### GDPR/Privacy
- Clear consent language
- Link to privacy policy
- Don't pre-check opt-ins
- Honor unsubscribe/preferences
### Accessibility
- Keyboard navigable (Tab, Enter, Esc)
- Focus trap while open
- Screen reader compatible
- Sufficient color contrast
- Don't rely on color alone
### Google Guidelines
- Intrusive interstitials hurt SEO
- Mobile especially sensitive
- Allow: Cookie notices, age verification, reasonable banners
- Avoid: Full-screen before content on mobile
---
## Measurement
### Key Metrics
- **Impression rate**: Visitors who see popup
- **Conversion rate**: Impressions → Submissions
- **Close rate**: How many dismiss immediately
- **Engagement rate**: Interaction before close
- **Time to close**: How long before dismissing
### What to Track
- Popup views
- Form focus
- Submission attempts
- Successful submissions
- Close button clicks
- Outside clicks
- Escape key
### Benchmarks
- Email popup: 2-5% conversion typical
- Exit intent: 3-10% conversion
- Click-triggered: Higher (10%+, self-selected)
---
## Output Format
### Popup Design
- **Type**: Email capture, lead magnet, etc.
- **Trigger**: When it appears
- **Targeting**: Who sees it
- **Frequency**: How often shown
- **Copy**: Headline, subhead, CTA, decline
- **Design notes**: Layout, imagery, mobile
### Multiple Popup Strategy
If recommending multiple popups:
- Popup 1: [Purpose, trigger, audience]
- Popup 2: [Purpose, trigger, audience]
- Conflict rules: How they don't overlap
### Test Hypotheses
Ideas to A/B test with expected outcomes
---
## Common Popup Strategies
### E-commerce
1. Entry/scroll: First-purchase discount
2. Exit intent: Bigger discount or reminder
3. Cart abandonment: Complete your order
### B2B SaaS
1. Click-triggered: Demo request, lead magnets
2. Scroll: Newsletter/blog subscription
3. Exit intent: Trial reminder or content offer
### Content/Media
1. Scroll-based: Newsletter after engagement
2. Page count: Subscribe after multiple visits
3. Exit intent: Don't miss future content
### Lead Generation
1. Time-delayed: General list building
2. Click-triggered: Specific lead magnets
3. Exit intent: Final capture attempt
---
## Experiment Ideas
### Placement & Format Experiments
**Banner Variations**
- Top bar vs. banner below header
- Sticky banner vs. static banner
- Full-width vs. contained banner
- Banner with countdown timer vs. without
**Popup Formats**
- Center modal vs. slide-in from corner
- Full-screen overlay vs. smaller modal
- Bottom bar vs. corner popup
- Top announcements vs. bottom slideouts
**Position Testing**
- Test popup sizes on desktop and mobile
- Left corner vs. right corner for slide-ins
- Test visibility without blocking content
---
### Trigger Experiments
**Timing Triggers**
- Exit intent vs. 30-second delay vs. 50% scroll depth
- Test optimal time delay (10s vs. 30s vs. 60s)
- Test scroll depth percentage (25% vs. 50% vs. 75%)
- Page count trigger (show after X pages viewed)
**Behavior Triggers**
- Show based on user intent prediction
- Trigger based on specific page visits
- Return visitor vs. new visitor targeting
- Show based on referral source
**Click Triggers**
- Click-triggered popups for lead magnets
- Button-triggered vs. link-triggered modals
- Test in-content triggers vs. sidebar triggers
---
### Messaging & Content Experiments
**Headlines & Copy**
- Test attention-grabbing vs. informational headlines
- "Limited-time offer" vs. "New feature alert" messaging
- Urgency-focused copy vs. value-focused copy
- Test headline length and specificity
**CTAs**
- CTA button text variations
- Button color testing for contrast
- Primary + secondary CTA vs. single CTA
- Test decline text (friendly vs. neutral)
**Visual Content**
- Add countdown timers to create urgency
- Test with/without images
- Product preview vs. generic imagery
- Include social proof in popup
---
### Personalization Experiments
**Dynamic Content**
- Personalize popup based on visitor data
- Show industry-specific content
- Tailor content based on pages visited
- Use progressive profiling (ask more over time)
**Audience Targeting**
- New vs. returning visitor messaging
- Segment by traffic source
- Target based on engagement level
- Exclude already-converted visitors
---
### Frequency & Rules Experiments
- Test frequency capping (once per session vs. once per week)
- Cool-down period after dismissal
- Test different dismiss behaviors
- Show escalating offers over multiple visits
---
## Task-Specific Questions
1. What's the primary goal for this popup?
2. What's your current popup performance (if any)?
3. What traffic sources are you optimizing for?
4. What incentive can you offer?
5. Are there compliance requirements (GDPR, etc.)?
6. Mobile vs. desktop traffic split?
---
## Related Skills
- **lead-magnets**: For planning lead magnets to promote via popups
- **cro**: For optimizing the form inside the popup
- **cro**: For the page context around popups
- **emails**: For what happens after popup conversion
- **ab-testing**: For testing popup variations
以下是主要功能的用例提示词,可以直接复制使用。
设计与页面内容相关的订阅弹窗 适用于:设计与页面内容相关的订阅弹窗。请准备:弹窗目的、受众、流量来源、现有效果、优惠条件和移动端限制。
请使用已安装的 popups Skill。任务:设计与页面内容相关的订阅弹窗。输入:[INPUT]。限制:[CONSTRAINTS]。先检查缺失信息,再输出可审查的结果、依据、假设和下一步。不会安装弹窗应用或修改店铺。实施前需核对同意机制和平台规则,不保证转化提升。[INPUT][CONSTRAINTS]检查离站触发时机与频控 适用于:检查离站触发时机与频控。请准备:弹窗目的、受众、流量来源、现有效果、优惠条件和移动端限制。
请使用已安装的 popups Skill。任务:检查离站触发时机与频控。输入:[INPUT]。限制:[CONSTRAINTS]。先检查缺失信息,再输出可审查的结果、依据、假设和下一步。不会安装弹窗应用或修改店铺。实施前需核对同意机制和平台规则,不保证转化提升。[INPUT][CONSTRAINTS]制作移动弹窗测试与无障碍清单 适用于:制作移动弹窗测试与无障碍清单。请准备:弹窗目的、受众、流量来源、现有效果、优惠条件和移动端限制。
请使用已安装的 popups Skill。任务:制作移动弹窗测试与无障碍清单。输入:[INPUT]。限制:[CONSTRAINTS]。先检查缺失信息,再输出可审查的结果、依据、假设和下一步。不会安装弹窗应用或修改店铺。实施前需核对同意机制和平台规则,不保证转化提升。[INPUT][CONSTRAINTS]模拟商家批准 10% 首购码 HARBOR10,要求清楚展示运费与有效期,并允许顾客不留邮箱也使用优惠。任务包括桌面和手机触发、频控及退出。
案例输入资料:business-inputs.zip
Use the popup-cro Skill.
Design a restrained email-offer popup for this store. Calculate the actual discounted delivered price, write the offer and consent copy, and define desktop/mobile triggers, eligibility, dismissal, frequency and error states. Keep use of the discount separate from optional marketing consent and provide an event plan.
The attached business materials are:
- inputs/brief.json
Deliver a complete result.md report that the operations team can read, plus any finished files needed for this task. Keep supporting calculations and evidence with the deliverables. Write the report in English; use the requested target language for customer-facing copy. The business datasets are fictional examples unless the brief explicitly names a live public website.下方直接展示本次 Prompt 产生的主要文件,保留实际输出语言。
Use a small dismissible offer panel. Display HARBOR10 directly; a shopper does not need to enter an email or subscribe to use it. This design follows the approved offer and keeps the product readable on mobile.
Headline: 10% off your first HarborMug order
Offer: Use HARBOR10 at checkout. One $24 mug becomes $21.60, plus $5 US shipping: $26.60 before applicable tax. You save $2.40 on merchandise.
Terms: First order only, once per customer, cannot be combined with other offers. Excludes shipping and tax. Valid through November 17, 2026, at 11:59 p.m. America/New_York; the configured cutoff is November 18 at 00:00. Free shipping starts at a $50 merchandise subtotal after discounts. US delivery only.
Primary action: Copy HARBOR10
Secondary action: Continue shopping
Optional section: “Want product and care updates?” Email field and an unchecked checkbox: “Yes, email me HarborMug updates, up to two messages per month. I can unsubscribe at any time.” Submit: Sign me up. Add a working Privacy policy link after its destination is verified. Keep discount copying available with the box unchecked and no email entered.
Desktop: initially offer a small “First order offer” link. Permit one automatic corner slide-in only after 45 seconds of engaged time and 50% scroll on a product or collection page. These are design starting points, not empirically optimal thresholds. Avoid an exit-intent dependency.
Mobile: use the same shopper-initiated link; no automatic full-screen popup and no back-button interception. A compact bottom sheet must leave the close control visible with the keyboard open. The two fictional interview objections to first-screen obstruction support this conservative choice, but are not representative research.
Show only during the configured offer dates to eligible first-order visitors when eligibility is known. If unknown, state first-order eligibility clearly and verify it at checkout rather than promising acceptance. Exclude cart, checkout, support/returns flows, known purchasers, recent dismissals and successful subscribers. Keep the promotion accessible through an ordinary offer link when an automatic display is suppressed.
Cap automatic display at once per session and suppress for 30 days after dismissal. Do not display competing overlays at the same time. Closing by X, outside click or Escape has the same effect. Restore focus to the trigger; trap focus only when the element is a modal dialog. Use visible labels, keyboard controls, readable contrast and large tap targets.
Copy success: “Code copied.” If clipboard access fails, select or show the code with “Copy this code manually: HARBOR10.” A copy action does not imply an order or subscription.
For optional signup, require email and affirmative consent. Missing email: “Enter the email address for your updates.” Invalid address: “Check your email address.” Unchecked consent: “Choose whether you want marketing updates. You can still use HARBOR10 without subscribing.” Server failure preserves the email and selection. Confirm subscription only after server acceptance; if double opt-in is configured, say “Check your inbox to confirm” rather than claiming confirmation already occurred.
Expired offer: hide the code panel and never silently issue another promotion. Ineligible order: checkout explains the first-order restriction while preserving the cart.
Events: offer_eligible, offer_view, offer_close (method), code_copy, signup_focus, signup_attempt, signup_accepted and signup_failed (error category). Keep optional newsletter consent state separate from promotion usage. Do not send email addresses or text fields to analytics. Deduplicate automatic views per session and accepted subscriptions server-side.
The supplied measurement fixture yields 400/1,000 = 40% view rate; 20/400 = 5% successful subscriptions per view; 20/24 = 83.33% per attempt; 120/400 = 30% immediate-close rate. Close methods reconcile: 240 + 40 + 20 = 300. Average close time is 1,500/300 = 5 seconds. These are fictional fixture calculations, not a launched popup's results.
Review contribution after the discount, purchase completion, dismissals, signup errors and complaints. Known contribution before payment fees, tax and overhead is $26.60 − $8 unit cost − $4 shipping cost = $14.60 per one-mug order, versus $17 without discount. Do not call that net profit. A later trigger test should hold offer value constant and include purchase and experience guardrails.
案例中的商家经营资料为模拟数据;涉及网站检查时,报告中的页面观察来自所列公开网址。
不会安装弹窗应用或修改店铺。实施前需核对同意机制和平台规则,不保证转化提升。
核对源码及随包文件:GitHub e85f3cbc2e4a。 当前包标识为 popups。本次为静态审查,不代表已完成安装运行或业务效果测试。
使用获授权输入,不把密钥贴入提示词。采用前检查面向客户的声明、计算、代码改动及任何拟议的外部操作。
规划弹窗优惠、时机、文案、展示规则和衡量方式。更名后的 popups Skill 将触发时机与频控、移动可用性和无障碍关闭方式结合。
按实际 Agent 选择方式,安装完整包,不要只复制页面中的 SKILL.md。 弹窗目的、受众、流量来源、现有效果、优惠条件和移动端限制。 开启新 Agent 会话,明确要求使用 popups。先用小型样本尝试下方一个场景,并检查输出。
设计与页面内容相关的订阅弹窗;检查离站触发时机与频控;制作移动弹窗测试与无障碍清单
不会安装弹窗应用或修改店铺。实施前需核对同意机制和平台规则,不保证转化提升。
核对源码及随包文件:GitHub e85f3cbc2e4a。 当前包标识为 popups。本次为静态审查,不代表已完成安装运行或业务效果测试。
核对源码及随包文件:GitHub e85f3cbc2e4a。 当前包标识为 popups。本次为静态审查,不代表已完成安装运行或业务效果测试。
暂无评论。