Configuration
Configuration
1. Get your site key
In your Service Area WIZARD dashboard, go to Sites → Add site. Enter your website's domain and choose what should happen to out-of-area enquiries (block, warn, tag or redirect).
Click Install on your site and choose the WordPress tab. Your site key starts with pk_. Click it to copy. Pasting the whole code into the plugin works too, because the plugin picks out the key.
2. Paste it into WordPress
Go to Settings → Service Area WIZARD, paste your key and click Save Changes.
That's it. Every form on your site with a postcode or zip code field is now checked.
3. Your form emails
For Contact Form 7, WPForms, Gravity Forms and Elementor forms, the plugin adds the result to every email the form sends, including the auto-reply to the customer:
— Service area check: SE28 8NZ is outside the service area (23.4 km away)
There's nothing to set up. To place the result yourself, untick Form emails on the settings page and use the merge tags in your email templates.
Other form plugins (Fluent Forms, Formidable, Ninja Forms and so on) get the result added to the message box instead. See Showing the result in your emails.
Changing settings
Messages, the out-of-area behaviour and which service area to use are all managed on the Sites page in your dashboard, so there's nothing else to configure in WordPress. See Settings.
Upgrading from the old plugin
The old plugin (serviceareawizard-contact-v2) used its own contact form and an API token. To switch:
- Deactivate and delete the old Service Area WIZARD Contact plugin.
- Install the new plugin and add your site key as described above.
- Replace the
[saw_contact_form]shortcode on your pages with your normal contact form. Contact Form 7, WPForms and the like are all fine.
While you're switching, the new plugin hides any leftover [saw_contact_form] shortcodes from visitors and shows a reminder to logged-in admins.