Tracking & analytics13 min readUpdated October 14, 2026

What Is Behavioral Targeting in Ecommerce? Segments, Data and the Rules

Behavioral targeting for ecommerce: the signals that matter, segments to build, first vs third-party data, and EU, US and Meta rules on sensitive data.

Article summary

TL;DR

Behavioral targeting in ecommerce means choosing what to show or send a shopper based on what they did: pages viewed, carts and checkouts abandoned, orders, subscription status, failed payments. A store uses it in its own email, SMS and site, and on ad platforms through customer lists. In the EU, tracking and profiling for marketing need consent and an opt-out.

  • Behavioral targeting acts on what a shopper did, not on who they are (demographics) or the page they're reading (contextual).
  • For a store, the strongest signals are first-party: checkout started, order placed, subscription status, payment failed. They come from your own systems, not from cookies.
  • Chrome kept third-party cookies: Google dropped its phase-out in April 2025 and retired most Privacy Sandbox ad APIs in October 2025.
  • In the EU, non-essential tracking needs consent (ePrivacy 5(3)), and customers can object at any time to profiling for direct marketing (GDPR art. 21).
  • Health-adjacent brands face extra limits: Meta blocks audiences and events that imply a health condition, and Google doesn't allow Customer Match for health ads.
Want to go further? AskChatGPTClaudePerplexityGrok
On this page

Behavioral targeting means deciding what a shopper sees or receives based on what they did. For an online store, that's less about tracking people across the web and more about using your own data: who viewed what, who left at checkout, who bought twice, whose renewal just failed. This guide covers the signals worth using, the segments to build, where to activate them, and the rules that limit what you can do, especially if you sell anything close to health.

What is behavioral targeting?

Behavioral targeting is choosing an ad, a message or an on-site experience for a person based on their past actions. The GDPR has a name for the underlying technique, profiling: using personal data "to analyse or predict aspects concerning that natural person's [...] personal preferences, interests, reliability, behaviour, location or movements".1Regulation (EU) 2016/679 (GDPR), Articles 4(4), 9, 21 and 22, EUR-Lex In ecommerce, the actions are concrete: products viewed, searches, carts, checkouts, orders, subscriptions and payments.

It's easiest to understand next to the other ways of choosing who sees what.

MethodBased onStore exampleNeeds data about the person
BehavioralWhat the person didReminder email to people who started checkout and didn't payYesTheir history
DemographicWho the person is (age, location)Free shipping banner for one countrySome, usually declared
ContextualThe page being viewed nowAd for running socks on a marathon articleNone
Zero-partyWhat the person told youProduct quiz answer: "dry skin"Declared by the person

Behavioral targeting tends to work because actions say more about intent than traits do. Someone who added a product to the cart twice is closer to buying than anyone a demographic filter will find. That's also why it's regulated: the same history can reveal things people would rather keep private.

How behavioral targeting works in an online store

  1. Collect the event, with consent where it's required. A product view, an add to cart, a checkout started, an order, a renewal, a failed payment. On-site events come from your site or tag; order and payment events come from your checkout and billing system.
  2. Attach it to a customer. Anonymous browsing becomes useful once the visitor gives an email or logs in. From then on, past and future events land on one customer record.
  3. Build the segment. A rule over events and time: "started checkout in the last 24 hours and no order since", "two orders, none in 90 days", "renewal failed, subscription still active".
  4. Activate it. Send the email or SMS, change what the site shows, or sync the list to an ad platform as a customer list.
  5. Measure against a holdout. Keep a random share of the segment out of the campaign and compare orders, not clicks.

The order matters: consent first, activation last. Skip a step and the segments are wrong or unusable.

The holdout is what keeps the work honest. People who abandon a checkout often come back on their own, so "orders from people who got the reminder" overstates what the reminder did. Only the gap with the group that got nothing tells you the effect. Vendor case studies quote large lifts; your own holdout is the only number that applies to your store.

The behavioral signals that matter for a store

Most guides list browsing signals: pages viewed, time on page, scroll depth. Those are the weakest. The strongest signals for a store come from the checkout and the billing system, because they're closer to money and they don't depend on a browser cookie.

