Skip to main content
Nanette
Problem Solver I
Problem Solver I
Nov 30, 2026 6:30 PM UTC
Question

WooCommerce Email Address Changes Create Duplicate Klaviyo Profiles via Native Onsite Tracking – MEP Solution?

Hello!

We are a very small business still growing our customer base and currently utilizing Klaviyo's free plan. While I understand that direct email support is not included, I'm hopeful that someone in this community, or perhaps a Klaviyo developer, might be willing to offer some guidance.

I've invested considerable time auditing and enhancing our WooCommerce integration with Klaviyo and am seeking clarification on Multi-Email Profiles (MEP), customer identity resolution, and the prevention of duplicate profiles.

We are running Klaviyo's WooCommerce plugin version 3.9.0.

Current Integration

We have implemented custom server-side integrations that:

  • Synchronize new WooCommerce account registrations to Klaviyo.

  • Store the permanent Klaviyo Profile ID in WordPress customer metadata.

  • Synchronize customer name and birthday changes using the Update Profile API.

  • Detect email address changes while safeguarding existing consent and suppression records.

Account registration, birthday synchronization, name updates, and permanent profile ID storage have all been successfully tested.

The Issue

During testing, we discovered that Klaviyo's native onsite JavaScript independently identifies customers using their newly updated WooCommerce email address, which appears to result in the creation of a separate Klaviyo profile.

In one controlled test involving an existing email marketing subscriber, our custom integration:

  1. Detected the WooCommerce account email change.

  2. Retrieved the original Klaviyo profile using its permanently stored Profile ID.

  3. Checked whether the new email address already existed in Klaviyo.

  4. Deliberately withheld the email update pending consent review.

Shortly afterward, Klaviyo's native onsite JavaScript independently submitted the new email address.

We identified the following request in the Klaviyo API activity logs:

  • Endpoint: POST /client/profiles

  • Header: X-Klaviyo-Onsite: 1

  • API revision: 2024-10-15

  • User agent: Chrome browser

  • Referring page: WooCommerce My Account → Edit Account

  • Request payload: Newly updated customer email address, without an existing permanent profile identifier.

A separate Klaviyo profile appeared 26 seconds after this client-side request.

The original profile retains its history, custom properties, marketing consent, and permanent Profile ID, while the newly created profile has a different Profile ID and lacks the original customer's information and activity history.

Our custom account update integration exclusively uses PATCH requests to update existing profiles and does not invoke any profile creation endpoints.

Questions

I would greatly appreciate clarification on the following:

  1. Multi-Email Profiles availability: Is MEP generally available, still being rolled out, or restricted to certain plans? I don't see an option to add secondary email addresses to profiles in my account. Is there a process for requesting access?

  2. WooCommerce identity resolution: Is there a supported method for coordinating WooCommerce customer email changes with Klaviyo's native onsite identification to prevent duplicate profiles?

  3. API-based email association: Would associating a new email address with the original Klaviyo profile through the private API prevent onsite tracking from creating a duplicate?

  4. Marketing consent: What is Klaviyo's recommended approach to preserving customer history while appropriately managing email-specific consent when a customer changes their account email address?

  5. Onsite identification controls: Does the WooCommerce plugin provide any supported filters, hooks, or configuration options to control logged-in customer identification without disabling other onsite tracking or signup form functionality?

  6. Alternatives to MEP: If MEP is unavailable for our account, what alternative approach does Klaviyo recommend?

Our objective is to maintain a single, consistent customer identity across WooCommerce and Klaviyo without inadvertently transferring marketing consent, losing customer history, disrupting onsite tracking, or creating duplicate profiles.

Has anyone else encountered this behavior with the native WooCommerce integration, and has anyone successfully implemented a solution?

I'd particularly appreciate input from Klaviyo developers or anyone familiar with the WooCommerce plugin's browser identification logic.

I'm happy to share additional sanitized API request data, diagnostic logs, or relevant code if it would be helpful.

Many thanks in advance for any insight or guidance!

3 replies

Contributor I
Dec 1, 2026 9:27 AM UTC

