Explore Dashboard

Documentation

Set Up PDF Gate on Your Webflow Site

Follow these steps to lock a PDF behind an email form, deliver it to every visitor who signs up, and see your leads in one place. Most sites are live in about 10 minutes.

On this page

Step 01

Create Your Account

Create a free PDF Gate account. The Starter plan includes unlimited PDFs and 100 MB of storage.

  1. 1Go to the Sign Up page.
  2. 2Click Continue with Google, or enter your name, email and a password.
  3. 3If you signed up with email, open the confirmation email we send you and click the link to log in.

Create your account

GContinue with Google
or sign up with email

Full name

Alex Morgan

Email

alex@studio.com

Password

••••••••••
Sign Up

Check your email for a link to confirm your account.

Example: Sign up with Google or with your email and a password.

Step 02

Connect Your Webflow Site

Connect your Webflow account so PDF Gate can see your sites and CMS collections. PDF Gate then adds its script to your site for you, so there is no code to paste.

  1. 1In the dashboard, open Setting and choose the Webflow tab.
  2. 2Click Connect Webflow and authorize the app in the Webflow window that opens.
  3. 3Under Available Webflow Workspace Sites, add the site you want to use.
  4. 4Check that the site shows PDF Gate script installed.

Webflow Integration

Connect your Webflow account to gate PDFs on your sites and CMS collections.

Example: Try it: click Connect Webflow, authorize, then add a site and watch the script install.
Only workspace owners and admins can manage the Webflow connection. Editors and viewers won't see the Webflow tab.

Step 03

Upload Your PDFs

Upload the documents you want to gate, such as guides, reports or ebooks.

  1. 1Open PDF Store from the sidebar.
  2. 2Under Target Webflow Site(s), pick the site the PDFs belong to.
  3. 3Drag your files onto the upload area, or click browse. You can select many files at once.
  4. 4Leave Compress PDFs on to make files smaller and faster to load. On the free plan compression is always on; paid plans can turn it off to keep the originals.

Upload PDFs

Pro Tier

Unlimited PDFs · 4.9 GB of 5 GB storage left · 3 uploaded

Storage used73.5 MB / 5 GB
Compress PDFsSmaller files that load faster and use less storage.

Demo only. Try dropping a file: it stays on your device and nothing is uploaded.

Example: Try it: pick a site, then drop one PDF or many. Only real PDF files are accepted.

Each upload appears in the PDF list. From there you can Copy Attribute, Create Gate, preview, rename or delete the file.

  • PDF

    Website Problem

    StudiFlow · 10.77 MB · 30/09/2026

    Compressed from 153.38 MB

    Mapped Gate Created
  • PDF

    Social Media - Post New

    StudiFlow · 16.55 MB · 30/09/2026

    Compressed from 35.45 MB

    Not Mapped
  • PDF

    Marketing Guide 2026

    StudiFlow · 35.45 MB · 28/09/2026

    Mapped Gate Created

Demo only. Try the buttons: nothing here changes your account.

Example: Try it: copy an attribute, create a gate, rename or delete a PDF. Files you drop above show up here too.

Step 04

Add the Gate to Your Page

Now tell Webflow where the lock should appear. Pick the option that matches your page. You can use more than one on the same site.

Option A

One PDF per CMS item (blog posts, resources)

Use this when each CMS item, such as each blog post, should unlock its own PDF.

1

In PDF Gate

Map the PDF to your CMS items

  1. 1Open CMS in the sidebar.
  2. 2Choose the Webflow Site, the CMS Collection and one or more Collection Item(s).
  3. 3Under Target CMS Field (Write-Back), choose a Link or PlainText field such as gate-url. Don't use the slug or name field. PDF Gate writes each item's gate link into this field.
  4. 4Pick the PDF and save the mapping. A gate is created for it automatically.

Map PDF to CMS

Assign an uploaded PDF to a dynamic CMS collection item from your Webflow site.

Collection Item(s)

Link field. Use a Link or PlainText field, never slug or name.

PDFWebsite Problem0 target items

Mapped Items (3)