SignalWhere it comes fromWhat it tells youTypical use
Product or category viewedSite tag or pixelInterest, often weakOn-site recommendations, browse reminders
Search on your siteSite searchExplicit need, in the shopper's wordsResults, "back in stock" alerts
Added to cartSite or cartReal intentCart reminder
Checkout started, email enteredCheckoutStrongest intent before paymentAbandoned checkout email or SMS
Order placedCheckout or order systemWhat, when, how muchCross-sell, replenishment, review request
Subscription active, paused or canceledBilling systemRelationship statusRetention, win-back, exclusion from acquisition ads
Renewal payment failedBilling systemInvoluntary churn risk, not lost interestCard update request, retries
Refund or disputePayment processorUnhappy customerExclude from promotions, service follow-up
Email or SMS clickedMessaging toolEngagementFrequency and channel choice

Two lines in that table are usually missing from behavioral targeting guides: failed payments and disputes. A subscriber whose renewal failed didn't decide to leave; their card did. They need a card update link and smart retries, not a "we miss you" discount (see subscription payment failures and what dunning is). A customer with an open dispute shouldn't receive a promotion for the product they're contesting.

Exclusions are segments too

Half of good behavioral targeting is who you leave out: recent buyers from acquisition ads, active subscribers from "first order" discounts, customers with a refund or dispute from upsell campaigns. Exclusion lists cost nothing and stop the messages that annoy people most.

Behavioral segments you can build this week

These segments use only first-party data and fit any store with an email platform and an order history. The rules are starting points: adjust windows to your buying cycle. A full method for segmentation, including RFM, is in our guide to segmenting customers.

SegmentRuleChannelWhat to sendLeave out
Abandoned checkoutCheckout started with email, no order within 1 hourEmail, then SMS if opted inReminder with the cart, shipping cost and returns policyAnyone who ordered since
Browse abandonmentSame product viewed twice in 7 days, no cartEmail, on-siteThe product, reviews, alternativesRecent buyers of that product
First-time buyerFirst order in the last 14 daysEmailHow to use it, then a review requestAnyone with a refund request
Replenishment dueConsumable bought, typical reorder time almost reachedEmail, SMSReorder link, subscription offerActive subscribers to that product
Lapsing customer2+ orders, nothing for 2× their usual gapEmail, ad customer listNew products, a reason to come backCustomers with an open dispute
Failed renewalRenewal declined, subscription still activeEmail, SMS, account pageCard update link, no discountNobody: this is a service message
Canceled subscriberCanceled 30 to 90 days agoEmail, ad customer listWhat changed, a return offerPeople who canceled after a dispute
VIPTop spend over 12 monthsEmail, siteEarly access, not discounts by defaultNone

The failed-renewal row has a legal angle too. Under CAN-SPAM, a message that notifies someone of a change in their standing in a subscription or account can count as transactional or relationship content, but the FTC reads those categories narrowly: add a promotion and lead with it, and the message becomes commercial.17Google Ads Help, Personalized advertising policy Keep the card update email about the card. Lifecycle flows built on these segments are covered in triggered email campaigns and SMS marketing for ecommerce.

Where behavioral segments get used

Fig. 1One segment, four places to act

Abandoned checkout segmentBuilt from your checkout data
  1. EmailReminder flow, with marketing consent
  2. SMSOnly with prior written consent in the US
  3. On-siteCart restored, product shown on return
  4. Ad platformsCustomer list audience, hashed identifiers

the segment lives in your systems; each channel receives only what it needs

Ad platforms receive a list of identifiers, hashed before use. Each channel has its own consent rules.

Your own channels (email, SMS, site, account page) are where behavioral targeting is cheapest and most precise. You hold the data and choose the message. US SMS marketing needs prior express written consent under the TCPA, and buying can't be made conditional on giving it.

Ad platforms receive segments as customer lists. Meta describes a customer list custom audience as one made of identifiers such as email, phone number and address that you provide; Meta hashes them before use and matches them to its profiles.15Meta Business Help Center, About customer list custom audiences That's how a store reaches lapsed customers or excludes current buyers without depending on browser cookies. Two limits apply: the list itself must not reveal sensitive information (see the health section below), and hashing doesn't make it anonymous.

