MailGuardMailGuard Installation
DocsMailGuardMailGuard Installation

MailGuard Installation

MailGuardLast updated July 2026

Get your Widget ID

  1. Go to MailGuard → Manage Widgets in your Scoor dashboard
  2. Click Create Widget
  3. Name it (e.g. "Main funnel") and configure your validation rules
  4. Copy your Widget ID — it looks like wgt_abc123xyz

Embed the script

Paste this single script tag before the closing </body> tag on your page. Replace YOUR_WIDGET_ID with your actual Widget ID:

HTML — paste before </body>
<script
  src="https://scoor.io/widget/mailguard.js"
  data-widget-id="YOUR_WIDGET_ID"
  async
></script>
💡
Zero config required. MailGuard auto-detects all <input type="email"> elements on the page. You don't need to modify any form code.

Platform guides

Webflow — Project Settings → Custom Code → Footer Code. Paste the script there. Publish your site after saving.

ClickFunnels 2.0 — In your funnel step editor → Settings → Tracking Code → Body Tracking Code (bottom).

GoHighLevel — Funnel/website editor → Settings → Custom Scripts → Body Script (bottom).

WordPress — Use "Insert Headers and Footers" plugin and paste into the footer section. Or add directly to your theme's footer.php.

Custom HTML — Paste directly before </body>. No dependencies required.

Verify installation

After installing, open your form and type a disposable email address like test@mailinator.com. You should see a red inline error appear and the submit button should be disabled.

You can also check MailGuard → Widgets → Activity in Scoor to see real-time validation events with timestamps and results.

ℹ️
Not seeing the widget? Check your browser console for errors. The most common cause is an incorrect Widget ID or a Content Security Policy (CSP) blocking the script. Add https://scoor.io to your CSP script-src directive.

Was this page helpful?