he duplicate happens because the plugin's browser script identifies the customer by email only, and your server hasn't yet put that new email on the original profile. Fix it by making both sides use the same identifier and by updating Klaviyo before the browser call fires.

What to do

  1. Use external_id as the shared key. Set it to the WordPress user ID on every server-side create and update. Klaviyo matches profiles on email, phone and external ID, so any call carrying that ID resolves to the right profile.
  2. Don't withhold the email update. Run your PATCH synchronously on woocommerce_save_account_details so the new email is already on the original profile when the next page loads. The plugin's POST /client/profiles call then matches that profile and updates it instead of creating a new one. Delaying the update is what caused your duplicate.
  3. Handle consent explicitly at that moment, not by delaying the email change.
    • If the customer opted in at the point of change, subscribe the new address through the Subscribe Profiles API with a consent timestamp and source.
    • If not, leave the new address unsubscribed or never-subscribed until they opt in.
    • Test on a throwaway profile to confirm what your account does with consent when the email attribute changes. Don't assume.
  4. If you still see duplicates, replace the plugin's identify on that one page. Dequeue the plugin's script only on is_wc_endpoint_url('edit-account') and run your own call:

    js

    klaviyo.identify({ email: "new@example.com", external_id: "wp_user_12345" });

    Check the plugin source for the exact script handle. I'm not aware of a documented hook for this, so don't count on one.

  5. Clean up existing duplicates with the Merge Profiles API, using the original profile as the destination. Try it on a test pair first.

On MEP: don't wait for it. It's enabled per account, availability varies by plan and location, and only Klaviyo can confirm whether your free account is eligible. The steps above work without it. If it's enabled later, you can add secondary-email association on top.

Contributor II
Dec 2, 2026 10:54 AM UTC

Before replacing the WooCommerce script, I’d check whether a test profile has Add email under Details → Email. Klaviyo documents that adding a secondary email through Update Profile requires Multi-Email Profiles to be enabled and API revision 2025-01-15 or newer. That doesn’t establish whether your account has the feature.

If Add email is available, try two addresses you control. Link the new one on the test profile, then repeat the WooCommerce account change and load the next page in both your existing browser and a fresh session. Check that the new address still points to the original profile ID after the onsite request, that the old events are still on that profile, and that each address kept its own consent and suppression status. I’d run that check before trying a cleanup merge on any real profiles.

Nanette
Problem Solver I
NanetteAuthor
Problem Solver I
Dec 3, 2026 11:13 PM UTC

​@Afolabi and ​@WESWOOHK - 

Thank you both so much for taking the time to respond! I genuinely appreciate the guidance.

I've confirmed that the Add email option is not available on our profiles, so it appears MEP has not been enabled for our account.

Regarding the first suggestion, we have already established a permanent association between each WooCommerce customer ID and their Klaviyo Profile ID, which is stored in WordPress user metadata and retained when the customer's email address changes.

Given that we can directly identify and update the original Klaviyo profile using its permanent ID, would there be an additional benefit to introducing external_id? I'm somewhat cautious about doing so given Klaviyo's developer documentation regarding potential duplicate profiles when external IDs are used inconsistently across integrations.

I agree that synchronously updating the original profile before the browser identification request fires may resolve our issue without requiring modifications to the native onsite script.

My biggest remaining concern is consent management for accounts without MEP.

Have you tested what happens to an existing profile's email marketing consent, suppression status, consent timestamp and list membership when its email address is replaced using the Update Profile API?

Specifically, does Klaviyo automatically carry the original address's marketing consent to the replacement email address, or does it treat the replacement address as a new, never-subscribed identifier?

I'd like to preserve the original customer profile and its history without unintentionally transferring consent or overriding existing marketing preferences.

I'll be conducting some controlled API tests to establish this behavior independently of our WooCommerce integration before revising our account update functionality.

Thank you again - I truly appreciate your time and insight!

Nanette Gauny - Founder & Pleasure Curator at Taboodoir, Artisan Bath and Body Skincare | taboodoir.com