Site pixels and server events feed the platforms' own behavioral audiences (website visitors, add to cart). Sending them from your server makes them more complete, but it doesn't change the consent rule: see what server-side tracking is and how pixel tracking works.

Inside Tagada

Build the funnel once, route every customer to the right offer

Checkout, upsells and subscriptions on one flow, with conditions per country, order or customer.

Start free

First-party vs third-party behavioral data

First-party behavioral data

  1. Collected by your storeSite events, checkout, orders
  2. savedStored in your systemsCRM, billing, email platform
  3. activatedUsed in your channelsOr shared as a customer list

Yours: accurate, durable, tied to a customer record

Third-party behavioral data

  1. Collected across other sitesThird-party cookies, data brokers
  2. pooledHeld by an ad tech vendorInterest segments you can't inspect
  3. rentedBought per campaignNo customer record on your side

Rented: partial, opaque, dependent on browsers and vendors

For years, behavioral targeting guides announced the end of third-party cookies. In Chrome, it didn't happen. On April 22, 2025, Google said it would "maintain our current approach to offering users third-party cookie choice in Chrome" and would not roll out a new standalone prompt; third-party cookies remain blocked by default in Incognito.5Google Privacy Sandbox, Next steps for Privacy Sandbox and tracking protections in Chrome, April 22, 2025 On October 17, 2025, it went further and retired most Privacy Sandbox technologies meant to replace cookies for ads, including Topics, Protected Audience and the Attribution Reporting API.6Google Privacy Sandbox, Update on Plans for Privacy Sandbox Technologies, October 17, 2025

  1. Before 2025Chrome plans to phase out third-party cookies
  2. April 22, 2025Google keeps cookie choice, no new prompt
  3. October 17, 2025Topics, Protected Audience and others retired
  4. October 2026Third-party cookies still available in Chrome

For a store, this changes less than the headlines suggest. Third-party cookies still work in Chrome, but they still need consent in the EU, and the data they carry is still someone else's. The segments that matter most (checkout, orders, subscriptions, payments) never depended on them.

Behavioral targeting is legal in the EU, inside four sets of rules. The first two apply to your store directly; the DSA applies to the platforms you advertise on.

RuleWhat the text saysWhat it means for a store
ePrivacy Directive, art. 5(3)Storing or reading information on a user's device requires consent, except where strictly necessary for the service the user asked for2Directive 2002/58/EC (ePrivacy Directive), consolidated text, Article 5(3), EUR-LexAd and analytics cookies and pixels need consent before they fire. The EDPB says this covers tracking pixels and links, not only cookies3EDPB, Guidelines 2/2023 on Technical Scope of Art. 5(3) of ePrivacy Directive, version 2.0, adopted October 7, 2024
GDPR, art. 21(2) and (3)People can object "at any time" to direct marketing, "which includes profiling to the extent that it is related to such direct marketing"; after that, the data "shall no longer be processed for such purposes"1Regulation (EU) 2016/679 (GDPR), Articles 4(4), 9, 21 and 22, EUR-LexAn opt-out must remove the person from marketing segments, not only from one email list
GDPR, art. 9 and 22Data concerning health is a special category, prohibited unless an exception applies, such as explicit consent. Art. 22 limits decisions based solely on automated profiling that have legal or similarly significant effects1Regulation (EU) 2016/679 (GDPR), Articles 4(4), 9, 21 and 22, EUR-LexSegments that reveal a health condition need explicit consent. Automated decisions with real consequences, like refusing a customer, need a human route
Digital Services Act, art. 26(3) and 28(2)Online platforms may not show ads based on profiling using special categories of data, or based on profiling when they know with reasonable certainty the user is a minor4Regulation (EU) 2022/2065 (Digital Services Act), Articles 26 and 28, EUR-LexPlatforms will refuse or strip some targeting. Don't build audiences around health, religion or minors

Providers of online platforms shall not present advertisements to recipients of the service based on profiling as defined in Article 4, point (4), of Regulation (EU) 2016/679 using special categories of personal data referred to in Article 9(1) of Regulation (EU) 2016/679.