Each item shows its own gated PDF on its CMS page.

  • S
    Blogs

    Different Logos that Truly Reflect Brand

    StudiFlow

    PDF

    Website Problem

    10.77 MB • Gated asset

    01/10/2026
  • S
    Blogs

    How to Boost Your Brand With Creative Design

    StudiFlow

    PDF

    Website Problem

    10.77 MB • Gated asset

    01/10/2026
  • S
    Blogs

    Why Strategy Matters in Creative Work

    StudiFlow

    PDF

    Marketing Guide 2026

    35.45 MB • Gated asset

    28/09/2026

Demo only. Try selecting items and mapping a PDF: nothing is sent to Webflow.

Example: Try it: pick blog posts, choose a PDF and map it. The PDF Store list above updates too.
2

In the Webflow Designer

Add the gate to your Collection template

  1. 1In the Webflow Designer, open your Collection template page.
  2. 2Add a Code Embed element where the lock should appear and paste the code below.
  3. 3Replace GATE_URL by clicking + Add Field and choosing your write-back field.
HTML Embed
<div data-pdf-gate="GATE_URL"></div>
Code Embed
40 / 50000
Example: Try it: edit the code, pick a field from + Add Field to insert it at the cursor, then Save & Close to see one post’s output.

Option B

A lock card on a static page

Use this for a single landing page. PDF Gate shows its ready-made lock card in the spot you choose.

  1. 1In PDF Store, click Create Gate next to your PDF.
  2. 2Open Gates and copy the code from the Webflow Installation Guide. It already contains your gate ID.
  3. 3In the Webflow Designer, add a Code Embed where the lock should appear and paste the code.
HTML Embed
<div data-pdf-gate="YOUR_GATE_ID"></div>

Prefer not to use an embed? Add a Div Block instead and give it a custom attribute named data-pdf-gate with your gate ID as the value.

Option C

Use your own Webflow form

Keep your own form design. When a visitor submits it, PDF Gate saves the lead and unlocks the PDF.

  1. 1In PDF Store, click Copy Attribute next to your PDF. This copies data-pdf-gate-id="…".
  2. 2In the Webflow Designer, select the Form Block and open its Element settings.
  3. 3Under Custom attributes, click +. Set the name to data-pdf-gate-id and paste the ID (the part inside the quotes) as the value.
Custom attribute
Name:  data-pdf-gate-id
Value: 946b5f41-bf15-4fb5-a4b5-4b5b2f8a21d5
FForm Block Settings
Form settings
Custom attributes
  • Custom attribute
PDF Gate will pick up this form. Publish the site to make it live.
Example: Try it: edit the name or value, add or remove attributes, or paste the whole copied attribute into one box.
PDF Gate finds the email field on its own. To be safe, set your email input's type to Email, or give it a name that contains “email”.

Option D

Attach it from inside the Webflow Designer

The PDF Gate Designer App lets you do all of this without leaving Webflow.

  1. 1In the Webflow Designer, open the Apps panel and launch PDF Gate.
  2. 2Sign in with your email or Google.
  3. 3Upload a PDF from the panel, or pick one you already uploaded.
  4. 4Select a form on the canvas and attach a gate to it, or map the PDF to a CMS item.

You can try the app on the home page.

Step 05

Configure the Gate

Every gate has four switches. Change them any time; they apply without republishing your Webflow site.

  1. 1Open Gates from the sidebar.
  2. 2Find your PDF under Active Document Gates and click Configure.
  3. 3Turn on the options you need.

Configure LockLive Gate

Marketing Guide 2026 • StudiFlow

Gate ID7c1d9e42-5b3a-4f8e-a2d6-91e0b4c7f358
Gate URLhttps://main.d17ok84u30k51d.amplifyapp.com/gate/7c1d9e42-5b3a-4f8e-a2d6-91e0b4c7f358

Security Policies & Lock Behavior

Enable Gate OverlayOpen Access

When disabled, visitors can access the PDF directly without any lock overlay.

Require Email CaptureLead Magnet

Lock the document behind an email lead form.

Allow Inline PreviewOpen Access

Allow visitors to preview the document inside the browser widget.

Allow File DownloadLead Magnet

Allow visitors to download the raw PDF file after unlock.

Example: Try it: flip the switches, then Save Configuration or Reset Changes. You can also copy the gate ID and URL.
SwitchWhat it does
Enable Gate OverlayTurns the gate on or off. When off, the lock isn't shown.
Require Email CaptureVisitors must enter an email before they can open the PDF.
Allow Inline PreviewOpens the PDF in the secure in-browser viewer.
Allow File DownloadLets visitors download the file.

