Guides

How to Identify Anonymous Shopify Store Visitors

Most Shopify store traffic leaves without buying or handing over an email. Here's how to identify anonymous visitors and recover lost demand.

Elene MarjanidzeElene Marjanidze··8 min read
How to Identify Anonymous Shopify Store Visitors

Look at your Shopify analytics. Thousands of sessions, a handful of orders, and a conversion rate that’s probably somewhere between 1% and 3%. The other 97%+ of your store visitors leave without buying and without leaving an email — and by default you have no way to follow up with any of them.

Visitor identification changes that. It turns a share of those anonymous sessions into named people — verified email, company, and the products they browsed — so you can recover demand that Shopify’s own tools can’t see.

This guide covers how to install it on Shopify, which visitors you can realistically identify, and how to use the data for both wholesale/B2B and DTC motions without being creepy.


Why Shopify stores lose so much demand

Shopify is built to convert a ready buyer at checkout. It’s not built to recover the researcher who wasn’t ready.

  • Anonymous browsing dominates. Most visitors never create an account or reach checkout, so Shopify’s customer records stay empty for them.
  • Abandoned browse, not just abandoned cart. Shopify’s abandonment flows need an email — captured at cart or from a logged-in customer. The person who viewed three products and bounced leaves nothing to trigger on.
  • Wholesale and B2B buyers research quietly. A procurement manager or retail buyer comparing suppliers rarely fills a form on the first visit. They browse, screenshot, and leave.

That gap is expensive. Every anonymous session you paid to acquire and can’t follow up on is wasted traffic cost. Identification recovers a slice of it.

In one sentence: Shopify shows you who bought; visitor identification shows you who came — including the researchers and wholesale buyers who leave before handing over an email.


What you can (and can’t) realistically identify

Be clear-eyed about this, because it shapes how you use the data.

  • Strongest fit: US B2B and wholesale buyers. If your store sells to trade, wholesale, or corporate buyers — or you run a hybrid DTC/B2B catalog — person-level identification can return a named professional with verified work email and the products they viewed. This is the highest-value use case.
  • DTC in the US is a related but distinct motion focused on recovering shopper email identities; see our anonymous ecommerce visitors guide for that angle.
  • Coverage is highest in the US. Outside the US, coverage drops and compliance tightens. Don’t expect the same results for EU/UK traffic.
  • You won’t identify everyone. Deterministic identification returns a verified match or nothing — you get a meaningful, usable share of visitors, not 100%.

The tradeoff is deliberate. A tool that returns verified matches rather than guesses gives you data you can actually email without embarrassing yourself.


How to install visitor identification on Shopify

You have three practical routes. All of them are quick.

Option 1 — Add the script in theme.liquid

  1. In Shopify admin, go to Online Store → Themes → Edit code.
  2. Open theme.liquid.
  3. Paste your Leadpipe tracking script just before the closing </head> tag so it loads on every page.
  4. Save and preview.

This is the most reliable option because it loads site-wide, including product and collection pages.

Option 2 — Deploy through Google Tag Manager

If you already run GTM on your store, add Leadpipe as a custom HTML tag on an all-pages trigger. This keeps tags centralized and lets you manage consent gating in one place — full steps in our Google Tag Manager setup guide.

Option 3 — Server-side / checkout extensibility

For advanced stores, you can route identification server-side to survive ad blockers and script blocking. This is more work but improves resilience.

After install, verify it’s firing. Visit your store from a known device, then confirm the identification appears in your Leadpipe dashboard. Don’t scale until you’ve seen a real match. The general mechanics are the same as any site — see how to identify anonymous website visitors.

Try Leadpipe free with 500 leads →


What to do with identified Shopify visitors

Identification is only useful if it triggers action. Map behavior to a play.

Visitor behavior What it signals Play
Viewed wholesale / “trade” page B2B buyer researching Route to sales for a wholesale conversation
Repeat visits to one collection High purchase intent Personalized outreach or targeted offer
Viewed product, no cart Browse abandonment Retarget + follow-up referencing the product
Viewed bulk/quantity pricing Volume buyer Quote or account-manager outreach
Returned within 7 days Active buying window Time your touch while they’re still deciding