Regulation (EU) 2022/2065 (Digital Services Act), Article 26(3)

Server-side tracking doesn't remove the consent step: if the event exists because of a cookie or pixel on the device, Article 5(3) still applies. Your GDPR basis for email marketing (consent, or the existing-customer rules of your country) is a separate question from cookie consent.

The US rules: sensitive data and health data

The US has no federal law equivalent to the GDPR, but the FTC has made sharing health data with ad platforms an enforcement priority.

The Washington definition matters for behavioral targeting specifically: a segment like "bought a product for a condition" can itself be consumer health data, even if no one typed a diagnosis.

Health-adjacent brands: what Meta and Google restrict

If you sell supplements, skincare for a condition, sleep or weight products, or anything a platform may read as health, the ad platforms' own rules bite before any regulator does.

  1. An event or parameter is blocked in Events ManagerMeta prohibits sharing health information through its Business Tools, including in URLs, event names and custom dataRemove condition names from URLs, product parameters and event names
  2. Your pixel is placed in core setupCustom parameters and everything in the URL after the domain stop being sharedRebuild audiences that relied on URL rules or custom parameters
  3. Purchase or AddToCart can't be usedMeta may restrict mid and lower-funnel standard events for some data source categoriesUse upper-funnel events; check your category in Events Manager
  4. A custom or lookalike audience is flaggedAudiences can't reference specific health conditionsRebuild the audience on behavior, not on condition
  5. Customer Match isn't available for a campaignGoogle doesn't support advertiser-curated audiences in sensitive interest categories, which include healthRely on your own channels for those segments

Meta's list of prohibited information covers diseases and medical conditions, sexual and reproductive health, mental health, medical treatments and testing, "prescription medications, and over-the-counter (OTC) and supplements for specific medical conditions", and body specifications and cycles. It adds that "the names you choose and criteria you establish for your events, conversions, and Custom Audiences must not reflect, imply, or be based on any prohibited information".11Meta Business Help Center, About prohibited information Meta may place a data source in core setup, restrict certain standard events, or fully restrict event sharing for some categories, by region or globally.12Meta Business Help Center, Understand data sharing restrictions based on data source categories13Meta Business Help Center, About core setup Flagged custom audiences can't be used in new campaigns, and a flagged seed audience blocks its lookalikes.14Meta Business Help Center, Understand restrictions on certain custom audiences

Google's personalized advertising policy lists health among sensitive interest categories and marks Customer Match, your data segments, audience expansion and lookalike segments as not supported for them.16Meta Advertising Standards, Privacy Violations and Personal Attributes And the ad copy itself can't imply that the platform knows the person's condition: Meta disallows "Do you have diabetes?" but allows "New diabetes treatment available".18FTC, CAN-SPAM Act: A Compliance Guide for Business

The practical rule for health-adjacent stores

Name segments after behavior, never after a condition. "Bought product X in the last 60 days" is a behavioral segment. "Joint pain customers" is a health segment, for Meta, for Google and possibly for Washington State law. Keep condition-based logic inside your own email and site, with explicit consent where the law asks for it.

How to measure behavioral targeting

Measure each segment against a holdout and against revenue, not clicks:

  • Incremental orders. Orders in the targeted group minus orders in the holdout, per 1,000 people in the segment.
  • Margin after discounts. A win-back coupon that brings back people who would have reordered anyway loses money.
  • Unsubscribes and complaints. Behavioral messages that feel invasive cost you the channel.
  • For failed renewals: recovered subscriptions. Count subscriptions still active 30 days after the failure, not emails opened.

Behavioral targeting is also what keeps acquisition spend clean. Excluding current customers and subscribers from prospecting campaigns is a behavioral segment, and often the one with the clearest effect on cost.

Where Tagada fits

How Tagada helps

The checkout and billing events behind your best segments

Tagada runs the checkout (one-click upsells, order bumps, A/B tests, Apple Pay and Google Pay) and subscriptions (trials, billing cycles, dunning and automatic retries), and sends tracking server side to Meta, Google and TikTok. It works standalone, with Shopify, with WooCommerce or headless. Pricing is on the pricing page.

