GetCost WP Plugin

Description

The easiest way to add a lead form to your WordPress website and receive the submissions directly in GetCost Leads.

You can get your pre-generated shortcode from the Settings | Leads screen of the application.

Shortcode example (the business value is your activation token from Settings | Leads):

[getcost template=”123″ business=”YOUR-ACTIVATION-TOKEN” height=”660px”]

Installation

  1. Upload the plugin to your /wp-content/plugins/ directory, or install it from the WordPress plugin directory.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. In GetCost, open Settings | Leads and click “Activate lead plugin” to get your activation token.
  4. Add the [getcost] shortcode to any page or post, using the template id and activation token shown on that screen.

FAQ

What do I need to receive my leads?

Create an account at https://www.getcost.com and fill in your business information.

Can I receive an email when I receive a lead?

Yes, an email with the lead’s information will be sent to your GetCost’s account email.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“GetCost WP Plugin” is open source software. The following people have contributed to this plugin.

Contributors

Translate “GetCost WP Plugin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0.0

  • SECURITY (breaking): the “business” attribute now takes a per-business activation token (a GUID) instead of the numeric business id. The server resolves the business by this unguessable token, so bots can no longer harvest leads by POSTing incremental business ids. Activate the lead plugin from Settings | Leads to get your token, then update your shortcode.

1.3.2

  • Allow the form’s Address field to use the browser location (allow=”geolocation” on the iframe).
  • Add a getcost_embed_base filter so the embed URL can be overridden for local/staging installs.
  • Make the shortcode’s messages translatable (text domain “getcost”).
  • Rename the “form” attribute to “template” (the embed targets a template); “form” still works as a backward-compatible alias.

1.3.1

  • Fix the embedded form height: the size is now applied to the iframe itself (previously only the wrapper was sized, so the form was stuck at the 150px iframe default).
  • Make the embed responsive (max-width:100%) so it no longer overflows on small screens.
  • Harden the shortcode: form/business are cast with absint(), the URL is escaped with esc_url(), and width/height are validated as CSS lengths.

1.0

  • Initial version.