Behavioral vs declared customer data
Declared customer data is what a customer tells you about themselves, through forms, preference settings, surveys and profile fields. Behavioral customer data is what they do, such as the pages they view, the searches they run and what they buy, recorded as events. Declared data says what a customer wants you to know; behavioral data shows what they are doing now.
What is declared customer data?
Declared data is anything a customer states on purpose. A shoe size entered at signup, a newsletter topic ticked in a preference center, an answer to “what are you shopping for today?”, a job title on a B2B trial form: each is a fact the customer chose to give you.
It is also called explicit data, because nothing has to be inferred. The customer said it, so you know what they meant, and you usually know when and where they said it. It lives in profile fields, account settings, survey results and the CRM.
What is behavioral customer data?
Behavioral data is what a customer does: product views, searches, filters applied, videos watched, items added to a basket, orders placed. Each action is recorded as an event with a timestamp and some context, such as the product or the query. It is also called implicit data, because what it means has to be worked out from the actions.
Collecting and modeling behavioral data is a large subject of its own, covered in Snowplow’s guide to what behavioral data is. This article stays on how it compares with declared data and how the two fit in one customer profile.
Is zero-party data the same as declared data?
Nearly. Forrester coined the term zero-party data and defines it as “data that a customer intentionally and proactively shares with a brand”, including preference center data, purchase intentions, personal context and how the customer wants to be recognized (Forrester). That is declared data under another name, with the emphasis on intent: the customer gave it so you would use it.
The other terms describe who collected the data, not what kind it is:
- First-party data is anything you collect directly from your own customers. Declared and behavioral data are both first-party when they come from your own site, app or stores. Some writers count zero-party data as a subset of first-party data.
- Second-party data is another company’s first-party data, shared with you directly under an agreement, such as a retailer sharing purchase data with a brand it stocks.
- Third-party data is collected by a company with no direct relationship to the customer and sold or licensed onward, often assembled from many sources.
So “behavioral vs declared” and “first-party vs third-party” answer different questions. A product view on your own site is first-party behavioral data. A preference the customer set in your app is first-party declared data, which is also zero-party data.
What are the strengths and weaknesses of each?
Declared data is explicit and usually comes with clear consent, since the customer handed it over. Its weaknesses come from the same source. It is sparse, because most people fill in as few fields as they can. It goes stale, because nobody returns to a form when their life changes. And it can be aspirational: people describe who they would like to be, so the self-declared marathon runner may walk the dog twice a week.
Behavioral data is plentiful and current. Every visit adds to it without asking the customer for anything, and it reflects this week rather than the day the account was opened. The cost is interpretation. Ten views of a product might mean strong interest or a hard decision, and a purchase might be a gift for someone else. It also needs governance: under the GDPR and similar laws, tracking usually needs consent or another lawful basis, and the customer has to be able to see and withdraw it.
How do behavioral and declared data compare?
| Declared data | Behavioral data | |
|---|---|---|
| Source | Forms, preference centers, surveys, profile fields | Events from the site, app and backend: views, searches, clicks, purchases |
| Freshness | As of the moment it was given, then ages | Updated with every action |
| Volume | A handful of fields per customer | Many events per visit |
| Accuracy | Exact about what was said, but can be out of date or aspirational | Exact about what happened, but its meaning has to be inferred |
| Consent | Given knowingly, at the point of entry | Needs a lawful basis for tracking and clear governance |
| Typical uses | Personal details, communication preferences, sizes, stated goals | Recommendations, search ranking, in-session offers, churn and intent models |
What should you do when behavioral and declared data disagree?
They often will. A customer told you at signup that their favorite activity is hiking. For the last month they have browsed nothing but running shoes.
Neither field is wrong. The declared value records what mattered to them when they signed up, and the behavior shows what they are shopping for now. A few rules settle most conflicts:
- Let declared data set limits. A stated shoe size, a dietary restriction or an opt-out from a channel should hold until the customer changes it, whatever the behavior suggests.
- Let recent behavior lead on intent. For what to show next, a month of running shoe views is better evidence than a year-old form.
- Keep both, and record when each was set. Overwriting the declared field with an inferred one loses the customer’s own words. Store the inference beside it.
- Ask when the gap is large. A sustained difference is a good moment to show the preference center again: “Still into hiking, or should we show you more running gear?” The answer becomes fresh declared data.
Example: a declared preference beside a behavioral attribute
The hiking customer’s declared preference is one field in the account record, written when they filled in the signup form:
{ "user_id": "u_51920", "favorite_activity": "hiking", "set_at": "2025-09-02" }
The behavioral counterpart is an attribute, a value computed from events about one key. Here it is the product category this customer viewed most over the last 30 days, defined in the Signals Python SDK:
from datetime import timedelta
from snowplow_signals import Attribute, EntityProperty, Event, StreamAttributeGroup, user_id
product_view = Event(name="product_view", vendor="com.example", version="1-0-0")
top_category_30d = Attribute(
name="top_category_30d",
type="string",
events=[product_view],
aggregation="most_frequent",
property=EntityProperty(vendor="com.example", name="product", major_version=1, path="category"),
period=timedelta(days=30),
)
shopper_interests = StreamAttributeGroup(
name="shopper_interests",
version=1,
attribute_key=user_id,
owner="you@example.com",
attributes=[top_category_30d],
)
Read together, the record says favorite_activity: "hiking" and top_category_30d: "running_shoes". The homepage can lead with running shoes because that is what this customer is
shopping for, keep a hiking row lower down because they once said it mattered, and offer the
preference prompt from the section above. The declared field changes only when the customer
edits it. The attribute changes with every product view, so it follows the customer if running
gives way to something else next month. Why that matters for anything reading the profile during
a visit is covered in
why a customer profile needs to be real-time.
Computing behavioral attributes in real time
The declared half of a profile is easy to keep: store the field, update it when the customer does. The behavioral half has to be computed from a stream of events and kept current between visits and during them.
Snowplow Signals is one option for that half. It collects events, computes attributes like
top_category_30d on the key you choose, such as a user, a session or an account, and serves
them to your app while the customer is still there. Your declared data stays where it is, and
whatever reads the profile, a recommender, an email tool or an agent, decides what to do with
both. More topics on profiles and identity are in
customer profiles and identity.
See it on your own traffic
Add the SDK, define one attribute, and see an attribute updating against your own traffic in the first session. The free tier runs on the real engine: no card, no sales call.