Whatever tool you use, check three things before building segments on it: which events it records (checkout started, renewal failed, refund), whether it can pass consent choices to each destination, and whether event names and URLs it sends to ad platforms stay free of condition names.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

What is an example of behavioral targeting in ecommerce?

A shopper starts checkout for a skincare set, enters an email, then leaves. That behavior puts them in an "abandoned checkout" segment: they get a reminder email an hour later, see the same set when they come back to the site, and drop out of the segment as soon as they order. Every step uses data the store collected itself.

What is the difference between behavioral targeting and retargeting?

Retargeting is one use of behavioral targeting: showing ads to people who already visited your site or app. Behavioral targeting is broader. It also covers emails, SMS, on-site content and offers triggered by what someone did, and segments built from orders and subscription status, not only from site visits.

What is the difference between behavioral and contextual targeting?

Behavioral targeting uses a person's past actions: pages viewed, carts, orders. Contextual targeting uses the content of the page being viewed right now, with no history about the person. A running shoe ad on a marathon article is contextual. The same ad shown to someone who viewed those shoes on your store last week is behavioral.

Is behavioral targeting legal?

Yes, within rules. In the EU, non-essential cookies and pixels need prior consent, customers can object at any time to profiling for direct marketing, and data revealing health needs explicit consent. In the US, the FTC has acted against companies that shared health data with ad platforms. Platforms add their own limits on sensitive data.

Does behavioral targeting still work without third-party cookies?

For a store, most of it never depended on them. Carts, checkouts, orders and subscription status live in your own systems, and you reach people through your email, SMS and site, or through customer lists uploaded to ad platforms. Chrome also kept third-party cookies: Google dropped its phase-out plan in 2025.

What data is used for behavioral targeting?

On-site events (pages and products viewed, searches, add to cart, checkout started), order history (what, when, how much), subscription data (plan, renewal date, cancellations), payment events (failed renewals, refunds), and engagement with your emails and SMS. Data that reveals a health condition or another sensitive trait needs extra care.

Sources

Checked October 14, 2026
  1. Regulation (EU) 2016/679 (GDPR), Articles 4(4), 9, 21 and 22, EUR-Lex
  2. Directive 2002/58/EC (ePrivacy Directive), consolidated text, Article 5(3), EUR-Lex
  3. EDPB, Guidelines 2/2023 on Technical Scope of Art. 5(3) of ePrivacy Directive, version 2.0, adopted October 7, 2024
  4. Regulation (EU) 2022/2065 (Digital Services Act), Articles 26 and 28, EUR-Lex
  5. Google Privacy Sandbox, Next steps for Privacy Sandbox and tracking protections in Chrome, April 22, 2025
  6. Google Privacy Sandbox, Update on Plans for Privacy Sandbox Technologies, October 17, 2025
  7. FTC, FTC Enforcement Action to Bar GoodRx from Sharing Consumers' Sensitive Health Info for Advertising, February 1, 2023
  8. FTC, FTC to Ban BetterHelp from Revealing Consumers' Data, Including Sensitive Mental Health Information, to Facebook and Others for Targeted Advertising, March 2, 2023
  9. FTC, FTC Finalizes Changes to the Health Breach Notification Rule, April 26, 2024
  10. Washington State, My Health My Data Act, RCW 19.373.010 and 19.373.030
  11. Meta Business Help Center, About prohibited information
  12. Meta Business Help Center, Understand data sharing restrictions based on data source categories
  13. Meta Business Help Center, About core setup
  14. Meta Business Help Center, Understand restrictions on certain custom audiences
  15. Meta Business Help Center, About customer list custom audiences
  16. Meta Advertising Standards, Privacy Violations and Personal Attributes
  17. Google Ads Help, Personalized advertising policy
  18. FTC, CAN-SPAM Act: A Compliance Guide for Business

Tagada

Checkout, subscriptions and server-side events in one system

Funnels, one-click upsells, subscription billing and payment routing, on one customer record.

  1. 01Create your free account
  2. 02Connect your store or build a checkout
  3. 03Launch funnels, upsells and subscriptions