Two motions in particular:

  • Wholesale/B2B follow-up. When an identified buyer looks like trade — company email, viewed bulk pricing — hand them to a human. This is where person-level data earns the most, and it overlaps with the broader B2B ecommerce identification playbook.
  • Retargeting the researchers. Build audiences from identified browsers and retarget them with the exact products they viewed, instead of broad, wasteful lookalikes.

How much demand can you actually recover?

It helps to size the opportunity before you install anything. Work it in three steps.

  1. Count your anonymous sessions. Take monthly Shopify sessions and subtract orders plus known email captures. On a store doing 20,000 sessions a month at a 2% conversion rate, that’s roughly 19,600 sessions with no order.
  2. Apply a realistic identification share. Person-level identification returns a verified match for a portion of eligible visitors, strongest for US B2B and wholesale traffic — not all of it. Assume a conservative slice of your eligible B2B/wholesale sessions, not the whole 19,600.
  3. Value the recovered contacts by intent. A handful who viewed bulk pricing and returned twice are worth a direct sales conversation. The rest feed retargeting and nurture.

The point of the exercise isn’t a precise forecast — it’s to see that even a modest recovery rate on high-intent wholesale browsers can outweigh a full quarter of conversion-rate tweaking. You’re monetizing traffic you already paid to acquire.

In one sentence: Don’t measure identification by raw match count — measure it by the handful of high-intent wholesale and repeat browsers it hands to a human, because that’s where a Shopify store’s recoverable margin actually sits.


Common mistakes to avoid

A few things that quietly kill results:

  • Treating every identified visitor as a buyer. Most are researching. Segment by behavior — bulk-pricing views and repeat visits get sales; single-product browsers get retargeting or a light nurture.
  • Installing only on the homepage. Load the script site-wide (via theme.liquid or GTM) so collection and product pages are covered. That’s where intent lives.
  • Ignoring the wholesale signal. The single most valuable output for a Shopify store is a named trade buyer with a work email. Route those to a person immediately; don’t let them sit in an email queue.
  • Skipping the verification step. Always confirm a real identification fires from a known device before you build flows on top of it.

Keep it compliant and tasteful

Two guardrails so this stays a good idea:

  • Compliance. In the US, run a notice-and-opt-out setup: privacy notice, a working opt-out, honored GPC signals, and suppression of anyone who opts out. See CCPA-compliant visitor identification. Coverage and rules differ outside the US.
  • Taste. Don’t send a “we saw you looking at X” email that reads like surveillance. Reference relevance lightly — a helpful nudge from a real person, not a robotic play-by-play of their session. Wholesale outreach especially should feel like a human offering to help, because it is.

FAQ

Can I identify anonymous visitors on my Shopify store?

Yes. By adding a visitor identification script to your Shopify theme (or via GTM/server-side), you can turn a share of anonymous sessions into named people — strongest for US B2B and wholesale buyers, where you get a verified work email plus the products they browsed. You won’t identify every visitor, but you’ll recover demand Shopify’s tools can’t see.

Does this work for DTC stores or only B2B?

It works best for US B2B and wholesale buyers, where person-level identification returns a verified professional contact. DTC email identification is a related but distinct motion — our anonymous ecommerce visitors guide covers that angle in detail.

Will identifying Shopify visitors hurt my store’s performance?

No. A lightweight tracking script loaded in theme.liquid or via GTM has negligible impact on page speed, and identification happens off the critical rendering path. Server-side deployment adds even less client-side weight.

In the US, yes, under a notice-and-opt-out model: publish a privacy notice, offer a working opt-out, honor GPC signals, and suppress opted-out shoppers. Requirements are stricter outside the US. See our CCPA guide, and treat this as guidance, not legal advice.


Stop letting Shopify traffic leave anonymous

You already paid to bring shoppers to your store. Most of them leave without buying or handing over an email — and that demand is recoverable. Visitor identification turns anonymous browsers into named people you can actually follow up with, especially the wholesale and B2B buyers worth a human conversation.

Leadpipe identifies your US visitors deterministically, with verified contacts and product-level behavior. See the identification product or check pricing.

Try Leadpipe free — 500 identified leads, no credit card required.