Step 06

Publish and Test

Publish your Webflow site, then check the gate the way a visitor would.

  1. 1In Webflow, click Publish. The gate only works on the published site, not in the Designer canvas.
  2. 2Open the published page. You should see the lock card, or your own form.
  3. 3Enter a real email address and submit.
  4. 4The PDF unlocks on the page, and a copy arrives in your inbox.

Get the PDF

Enter your email to unlock this resource.

We'll never share your email.

Example: What a visitor sees. Try typing an email to unlock the sample PDF.
PG

PDF Gate

to jane@acme.com

Just now

Your copy of SaaS Benchmark

Example: The email each lead receives, with the PDF attached and a link to read it online.
Disposable addresses and domains that can't receive mail are rejected, and each visitor can try 5 times every 10 minutes. Use a real inbox when testing.

Step 07Optional

Send Emails From Your Domain

By default, PDF emails are sent from PDF Gate's own address. Connect your own Resend account to send them from your domain with your own wording.

  1. 1Create a free account at resend.com, verify your domain and create an API key.
  2. 2In PDF Gate, open Setting and choose Email & Template.
  3. 3Paste your API key and enter the email and name to send from.
  4. 4Edit the subject, heading, message and button text. Click a variable such as {{pdf_name}} to insert it; it is replaced when the email is sent.
  5. 5Save. Use the preview to check how the email looks.

Email & Template

Connect your Resend account and customize the PDF delivery emails sent to your leads.

API Credentials & Sender Details

Your domain or default testing email.

Display name shown in lead inboxes.

Available Variables (Click to insert into message):Auto-replaced on send
Example: Try it: edit the sender and wording, click a variable to insert it, then Show Live Preview and save.

Step 08

Track Leads and Analytics

Every unlock becomes a lead. See who signed up and which PDFs perform best.

  1. 1Open Lead to see each email, the site, the opt-in date and the documents that lead unlocked.
  2. 2Search by email, PDF or site, or filter by site and PDF.
  3. 3Click Export CSV to download your leads (Lite plan and above).

Leads Store

View captured emails, monitor document access history, and export logs.

Email addressUnlocked documents
jane.cooper@acme.comMarketing Guide 2026.pdfMarketing Guide 2026+1 more document
jane.cooper@acme.comTarget PDF: Marketing Guide 2026First View: 01/10/2026, 09:12:04 • Downloaded: Yes
jane.cooper@acme.comTarget PDF: Website ProblemFirst View: 02/10/2026, 14:40:51 • Downloaded: No

Demo only. Sample leads, nothing from a real account.

Example: Try it: search, filter by site or PDF, click a lead to see each document they unlocked, and export the CSV.

Open Dashboard for views, leads, downloads and conversion rate by day, week, month or year, plus a ranking of your best PDFs.

Overview Dashboard

Real-time metrics and lead counts across all gated PDF files in your workspace.

Views

35,700

+118.75%

Impressions

Leads

6,720

+134.33%

Emails captured

Downloads

4,166

+134.35%

Doc downloads

Conv.

18.8%

+42.80%

Capture rate

Traffic & Conversion

Visitor impressions vs. opt-in leads.

7.5K5K2.5K0JanFebMarAprMayJunJul

Document Rankings

Top performing gated PDF downloads.

PDF

SaaS Benchmark 2026

12138 views • 2688 leads

22.1%

Conv. Rate

PDF

Brand Guidelines

7854 views • 1411 leads

18%

Conv. Rate

Example: Try it: switch between daily, weekly, monthly and yearly, and hover the chart for each day’s numbers.

Step 09

Troubleshooting

The lock doesn't appear on my page.

Make sure you published the site; the gate doesn't run in the Designer canvas. Then check Setting → Webflow shows PDF Gate script installed for that site, and that Enable Gate Overlay is on for the gate.

My CMS pages all show the same PDF, or none.

Check that every item is mapped in CMS and that the embed uses the write-back field through + Add Field, not typed text.

A visitor's email was rejected.

Disposable addresses and domains that can't receive mail are blocked on purpose. Ask them to use a work or personal email.

The PDF email didn't arrive.

Check the spam folder. If you use your own sender, make sure your domain is verified in Resend and the from email uses that domain.

Still stuck? Our team will help you get set up.

info@victorflow.com