Email capture strategies for lead magnet downloads
Tired of giving away valuable PDFs and resources for free with zero return?
Or worse gating them behind some massively over complicated form, where the visitor has to throw a six to get your content?
Don’t worry, this guide is here to help you with three different approaches and as promised, a free plugin.
Lead magnets are still one of the smartest ways to grow your email list, but only if people actually hand over their email. The problem is that most visitors will happily click “Download” and disappear forever if there’s no gate, so how do we solve this?
Implementing a clean, professional email-gated download in WordPress is surprisingly tricky.
You need to:
- capture the email,
- validate it,
- respect privacy rules (GDPR),
- deliver the file instantly,
- avoid frustrating your visitors with clunky forms,
- avoid broken links
- and last but certainly not least avoid the worst solution which is emailing them a download link on conversion.
Sounds like a lot doesn’t it! Well WordPress doesn’t offer this functionality natively. So why this guide shows you the right ways to do it, from the easiest dedicated plugin solution to form builders and custom code, plus proven tactics that actually boost conversions instead of killing them dead on arrival (well visit).
Why email gates matter
A direct download link is convenient but one-sided: visitors get your file and you get nothing. An email gate is a fair exchange when the offer is strong and the form is short. They get the resource, you get a way to follow up.
The best gates should feel frictionless: a good quality download in exchange for email (and optionally name), GDPR consent where required, then a securely downloadable file with no risk of your download link being shared.
Approach 1: Use a dedicated plugin (easiest)
For most sites, a plugin built specifically for email gated downloads is the fastest path. We developed Email Gated Downloads to do one job: gate a PDF or ZIP behind a simple form, provide a secure link, get a log of who downloaded, then export leads as a CSV file ready for your CRM of choice.
Get started:
- Try the live demo (no setup required)
- Or install from WordPress.org
What the free version includes
- One gated file (PDF or ZIP)
- Email capture form with optional name field
- GDPR-friendly consent checkbox with customizable message
- Instant browser download after successful submission
- Download logs with CSV export (fields: email, optional name, file, timestamp)
- Rate limiting to reduce repeat abuse from the same address
- Files stored securely in a protected directory (not the media library)
Installation and setup (free tier)
- Install and activate Email Gated Downloads from the Plugins screen
- Go to Settings → Email Gated Downloads
- Upload your PDF or ZIP file.
- Configure the form, enable or require the name field, set your consent checkbox (GDPR) text, and customize the thank-you message to suit your brand.
- Add the shortcode to any page or post:
[spdfed_download_form]
Use a Shortcode block in the block editor, or paste the shortcode into your page builder.
Optional: customize the button label:
[spdfed_download_form label="Get Your Free SEO Checklist"]
What happens when someone submits
This is important for expectations and conversion copy on your landing page:
- The visitor enters their email (and name if you enabled it).
- They accept the consent checkbox when it is enabled.
- The plugin validates the submission, logs the download, and triggers an immediate file download in the browser.
- A thank-you message can appear on the page (which you can change to anything you like).
There is no “check your inbox for a link” step in which aligns with best practices: always deliver the asset immediately after the form, not in a confirmation email, no dreaded ‘we have sent you a link to your download…’ messages.
Storing and using submissions
Each successful download is recorded under Settings → Email Gated Downloads → Download Logs you can Export CSV anytime and then import into your email / CRM platform (ConvertKit, MailerLite, Substack, MailChimp etc.).
Segment your list in your CRM: tag or segment subscribers by which lead magnet they requested (use the file name or a dedicated landing page per magnet).
Premium: multiple lead magnets
Yep here comes the premium upsell, however if you run several gated resources, for a very low price Premium adds:
- Unlimited gated files via the Gated Files post type
- Customisable Per-file settings (name field, consent text, thank-you / GDPR message)
- Analytics dashboard (keep track of your downloads over time, spikes, top downloaded files, etc)
- Shortcodes per file:
[spdfed_download_form id="123"]
Replace 123 with the Gated File post ID shown in the admin or click the ‘copy shortcode’ link.
When we said low price we really mean it, $23.99 for a dedicated marketing engine is pretty good! Especially when you consider the costs in approach 2.
Why this beats a generic “download link in email” for many sites
- Lightweight: no complicated form-builder stack for a simple single asset download
- Built for lead magnets: PDF/ZIP, consent, logs, export
- Hosting-aware: fresh security tokens on page load help avoid lost submissions on aggressively cached sites
- Honest free tier: one magnet is enough to validate the funnel before upgrading
Approach 2: Gravity Forms, WPForms and other form plugins
If you already pay for Gravity Forms or WPForms, you can approximate an email gate:
- Create a form with name and email (and consent checkbox if you need GDPR or similar).
- On confirmation, show a download button or link or redirect to a thank-you page with the file.
- Optional: instead send the download link in the confirmation email sent by form to the visitor (please don’t do this, it is the easiest way to loose future gated conversions).
Trade-offs:
- More manual wiring (conditional logic, confirmations, file access)
- File URLs are easier to mishandle (public links vs protected delivery)
- Download logging and “who got which magnet” usually need extra add-ons or custom work
- Heavier stack if you only need one gated PDF
- Will likely need a premium version of your form plugin
- Hiding the download URL will require a secondary download manager style plugin and potentially another premium license
For a single lead magnet, a dedicated plugin is often simpler. Form builders shine when the gate is part of a larger quiz, survey, or multi-step funnel.
Warning
Your downloads file link will be publicly exposed, which means potential sharing and downloading of gated content from non-gated visitors.
Approach 3: Custom implementation (advanced)
For developers who need full control or have very specific requirements, it’s possible to build a custom email-gated download system from scratch.
Typical Technical Flow
A common pattern involves these core components:
- Form Handling: Use a standard HTML form (or React/Vue if using a headless setup) that posts to admin-post.php, a custom REST API endpoint, or a block editor dynamic block.
- Validation & Storage: On submission, validate the email (and optional name), check for consent if required, then store the lead in a custom database table (or as a custom post type with metadata). Use wp_insert_post() or $wpdb for logging.
- Token Generation: Create a unique, time-limited download token (e.g., using wp_generate_password(32, false) + hash). Store the token + expiry + associated file + user email in the database.
- Delivery Options:
- Email-based – Send a secure link containing the token via wp_mail(). The link points to a custom endpoint that validates the token before serving the file with wp_die() + appropriate headers (or readfile()).
- Instant download – After successful form validation, immediately serve the file with proper headers while still logging the lead.
- File Protection: Never serve files from the public Media Library. Store them outside wp-content/uploads (e.g., in wp-content/protected-downloads/) or use .htaccess / nginx rules + token verification to block direct access.
Key Challenges & Considerations
- Security: You must properly handle token expiry, rate limiting, and protection against token guessing or replay attacks. Files should be served with Content-Disposition: attachment and never exposed as public URLs.
- Caching & Hosting: Aggressive page caching (Cloudflare, LiteSpeed, etc.) can interfere with POST handlers and immediate downloads. You’ll often need cache-busting headers or AJAX submission.
- Maintenance: Every WordPress core update, security patch, or hosting change can introduce edge cases. You’re responsible for keeping the code compatible and secure long-term.
- Deliverability: If using email links, you’ll need to handle SPF/DKIM, avoid spam filters, and manage queued emails for scale.
That model supports expiring, share-resistant links but adds complexity: cron, email deliverability, token storage, edge cases. Building this yourself gives maximum flexibility (custom workflows, integration with existing member systems, advanced analytics, etc.), but it’s a non-trivial amount of work. For most marketing focused sites, a well maintained dedicated plugin is significantly faster and more reliable.
If you do build something custom, we’d genuinely love to see how you approached it if you feel like sharing?
Most marketing sites should use a maintained plugin unless they need behavior that off-the-shelf tools cannot provide, if you are a Jedi webmaster / developer please ignore.
Best practices for email gates
Keep forms simple
Ask for email first; add name only if you will use it. Every extra field lowers conversion. Save surveys for after they have the file.
With Email Gated Downloads, the free form is intentionally minimal: email, optional name, consent, submit.
Make the value obvious
Your headline should state the outcome: “Get the 10-Point SEO Checklist (PDF)” beats “Download our guide.” Show format (PDF), length, and who it is for.
Deliver immediately
Trigger the download right after submit. Delayed or email-only delivery increases abandonment. If you use a nurture sequence, that is separate from getting the lead magnet into their hands now.
Protect the file without punishing real users
Expiring or one-time links reduce link sharing. Direct secure delivery after a validated form (as Email Gated Downloads does) stops casual hotlinking to a public URL while keeping UX instant. Pick the model that matches how strict you need to be; many lead magnets prioritize speed over share-proof tokens.
Use consent thoughtfully
A clear consent checkbox helps with GDPR-style expectations; you remain responsible for your privacy policy, lawful basis, and how your CRM processes data. Do not claim “GDPR compliant” in one sentence explain what the checkbox does and link to your policy.
Segment and follow up
Capturing the email is half the job. Welcome them, reference the resource they downloaded, and send relevant next steps. Import CSV exports promptly and tag by magnet or landing page URL.
Remember
Each field you add lowers the conversion rate and exposing your download link will lead to un-gated conversions.
Common mistakes to avoid
- Too many form fields: Phone, company, and industry fields crush conversion on cold traffic. Stay minimal at the gate.
- Weak value proposition: If they cannot tell what they get in five seconds, they will not submit.
- Broken or untested downloads: Test on mobile, with ad blockers, and after caching/CDN changes. A failed download wastes the click you paid for.
- No follow-up: Export logs regularly and connect them to your CRM automations.
- Mismatch between promise and delivery: If the page says “instant PDF” but they only get an email hours later, trust drops. Align copy with instant delivery when that is what you offer.
Measuring success
Track metrics that map to your stack:
| Metric | What it tells you |
|---|---|
| Landing page conversion | Form submits ÷ page views (use analytics on the landing page) |
| List growth | New contacts per week from CSV import or CRM |
| Download volume | Log count in the plugin (Premium analytics for trends) |
| Email engagement | Opens and clicks on follow-up sequences in your CRM |
Low landing conversion → test headline, social proof, form length, and magnet quality.
Low email engagement → improve welcome and nurture content, not the gate itself.
Market a solution not your product for optimum conversions
Scaling to multiple lead magnets
One strong magnet proves the funnel. Then add magnets for different audiences e.g. a developer API guide vs a marketer content template. Each should have its own landing page and, with Premium, its own [spdfed_download_form id="…"] and per-file settings.
Compare download logs (and Premium analytics) to see which assets pull the most leads, then invest in winners.
Frequently asked questions
Can I gate a ZIP file as well as a PDF?
Yes. Email Gated Downloads supports PDF and ZIP uploads.
Do I need Gravity Forms or Elementor?
No. Add the shortcode to any page, post or cpt in the block editor or your preferred page builder (works fine with Elementor too).
Is the WordPress.org version really free?
Yes. Free includes one gated file, the form, consent checkbox, logs, and CSV export.
How do I add subscribers to MailerLite, ConvertKit, or similar?
Export download logs to CSV and import into your ESP, then tag by lead magnet or campaign.
Can I put the form on multiple pages?
Yes. The same [spdfed_download_form] shortcode can appear on multiple URLs; all submissions log against that gated file.
Can I run multiple different gates on one site?
Multiple distinct files require Premium and [spdfed_download_form id="123"] per file.
Are download links public Media Library URLs?
No. Files live in a protected location; delivery happens after validated form submission, not via a permanent public file URL.
Does the plugin send the PDF by email?
No. The default experience is an immediate download in the browser after submit. Your CRM handles marketing email separately.
The bottom line
Email gates are among the highest-ROI tactics for list growth: a clear lead magnet plus a short form can produce hundreds of qualified contacts. The implementation should be as simple as the offer.
For WordPress, that usually means:
upload the file → paste [spdfed_download_form] → export logs → nurture in your email tool.
Start with one magnet, measure conversion, then scale with more assets when the funnel works.
Ready to try it?
