Home
/
Email Marketing
/
Lead Generation Plugin
/
SiteGround Email Marketing Integration with Contact Form 7

SiteGround Email Marketing Integration with Contact Form 7

SiteGround Email Marketing is the perfect tool to create effective marketing campaigns. On the other hand, Contact Form 7 is one of the most popular WordPress contact form plugins, allowing you to stay in touch with your visitors. So why not combine both to make your marketing campaigns reach a larger audience?

Read this article to learn how to integrate SiteGround Email Marketing into your contact forms built with Contact Form 7.

How to activate the integration?

The integration will become active automatically when all the criteria below are met:

You can verify that the integration is active for your site by navigating to Email Marketing > Settings > Integrations. The Status column for Contact Form 7 must display Active.

"Active" status for the Email Marketing integration with Contact Form 7

How to make Contact Form 7 add subscribers to SiteGround Email Marketing?

With both plugins enabled, your contact forms are now ready to start gathering subscribers for your marketing campaigns. You can enable this feature on any existing form built with Contact Form 7 by following the instructions below:

  1. Open your WordPress dashboard, and go to Contact > Contact Forms.
    Contact forms section in Contact Form 7
  2. Click on the existing form that you want to integrate with SiteGround Email Marketing.
    How to edit an existing form in Contact Form 7
  3. On the Edit Contact Form page, choose the SG Email Marketing tab.
    SG Email Marketing tab in Contact Form 7
  4. Tick the box for Enable SG Email Marketing to start collecting contacts from this form.
    How to enable SG Email Marketing in Contact Form 7
  5. By ticking the box for Manage Consent, you will add a checkbox to your contact form that allows visitors to opt into your marketing campaigns. Adding this box will make the marketing subscription optional.
    How to add a consent checkbox for Email Marketing subscription

    IMPORTANT! We recommend checking the box for Manage Consent if your contact form doesn’t clearly indicate that it collects contact details for marketing purposes. Otherwise, when submitted, the form will subscribe visitors to your campaigns without their consent. This is never recommended, as some visitors may report you to regulatory authorities.

  6. You can also include an explanation of the tickbox’s purpose. Write the text in the field under Consent checkbox text.
    Consent checkbox text for Email Marketing subscription
  7. The Groups drop-down menu shows groups from your Contacts list in Email Marketing. Select which ones will be assigned to contacts collected from the contact form.
    How to select groups for new subscriptions from Contact Form 7
  8. Finally, confirm your settings with either Save button on the page.
    How to save the Email Marketing integration settings in Contact Form 7

Which fields will be submitted to the SiteGround Email Marketing?

A default Contact Form 7 usually contains the following fields: Name, Email, Subject, and Message.

Default fields in Contact Form 7

When editing such a form through Contact Form 7 interface, you see the following default code.

Default fields in the backend of Contact Form 7

If you use a default form to add subscribers to your SiteGround Email Marketing, only the information provided in the fields with Name and Email identifiers will be used.

Imported contact from Contact Form 7 into SiteGround Email Marketing

By default, Contact Form 7 records the visitor’s name in a single field. On the other hand, SiteGround Email Marketing splits the name into First Name and Last Name. If there is more than one name provided in this field, SiteGround Email Marketing will try to record them separately as first and last names.

You can also modify the contact fоrm fields to have separate fields for first and last names to better match the name fields used in SiteGround Email Marketing. To do this, follow the steps below:

  1. Start by deleting the first label.
    <label> Your name 
        [text* your-name autocomplete:name] </label>
  2. Add a new label for the First Name field. For instance:
    <label> Your First name
        [text* fname autocomplete:fname] </label>

    Your First name” is the field name your site visitors will see. You can type any text you want here.

    fname” is an identifier instructing Email Marketing that the value in this field is the visitor’s first name. To make sure this field will be recorded as a first name in SiteGround Еmail Мarketing, do not change the content inside the parentheses.

  3. Add a label for the Last Name field. For example:
    <label> Your Last name
        [text* lname autocomplete:lname] </label>

    Your Last name” is the field name your site visitors will see. You can type any text you want here.
    lname” is an identifier instructing Email Marketing that the value in this field is the visitor’s last name. To make sure this field will be recorded as a last name in SiteGround Еmail Мarketing, do not change the content inside the parentheses.

The final code of the contact form fields should look similar to the image below.

First Name and Last Name fields in Contact Form 7

In this format, the contact form will prompt visitors to submit their first and last names as separate entries.

Contact Form 7 with separate First Name and Last Name fields

Share This Article