Skip to main content

Email Marketing Overview

OneTap Login PRO can automatically subscribe new Google users to your email marketing list. Choose from 5 popular email service providers (ESPs) with built-in GDPR compliance features.

PRO Feature

Email Marketing integration is a PRO feature. Upgrade to PRO to unlock this functionality.

Supported Providers

ProviderFeaturesDouble Opt-in
MailChimpLists, tags, merge fieldsYes
MailerLiteGroups, custom fieldsYes
BrevoLists, DOI templates, SMSYes
KlaviyoLists, profiles, eventsYes
GetResponseCampaigns, taggingYes

How It Works

User signs in with Google

Account created/logged in

Check: Marketing consent given?

YES → Subscribe to email list

NO → Skip subscription

Configuration

Accessing Settings

  1. Go to Settings > OneTap Login
  2. Click Integrations tab
  3. Find Email Marketing section

Basic Setup

  1. Enable Email Marketing: Toggle on
  2. Select Provider: Choose from dropdown
  3. Enter API Key: From your ESP
  4. Enter List ID: Target list/audience
  5. Save Changes

Email Marketing Enabled

Provider Dropdown

Email Marketing Provider Dropdown

GDPR Compliance

Double Opt-in (DOI)

All providers support double opt-in:

1. User signs up
2. Added to list as "pending"
3. Confirmation email sent
4. User clicks confirm link
5. Status changes to "subscribed"

Enable the consent requirement:

Settings > Users > Marketing Consent

☑ Require marketing consent before subscribing

See Marketing Consent for details.

ModeBehavior
DisabledSubscribe all users automatically
CheckboxUser must check consent box
Explicit popupModal consent dialog

Data Sent to ESP

When subscribing, OneTap Login sends:

FieldDescription
EmailUser's email address
First NameFrom Google profile
Last NameFrom Google profile
Source"google_signup" or custom

Custom Fields (varies by provider)

Some providers accept additional data:

  • Registration date
  • Website URL
  • Custom tags

Provider Comparison

Features

FeatureMailChimpMailerLiteBrevoKlaviyoGetResponse
Free tier500 contacts1,000 contacts300 emails/day250 contacts500 contacts
TagsYesNoYesYesYes
SegmentsYesYesYesYesYes
AutomationsYesYesYesYesYes
Landing pagesYesYesYesNoYes
SMSNoNoYesYesNo

Best For

ProviderBest For
MailChimpBeginners, established brand
MailerLiteBudget-conscious, simplicity
BrevoTransactional + marketing, SMS
KlaviyoE-commerce, advanced segmentation
GetResponseWebinars, all-in-one marketing

Integration Flow

New User Registration

1. User registers via Google
2. OneTap creates WordPress account
3. Check marketing consent (if enabled)
4. If consent given:
a. Call ESP API
b. Add subscriber with data
c. Trigger DOI if enabled
5. Log subscription result

Returning User Login

By default, returning users are NOT re-subscribed:

  • Only new registrations trigger subscription
  • Prevents duplicate subscriptions
  • Respects unsubscribes in ESP

Testing Integration

Test Connection

Each provider section has a Test Connection button:

  1. Enter API credentials
  2. Click Test Connection
  3. Verify success message

Verify Subscription

  1. Create test account via Google sign-in
  2. Check ESP for new subscriber
  3. Verify DOI email sent (if enabled)
  4. Confirm data fields populated

Troubleshooting

User Not Subscribed

Causes:

  1. Marketing consent not given
  2. API credentials invalid
  3. List ID incorrect
  4. User already exists in list

Solutions:

  1. Check consent settings
  2. Verify API key
  3. Verify list/audience ID
  4. Check ESP for existing subscriber

API Error

Common errors:

ErrorSolution
401 UnauthorizedCheck API key
404 Not FoundCheck list ID
400 Bad RequestCheck email format
429 Rate LimitedWait and retry

DOI Email Not Sent

Causes:

  1. DOI not enabled in ESP
  2. User already confirmed
  3. Email in ESP suppression list

Solutions:

  1. Enable DOI in ESP settings
  2. Check subscriber status
  3. Review ESP suppression list

What's Stored

OneTap Login stores:

  • Subscription status
  • Consent timestamp
  • ESP subscriber ID

What's Sent

Only essential data sent to ESP:

  • Email (required)
  • Name (optional)
  • Tags (optional)

GDPR Requirements

To be GDPR compliant:

  • Enable marketing consent
  • Use double opt-in
  • Provide unsubscribe option
  • Document consent

CAN-SPAM / CASL

For North American compliance:

  • Include physical address in emails
  • Provide unsubscribe mechanism
  • Honor unsubscribes within 10 days

Next Steps

Choose your provider:

Or configure consent: