Design Your Sales Funnel Steps

  1. Home
  2. Docs
  3. WPFunnels Shortcodes
  4. Shortcode For WPFunnels Optin Form

Shortcode For WPFunnels Optin Form

To collect leads you can use the native Optin Form on WPFunnels Landing.

Here is the Optin Form shortcode.

[wpf_optin_form]

**When you add parameters to this shortcode, they should be separated by a space and their value should be enclosed by double quotations.

Example

[wpf_optin_form email_label="Take my email" first_name="true" first_name_label="Name" last_name="false"]

Parameters for Optin Form

  • email_label=””
    Set a custom field label for Email field
  • first_name=”true”
    View First name field
  • first_name=”false”
    Hide First name field
  • first_name_label=””
    Set a custom field label for First Name field
  • last_name=”true”
    View Last name field
  • last_name=”false”
    Hide Last name field
  • last_name_label=””
    Set a custom field label for Last Name field
  • phone=”true”
    View Phone field
  • phone=”false”
    Hide Phone field
  • phone_label=””
    Set a custom field label for Phone field
  • website_url=”true”
    View Website URL field
  • website_url=”false”
    Hide Website URL field
  • website_url_label=””
    Set a custom field label for Website URL field
  • message=”true”
    View Text field
  • message=”false”
    Hide Text field
  • message_label=””
    Set a custom field label for Message field
  • acceptance_checkbox=”true”
    View Acceptance box
  • acceptance_checkbox=”false”
    Hide Acceptance box
  • acceptance_text=””
    If acceptance_checkbox=”true” then use acceptance text
  • post_action=”next_step”
    After Optin Form Submission, go to funnel Next Step
  • post_action=”redirect_to”
    After Optin Form Submission, Redirect to an external link (redirect_url)
  • redirect_url=””
    If post_action=”redirect_to”, set a URL to redirect
  • post_action=”notification”
    After Optin Form Submission, a notification text will be shown (notification_text)
  • notification_text=””
    If post_action =”redirect_to”, set a notification text to show
  • data_to_checkout=”true”
    Auto-fill checkout fields from Optin when post_action=”next_step”
  • data_to_checkout=”false”
    Do not auto-fill checkout fields from Optin when post_action=”next_step”
  • admin_email_subject=””
    Set a subject line for the admin email
  • register_as_subscriber=”true”
    Create a new subscriber under the email submitted (register as a subscriber)
  • register_as_subscriber=”false”
    Do not create a new subscriber under the email submitted (don’t register as a subscriber)
  • subscription_permission=”true”
    Show Permission Checkbox when register_as_subscriber=”true”
  • subscription_permission=”false”
    No Permission Checkbox will be shown
  • subscription_permission_text =””
    If subscription_permission=”true” then set a text
  • btn_class=””
    Define the class type to use custom design
Was this article helpful to you? Yes No

How can we help?