Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Marketing opt-in not passed to the CRM: how to fix it

DLV-097High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Many forms have a checkbox such as "Yes, send me offers by email". The person ticks it (or not) and submits. The form should pass that answer to your CRM (the tool that stores your contacts, like HubSpot, Salesforce, ActiveCampaign or GoHighLevel) so the contact record shows whether you may send marketing.

Why it costs you leads or sales

What goes wrong
  • Consent saved as blank or false: your email tool treats everyone as not subscribed, so follow-up and nurture emails never go out and leads go cold.
  • Consent saved as true for everyone: you email people who said no, which risks complaints, spam flags and breaches of rules like GDPR or PECR.
  • No proof of consent: you cannot show when or how someone opted in if asked.
  • Segments and automations break: workflows that start on 'opted in = true' never trigger.
Where the opt-in gets lost
  1. Visitor ticks opt-inCheckbox ticked on the form
  2. Form submitsName and email sent
  3. Consent field mappedCheckbox not sent or not mapped
  4. CRM consent statusBlank or wrong value
  5. Nurture emailNever sent, or sent to the wrong people

The form works and the lead arrives, but the consent answer is dropped before the nurture email.

Contacts able to receive marketingExample numbers
Contacts able to receive marketing (example)Ticked the box: 60 contacts; Marked opted in (unmapped): 0 contacts; Marked opted in (fixed): 60 contacts0234660060Ticked the boxMarked opted in (unma…Marked opted in (fixe…contacts

Example: out of 100 form fills, 60 ticked the opt-in box. With the field unmapped, none are marked as subscribed.

How to check if your site has it

Run a two-submission test
  1. Submit the form with the box ticked

    Use a test email such as yourname+optin@yourdomain.com and a clear name like 'Test Optin'.

  2. Submit again with the box unticked

    Use a different email, such as yourname+optout@yourdomain.com.

  3. Open both contacts in the CRM

    Look at the consent, subscription or marketing status field. The ticked contact should show opted in. The unticked one should show not opted in or no consent.

  4. Check the activity or submission log

    Many CRMs show the raw form data received. If the checkbox is absent there, it never left the form. If it is present but not on the contact, the mapping is wrong.

  5. Compare with real contacts

    Filter recent contacts by form source. If every one has the same consent value, the field is likely not mapped.

How to fix it

Map the opt-in by platform
  1. Open your form plugin's CRM or integration settings

    In plugins like Gravity Forms, WPForms, Contact Form 7 or Fluent Forms, find the feed or mapping screen for your CRM.

  2. Map the checkbox

    Select the opt-in checkbox as the source and the CRM's consent or subscription field as the target. In Contact Form 7 the checkbox may need to be in the mail tag list passed to the integration.

  3. Set a fixed value if needed

    If the CRM wants 'Yes' or 'true', use the plugin's custom value option or a conditional so ticked sends that value.

Checkbox that always sends a valuehtml
<form method="post" action="/submit">
  <input type="email" name="email" required>
  <!-- Sent when the box is unticked -->
  <input type="hidden" name="marketing_optin" value="false">
  <!-- Overrides the hidden value when ticked (same name, last value wins on most servers) -->
  <label>
    <input type="checkbox" name="marketing_optin" value="true">
    Yes, send me offers by email
  </label>
  <button type="submit">Send</button>
</form>
Contact record after submission

Before the fix

  • Consent field blank on every contact
  • Ticked and unticked look the same
  • Nurture workflow never starts

After the fix

  • Ticked contacts show opted in, with a date
  • Unticked contacts show not opted in
  • Workflow starts only for opted-in contacts

How to confirm it's fixed

Verify the fix
  1. Repeat the two-submission test

    Submit once ticked and once unticked, using new test emails.

  2. Compare the CRM records

    The ticked contact must show opted in and the unticked one must not.

  3. Check the downstream action

    Confirm the welcome or nurture email arrives only for the opted-in contact.

  4. Test on mobile and every form

    Repeat on mobile and on each form or landing page that uses the same checkbox.

  5. Delete the test contacts

    Remove them so they do not skew reports.

How to prevent it happening again

Keep consent flowing
  • Re-check the field mapping every time you add, rename or reorder fields on the form.
  • Treat the consent field as required in your form-change checklist.
  • Do not rename or delete the CRM consent property without updating the mapping.
  • Run the ticked/unticked test after any CRM, plugin or theme update.
  • Build a saved CRM view of recent contacts with a blank consent field and look at it weekly.
  • Document which field is the source of truth for consent, and who owns it.

How FunnelGuard handles this

Questions people ask

Why is my marketing opt-in checkbox not saving in my CRM?

Most often the checkbox is not mapped to a CRM field, or it was added after the integration was set up. Another common cause is a value mismatch: the form sends 'true' but the CRM expects 'Yes'. Check the CRM's form submission log to see whether the checkbox arrived at all.

Why does the consent field show blank for unticked boxes?

Browsers do not send an unticked checkbox at all, so the CRM receives nothing. Add a hidden field with the value 'false' before the checkbox, or have your code or automation send an explicit false.

How do I pass a consent checkbox from my form to HubSpot, Mailchimp or ActiveCampaign?

Use the form tool's integration settings to map the checkbox to the CRM's consent, subscription or list field. Where the CRM manages subscription status separately, use its own opt-in setting for the integration. Then test with one ticked and one unticked submission.

Is it a problem if everyone shows as opted in?

Yes. If consent defaults to true, you may email people who did not agree, which can breach rules such as GDPR or PECR and hurt your sender reputation. Fix the mapping so the value reflects each person's actual choice.

How do I test if my form's opt-in reaches the CRM?

Submit the form twice with different test emails, once with the box ticked and once without. Open both contacts and compare the consent field, then check whether the follow-up email goes only to the ticked one.

Can I store the date and source of consent?

Yes, and you should. Add custom CRM fields for the consent date and the form or page it came from, and map them on submission. This gives you a record if someone asks when and how they opted in.

Does FunnelGuard detect a missing opt-in field in the CRM?

No, not yet. FunnelGuard checks that your lead form works and that test leads reach the inbox and CRM, but it does not verify the consent field value. Use a manual ticked/unticked test and a saved CRM view to watch for it.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.