Global Documentation
Overview Workspace Sign In
Docs Leads & Sales Pipeline WordPress Lead Capture Plugin Integration
Available on: Growth, Enterprise

WordPress Lead Capture Plugin Integration

10 min read 53 views Updated Nov 27, 2026
✨
Have questions about this article?

Ask WIE Brain to explain step-by-step or walk you through configuration.

1. Overview & Business Purpose

The ITSTHS WordPress Lead Capture Plugin serves as the official enterprise bridge connecting external WordPress marketing sites, WooCommerce stores, and Elementor landing pages directly to your ITSTHS Workspace CRM sales pipeline.

By capturing incoming web inquiries via lightweight AJAX forms and transmitting lead payloads directly over secure REST API endpoints, commercial teams eliminate manual data entry, prevent lead leakage, and accelerate initial response times to prospective clients.


2. What This Feature Does

  • One-Click WordPress Integration: Native .zip WordPress plugin package supporting WordPress 5.0+, Elementor, and Divi Page Builders.
  • Shortcode Form Embedding: Insert dynamic lead capture forms anywhere on your WordPress site using standard shortcodes (e.g. [itsths_lead_form id="12"]).
  • AJAX Real-Time Synchronization: Inquiries process instantly without page refreshes, returning customizable success alerts or redirection to custom thank-you URLs.
  • API Key Authentication & Token Pairing: AES-256 encrypted bearer token authentication protects your workspace API endpoints against unauthorized injections.
  • Automated Pipeline Injection: Incoming submissions automatically assign pre-configured Lead Statuses (e.g., New Inquiries), Lead Sources (e.g., WordPress Site), and default Sales Owners.
  • Anti-Spam & Rate-Limiting Protection: Built-in rate limiting and honeypot field verification block bot submissions automatically.

3. Business Use Cases

  1. Corporate Website Contact Pages: Capture general business inquiries and route them to your sales qualification team.
  2. Landing Page Lead Generation: Pair dedicated marketing landing pages with custom shortcodes for campaign-specific attribution.
  3. E-Commerce Prospect Capture: Capture pre-purchase quotes and wholesale consultation requests on WooCommerce product pages.

4. Before You Begin (Prerequisites)

  • Active ITSTHS Workspace CRM: Operational workspace instance with REST API access enabled.
  • WordPress Website: WordPress core version 5.0 or higher with administrator access to install third-party plugins.
  • Workspace API Endpoint Credentials: Obtain your API Endpoint URL and API Secret Key from Workspace → Leads → Embed Forms → WordPress Plugin.

5. Required Permissions

Downloading and configuring the WordPress Lead Capture integration requires the following permissions:

  • ITSTHS Workspace: Admin user or staff role with permission flag lead set to All. Creating webforms requires can_edit_leads() permission.
  • WordPress Site: WordPress Administrator role permissions to upload and activate plugins.

6. Plan Availability

Available on: Growth and Enterprise plans.

7. Where to Find It

To access the WordPress Plugin Download & Configuration Center in ITSTHS Workspace:

Workspace → Leads → Embed Forms → WordPress Integration


8. Complete Shortcode & Configuration Dictionary Table

[SCREENSHOT: wordpress-plugin-settings.png]

Setting / Shortcode Attribute Type Required? Allowed Values Description & Behavior
Endpoint URL URL Text Required Valid HTTPS endpoint URL The target API URL of your CRM (e.g. https://crm.yourdomain.com/index.php/api/leads).
API Key Secret Token Required 64-character hex string Bearer authorization token generated by ITSTHS Workspace.
[itsths_lead_form id="X"] Shortcode Required Form ID integer Renders the specific lead form builder layout on WordPress pages.
redirect_url Attribute Optional Valid web URL Redirects visitor to custom landing page upon successful lead submission.

9. Step-by-Step Procedure: Installing & Pairing WordPress Plugin

Step 1 — Download Plugin Package & Obtain API Key

  1. Log into ITSTHS Workspace as an Administrator.
  2. Navigate to Workspace → Leads → Embed Forms → WordPress Integration.
  3. Click Download Plugin Package (.zip). Save the file to your local computer.
  4. Copy your displayed API Endpoint URL and API Secret Key.

Step 2 — Upload & Activate Plugin in WordPress

  1. Log into your WordPress WP-Admin dashboard.
  2. Navigate to Plugins → Add New → Upload Plugin.
  3. Click Choose File, select the downloaded itsths-lead-capture.zip package, and click Install Now.
  4. Click Activate Plugin.

Step 3 — Authenticate & Pair Plugin Credentials

  1. In WordPress WP-Admin, click the newly added menu item: ITSTHS Lead Sync → Settings.
  2. Paste your API Endpoint URL into the Endpoint field.
  3. Paste your API Secret Key into the Secret Key field.
  4. Click Verify Connection & Save. The status indicator will turn green: Connected • Active Sync.

Step 4 — Embed Form Shortcode on WordPress Page

  1. Navigate to WordPress WP-Admin → Pages → Contact Us (or open Elementor Page Builder).
  2. Add a Shortcode Block and insert: [itsths_lead_form id="1"].
  3. Click Publish / Update. Test the form by submitting a test lead inquiry.

10. Synchronization & Webhook Architecture

When a visitor submits the WordPress form, the following payload pipeline is executed:

  1. Client-Side Validation: JavaScript validates input formats (email regex, required fields) and verifies honeypot spam traps.
  2. Encrypted API Request: WordPress dispatches an HTTP POST payload over TLS 1.3 to your workspace endpoint with header Authorization: Bearer [API_KEY].
  3. CRM Lead Record Creation: ITSTHS Workspace parses the payload, validates custom fields, creates a new entry in `leads`, assigns status/owner, and emits an activity notification.

11. Validation Rules & Error Messages

  • API Key Invalid or Revoked — Occurs if the API secret key in WordPress does not match the active secret token in ITSTHS Workspace. Re-copy the API key from your workspace settings.
  • CORS / SSL Protocol Mismatch — Occurs if the API request is made over non-secure http:// while workspace enforces https://. Ensure SSL certificates are active on both sites.
  • Rate Limit Exceeded — Occurs if more than 5 form submissions originate from the same IP address within 60 seconds.

12. Edge Cases & Troubleshooting

  • API Key Revocation: If an API secret key is regenerated in ITSTHS Workspace, all connected WordPress sites must be updated with the new key to maintain sync.
  • Theme CSS Overrides: If the form inputs inherit unwanted WordPress theme styling, add class attribute [itsths_lead_form style="clean"] to apply standalone form styling.

13. Best Practices

  1. Always test newly embedded forms by submitting a test entry and verifying its immediate appearance in Workspace → Leads.
  2. Enable reCAPTCHA on high-traffic WordPress contact pages to block automated spam bots.

14. Frequently Asked Questions (FAQs)

Q: Why does accessing /docs/leads/wordpress-lead-capture-plugin return a 404 error?
A: A 404 error indicates that the article has not been populated into your workspace database yet. Running the safe seeder from Superadmin → Seed Verified Docs creates the article category and populates the guide automatically.

Q: Can I use the WordPress plugin on multiple corporate websites?
A: Yes! You can install the plugin package across unlimited WordPress sites using the same API credentials. Submissions from each site can be differentiated by assigning unique Lead Sources (e.g. Blog Site, Store Site, Landing Page).


15. Related Features & Documentation Manuals

← Previous Guide Web-to-Lead Embed Forms & Lead Capture