Step-by-step guide for connecting lead capture forms from your WordPress website to your Red Belt Gym account.
By Red Belt Team | Last Update: June 20, 2026
Step 1: Create the Form
You can either use a plugin or create a lead form on your website using custom code.
See the sample lead form code as an example. If using the sample code as a starter place, you’ll want to replace School Name with the name of your academy. Ensure you update the URLs for the privacy policy and terms of service pages to match your website.
The #hexcode is dependent on your site color scheme. You’ll need to style the form using CSS.
Sample lead form:
<form>
<input type="text" name="firstName" placeholder="First Name *" required>
<input type="text" name="lastName" placeholder="Last Name *" required>
<input type="email" name="email" placeholder="Email Address*" required>
<input type="tel" name="phone" placeholder="Phone *" required>
<input type="checkbox" name="checkbox">
<label>By checking, I agree to receive transactional and informational SMS and emails communications regarding account notifications, customer care, etc. from <strong>School Name</strong>. Msg frequency varies. Msg & data rates may apply. Reply STOP to opt out. </label>
<input type="checkbox" name="checkbox">
<label>By checking, I agree to receive promotions and marketing SMS and emails communications from <strong>School Name</strong>. Msg frequency varies. Msg & data rates may apply. Reply STOP to opt out. </label>
<input type="checkbox" name="checkbox">
<label>By checking, I accept the <a href="https://domain.com/privacy-policy" style="color: #hexcode;">Privacy Policy</a> | <a href="https://domain.com/terms-of-use" style="color: #hexcode">Terms of Use</a> </label>
<button type="submit" name="submit">GET MORE INFO</button>
</form>Step 2: Install AIO-Red Belt Software Plugin
To integrate website form submissions with Red Belt Gym you need to install our AIO - Red Belt Software which will be provided by a Developer or Support Team member:
- Log in to your WordPress admin dashboard.
- Go to Plugins → Add New.
- Click the Upload Plugin button at the top.
- Click Choose File and select your plugin .zip file.
- Click Install Now.
- After installation, click Activate Plugin.
Once the plugin installation process is completed, then follow the steps below to connect Red Belt Gym and reCAPTCHA Enterprise to save lead data and prevent spam.
Step 3: Configure Plugin
Integrate your site with Red Belt Gym:
Once our AIO - Red Belt Software plugin has been installed and activated a stand-alone menu appears in the WP Admin left side menu. Use this menu to integrate with your Red Belt Gym account.
1 required field:
- Webhook URL - Red Belt Gym webhook, which you can create by using an automation with the trigger of webhook.
- From left side menu, click AIO - RBS → Settings.
- Click on RBG Integration tab.
- Check the Enable webhook integration box to enable RBG integration. If it is disabled, leads will not be sent to your Red Belt Gym account and will instead be stored in the website’s local WordPress database. We recommend enabling the feature to route leads properly into your Red Belt Gym account.
- Paste Webhook URL into the Webhook/API box. You will obtain the Webhook URL in Step 3 #5.
- And click on Save changes.
reCAPTCHA Integration:
An optional security feature From Google that protects websites from spam, fraud, and abuse. This is a third-party service offered by Google. See their documentation on setting up reCAPTCHA.
3 required field:
- Site Key - Google reCAPTCHA Enterprise create site key.
- API key - Google Cloud APIs and services credential key.
- Project ID - Google Cloud project ID where the reCAPTCHA key created.
- From left side menu, click AIO - RBS → Settings.
- Click on reCAPTCHA tab.
- Check the Turn on the reCAPTCHA security box to enable RBG integration. Using this feature requires a site key, API key, and project ID. We recommend using Google reCaptcha to obtain these.
- Enter the required reCAPTCHA details to the respective field: Project ID, API Key, Site ID.
- And click on Save changes.
Secret login with WordPress:
An optional security feature that protects the backend of WordPress from spam, fraud, and brute force login attempts.
1 required field:
- Secret Slug - custom URL ender that changes where users go to log in. Example: domain/wp-admin
- From left side menu, click AIO - RBS → Settings.
- Click on Secret Login tab.
- Check the Enable Custom Login page box to enable RBG integration. If it is disabled, use the default domain/wp-admin url to log into WordPress.
- Enter your custom slug into the Secret Login URL Slug box. Your slug can be anything you want. Write down your slug and keep it in a secure location as we cannot recover or reset it for you.
- And click on Save changes.
Step 4: Create the Automation
To get lead data or any data from your site you need to create an automation with a Webhook trigger.
- On your computer, go to your Account
- Click Automation in the left-side menu.
- Click on the Create button.
- Select Webhook from the trigger.
- Click the Webhook gear icon to open webhook settings to obtain the webhook URL.
- And now call a Post request to this Webhook URL, with the required data (firstName, lastName, email, and phone).
- Click Save.
Do not delete the the Webhook and ensure you use the RBG WP Plugin or use your custom script to send lead data by POST request.
Common Questions & Troubleshooting
Why is my website form submitting without the required fields?
Your website form is likely submitting without required fields because the client-side (browser) validation is being bypassed or overridden, or because validation is only being performed on the frontend, which can be skipped by bots or older browsers.
How to Fix It
- Use type="submit": Ensure your button is a submit type.
- Add Backend Validation: Check that mandatory fields are not empty in your PHP/Node/backend script.
- Check JavaScript submit(): If using JS, implement checkValidity() before calling .submit().
- Use novalidate: If you are building custom validation, add novalidate to the < form > tag to prevent browser-native tooltips from showing while you use your own.