Before & After is a lead capture forms plugin for WordPress. It allows a webmaster to require visitors to complete a goal, such as filling out a contact form, before viewing the contents of a page or downloading a file.
The plugin automatically tracks which visitors have completed your goals, and shows the appropriate content to each visitor. For example, it can show a form to visitors until they have completed the form, at which point they will be given a link to download a special file or whitepaper.
Before & After can be used with any plugin that uses shortcodes, but works especially well with Contact Form 7 and Gravity Forms.
Protect Pages with Goals
With Before & After, you can require your visitors to complete one of your Goals before viewing a given page. This functionality is especially useful when you want to ensure visitors read a Terms Of Service, Copyright Notice, or other important message before viewing a given page or bit of content.
Once you’ve installed Before & After, simply edit the Page or Post in WordPress, and then use the Before & After meta box to configure Page Protection.
Create Lead Capture Forms with Contact Form 7, Gravity Forms, or Your Favorite Forms Plugin!
Before & After Pro integrates directly with Gravity Forms and Contact Form 7. Any forms you create in Contact Form 7 (CF7) or Gravity Forms will be available in Before & After, to create lead capture forms!
Not using Contact Form 7 or Gravity Forms? That’s OK – Before & After can create Lead Capture forms with any forms plugin.
Check out our documentation instructions for more information.
One Plugin, Tons of Uses
Using this simple plugin, any number of scenarios are possible:
Lead Capture Forms: Ask a visitor to signup for your newsletter in return for a free download, special report, or whitepaper.
Protected Downloads: Ask visitors to complete a form or other Goal before downloading your file. If they share the link, the recipient will have to complete the form as well.
Protected Content: Use Before & After to hide content from users until they have completed your form, or another goal. Hidden content will only be visible to those who have already completed your Goal.
Terms Of Service Pages: Make sure a visitor reads the terms of service first. Once they have read the TOS once, they may view any other page.
Age Gates: Make the visitor confirm their age before browsing a given page.
Copyright Notices: Inform visitors of the copyright of a particular piece of content before allowing them to view it.
Instructions In Series: Make sure that a visitor reads a series of instructions in sequence. If they land on a later page, ask them to start over.
Guided Product Tours: Show your users the screens of your product in a sequenced progression.
HubSpot Tracking: Capture lead data and send it to HubSpot (requires Pro).
There are many other possibilities. By offering WordPress webmasters a simple way to gate content we hope to provide a useful tool for many scenarios.
Upgrade to Pro for For Advanced Features and Support
The GoldPlugins team does not provide direct support for the Before & After plugin on the WordPress.org forums. One on one email support is available to people who have purchased Before & After Pro only. Before & After Pro also includes conversion tracking, email notifications, submitting data to HubSpot, and other advanced features. You should upgrade today!
This plugin provides 2 blocks.
- Before And After: Lead Capture Forms For Wordpress
- Before And After: Lead Capture Forms For Wordpress
This section describes how to install the plugin and get it working.
- Upload the contents of
- Activate the Before And After Lead Capture Plugin through the ‘Plugins’ menu in WordPress
- Read the Instructions.
Introduction: How Does This Plugin Work?
Before & After is a lead capture plugin that lets you offer your users something in exchange for their information. It can also be when you need to make sure your users read your Terms of Service, verify their age before entering your website, or otherwise need to see one thing, and then another.
To achieve this, Before & After uses what we call goals. A goal is simply an action, or a „gate“, that your users need to pass before they will be allowed to see your protected content.
A user completes a Goal by simply encountering the [complete_goal] shortcode. You will have placed it on your Thank You page, on the terms page, or whatever other page you need the user to view to signify that they have completed the goal.
How To Setup A New Goal
To create a new Goal, simply follow these steps:
1. Under the Before & After menu, select Goals. This will bring up a page which lists all of your goals.
2. Click the „Add A New Goal“ button
3. Give your Goal a title, and then fill out the Before & After sections. When you are done, click the Publish button.
4. Your goal has been created! Copy the [goal] shortcode from the Edit Goal screen you are currently viewing, and go paste it onto the on which page you’d like the goal to appear.
How To Have A Visitor Complete A Goal
Simply add a shortcode like this to the final step of your goal funnel. For example, you could place it on the „Thank You“ page from a contact form.
(Replace the number 82 with the id of your goal. Tip: you can find the shortcode for each goal on the Goals page.)
Add this shortcode to any page or post to display your goal there.
Complete Goal Shortcode
Add this shortcode to the page which signifies that a visitor has completed the goal. For example, you could put this on a „Thank You For Contacting Us“ page.
Integrating with Contact Form 7
If you have the Contact Form 7 plugin installed, you’ll be able to select any Contact Form 7 form as the Before option for your Goals. Simply Add a new Goal or edit an existing one, and you’ll see your Contact Form 7 forms listed.
Important: be sure to redirect your Contact Form 7 form to a thank you page, and to add the complete goal shortcode to the Thank You page. Refer to these instructions if you are unsure how to do this.
Integrating with Gravity Forms
If you have the Gravity Forms plugin installed, you’ll be able to select any Gravity Form you have created as the Before option for your Goals. Simply Add a new Goal or edit an existing one, and you’ll see your Gravity Forms forms listed.
Important: be sure to redirect your Gravity Form to a thank you page, and to add the complete goal shortcode to the Thank You page. Refer to these instructions if you are unsure how to do this.
How to Submit My Data to HubSpot
If you have Before & After Pro installed, and you have an active HubSpot account, you can have submission data from your Goals submitted through to HubSpot. To do so, first login to your HubSpot account and create a new Form to receive our submissions. Next, simply visit our Settings page and look for HubSpot settings. Once here, you’ll want to add your HUB ID, the GUID of the Form (on HubSpot) that you want to send data to, and (optionally) input the Titles of any forms that you don’t want to send to HubSpot. This feature will only work on Contact Form 7 or Gravity Forms that are associated with a Goal.
Before & After will attempt to map your fields to HubSpot — to adjust the field mapping array use the
Before & After will block some default Gravity Forms fields from being sent to HubSpot — to adjust the field mapping array used for blocking, use the
How Do I Get Started?
After installing the plugin, visit the Goals -> Add New menu to create your first Goal.
How can I see the Before stage of my Goal again, now that I’ve completed it?
Visit the Before & After -> Settings menu, and then choose the Reset Goals tab. Then click the Reset Goals button. You will now see the Before stage again for all of your goals.
Where Can I Find The Settings Page?
Look for the Before & After menu in WordPress, and then choose the Settings submenu.
My goals work when I am logged in, but not when I am logged out. What could be happening?
You are most likely experiencing a caching issue. Try excluding the URL with your Goal from your caching plugin’s settings, or temporarily disable your caching plugin, and see if this resolves the issue.
WP Engine Users: You’ll want to contact support, and ask them to exclude your pages from the cache.
Is there a Pro version available?
Yes! Before and After is an entirely lead capture free plugin, but has a Pro plugin which upgrades it with advanced features such as conversion tracking and notifications. It also includes email-based technical support.
Þátttakendur & höfundar
“Before And After: Lead Capture Forms For WordPress” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.Höfundar
Interested in development?
- Page Protection can now show Goals inline on the page, instead of having to redirect to a new page.
- Fixes bug with broken link
- Compatibility with WordPress 5.8
- Fixes bug with duplicated forms having same download key.
- Adds ‘Reset Download Keys’ button to Goals. Compatibility with WordPress 5.7.2.
- Compatibility with WordPress 5.7.2
- Fixes bug in Page Protection meta box.
- Compatibility with WordPress 5.7.
- Minor UI updates.
- Bug fix, issues when adding new fields to a form built from a template.
- Adds form & goal templates – now Before & After make Lead Gen forms right out of the box.
- Adds example Goals & Forms
- Adds new field types to form builder (Rating, Heading, HTML)
- And allows creating forms from a template, and marking forms as templates
- Fixes field ordering in Available Fields box
- Adds Duplicate action for Goals & Forms
- Adds Admin Bar menu to allow admins to reset goals from Front End, as well as quick access to Before & After menus
- Compatibility with WP 5.3
- Minor updates.
- Compatibility with WP 5.2.1
- Minor updates.
- Compatibility with WP 5.1.1
- Minor fixes.
- Minor fixes.
- Adds Form Builder! Create your own forms inside Before & After.
- Minor fixes
- Simplified interface for the Add and Edit Goal Screen with improved instructions.
- Minor fixes
- Minor update
- Adds Gutenberg blocks for Goal and Complete Goal.
- Compatibility update for WP 5.0
- Prevent Page Protection from redirecting users on anything other than single Pages or Posts
- Compatibility with Contact Form 7 version 5.0 (fixes issue with pages not reloading automatically on form submit)
- Compatibility with WordPress version 4.9.4
- Improves persistence for goal completion across browser sessions.
- Automatic file type detection for protected downloads.
- MAJOR UPGRADE! Please backup site before proceeding.
- Admin UI update.
- Under the hood improvements.
- Update Protected Download file delivery to allow redirects.