On this page
What this issue is
Klaviyo's onsite tracking script (klaviyo.js) gives every browser an anonymous ID. Page views, Viewed Product and Started Checkout events are stored against that anonymous ID. Identify is the call that tells Klaviyo "this browser belongs to this email address". Until it runs, Klaviyo cannot attach that activity to a profile.
Why it costs you leads or sales
Flows such as browse abandonment and abandoned cart need the activity to be tied to a profile. If identify is missing, a new subscriber can browse products, add to cart and leave, and Klaviyo has nothing to trigger on. You lose follow-up emails and SMS that would have recovered the sale. Segments based on behaviour are also wrong, and your reports undercount what subscribers did before buying.
- Visitor browsesEvents stored under an anonymous ID
- Submits signup formEmail saved in your site or CRM
- klaviyo.identifyNever called
- Later browsing and cartStill anonymous
- Abandoned cart flowDoes not trigger
The visitor signs up but the browser is never identified, so later activity cannot reach a flow.
The form submits, but no identify request reaches Klaviyo.
How to check if your site has it
Open a private window
Visit your site, browse a product page, then open DevTools and go to the Network tab.
Filter for Klaviyo
Type
klaviyoin the filter box. You should see requests to a.klaviyo.com, such as/client/profilesor/api/identify.Submit the signup form with a test email
Use an address you control, such as you+test1@yourdomain.com.
Look for an identify request
After submit, a new request to Klaviyo should carry your email. If nothing appears, identify is not being called.
Check the profile in Klaviyo
Open Audience > Profiles, find the test email and look at the activity feed. Then browse a product in the same browser. New Viewed Product events should appear on the profile.
How to fix it
The fix is to call identify with the email once the signup has succeeded. Use the same email that you send to Klaviyo's lists, and only after the visitor has agreed to marketing where your consent rules require it.
// Run after the signup succeeds
var _learnq = window._learnq || [];
_learnq.push(['identify', {
'$email': 'jane@example.com',
'$first_name': 'Jane'
}]);Use Klaviyo's Shopify integration
In Klaviyo go to Integrations and connect Shopify, and make sure the onsite tracking (Klaviyo app embed) is on in Online Store > Themes > Customize > App embeds.
Prefer Klaviyo or native Shopify signup forms
Customer account signups and newsletter forms synced by the integration identify the visitor. For a custom theme form, add the identify snippet to its success handler.
Check your form plugin
Many form plugins only save entries or send email. Use the Klaviyo add-on or integration if your plugin has one, or add a script on the thank-you state.
Add the snippet to the success event
Load the identify call on the confirmation page or in the plugin's after-submit JavaScript hook, passing the submitted email.
Capture the email
Push the email into the data layer on successful submit, for example dataLayer.push({event:'signup_success', email: value}). Create a Data Layer Variable for it.
Create a Custom HTML tag
Add the identify snippet using the variable, and trigger it on the signup_success custom event. Only run it after the Klaviyo script has loaded.
Preview and publish
Use Preview mode, submit a test signup and confirm the tag fires once.
Add custom code
Webflow forms do not call Klaviyo by themselves. Add a script in Project Settings > Custom Code or on the page that listens for the form's success state and runs the identify call.
Call identify in the success callback
Put the _learnq identify call in the callback of your signup request, not before it, so failed submits are not identified.
Or use the server-side API
You can also create the profile through Klaviyo's API, but browser identify is still needed to link that browser's anonymous activity.
How to confirm it's fixed
- A Network request to Klaviyo carrying the test email appears right after submit.
- The test profile exists in Audience > Profiles.
- Browsing a product afterwards in the same browser adds Viewed Product to that profile's activity.
- The identify call fires once per signup, not on every page.
- A flow with a browse or cart trigger fires for the test profile.
Without identify
- Profile shows only the signup
- No Viewed Product or cart events
- Behaviour flows never trigger
With identify
- Browsing activity appears on the profile
- Cart and browse flows can trigger
- Segments reflect real behaviour
How to prevent it happening again
- Add the Klaviyo identify check to your release checklist for any form or theme change.
- Retest after changing form plugins, popups or checkout.
- Keep one documented place where identify is called, so it is not duplicated or lost.
- Review a recent real subscriber's activity feed each month.
How FunnelGuard handles this
FunnelGuard does not check this yet. A Klaviyo identify check is a possible future addition. Today FunnelGuard runs your real signup and lead journeys on a schedule, checks that each step works, that tracking hits reach platforms such as GA4, Google Ads and Meta, and that test leads reach your inbox and CRM. That can show you when a signup form itself breaks, but not whether Klaviyo received an identify call.
Questions people ask
Why is my Klaviyo profile not showing browsing activity?
The browser is probably still anonymous. Klaviyo only attaches Viewed Product and similar events to a profile after identify runs with an email. Check that your signup form calls klaviyo.identify or uses a Klaviyo-native form.
How do I call klaviyo.identify after a form submit?
Push an identify command to the _learnq array after the signup succeeds, with the visitor's email as $email. Place it in the form's success callback or a tag triggered by a success event, not on page load.
Does Klaviyo identify visitors automatically?
Only in some cases. Klaviyo's own signup forms and its Shopify integration identify visitors. Custom forms, third-party popups and page builder forms usually do not, so you must add the call yourself.
How can I tell if Klaviyo identify is firing?
Open DevTools, go to the Network tab, filter by klaviyo and submit the form with a test email. You should see a request to a.klaviyo.com carrying that email. Then check the profile's activity feed in Klaviyo.
Why does my abandoned cart flow not trigger for new subscribers?
The cart events may be stored under an anonymous ID because identify was never called. Without a profile link, Klaviyo cannot start the flow for that person. Fix the identify call and retest with a new email.
Do I need identify if I send subscribers to Klaviyo through the API?
Yes, for browser activity. The API creates or updates the profile, but the visitor's browser still needs identify so its earlier anonymous activity is merged into that profile.
Can FunnelGuard detect a missing Klaviyo identify call?
Not yet. It is a possible future check. FunnelGuard can run your signup journey on a schedule to confirm the form works, but you need to verify identify manually in DevTools and Klaviyo.
Related issues
- TRK-275Klaviyo onsite tracking missing (Viewed Product, Started Checkout)Fix guide
- TRK-274ActiveCampaign / Mailchimp site tracking missingFix guide
- TRK-270UTMs not written to CRM contact fieldsFix guide
- TRK-267HubSpot tracking code missingFix guide
- TRK-268HubSpot form submissions not linked to tracked visitor (hutk missing)Fix guide
- TRK-269HubSpot original source shows 'Offline' for web leadsFix guide