Using Anonymized Customer Data in Sensefuel
Targeted Experiences & Search Layer Customization
Sensefuel allows you to leverage anonymized customer data to enhance user experience in two ways:
- Targeting: adapting showcases, recommendations or business rules based on customer segments. (Sensefuel Max)
- Search layer customization: adjusting how products and UI elements are displayed inside the search layer based on the user’s anonymized attributes. This capability is available for all Sensefuel environments where anonymized customer data can be read by the JavaScript tag.
1. What Is Anonymized Customer Data?
Anonymized customer data refers to non‑identifying user attributes, such as:
connected: user logged in (true/false)- Loyalty program membership (true/false)
- Customer segment (e.g., gold / silver / bronze)
isPro: B2B customer flag (true/false)- Any other segmentation or eligibility flag provided by your website
✔ No personal data is transmitted.
✔ Sensefuel reads the data but does not store or modify it.
✔ All values remain fully anonymized.
2. Use Case Categories
Sensefuel enables two main types of usage for anonymized customer data.
2.1 Targeting (Showcases, Recommendations, Business Rules)
If you have subscribed to Sensefuel Max, anonymized customer data can be used to target specific content or rules to certain customer segments.
Examples
✅ Targeted Showcases
Show a dedicated showcase to “gold” loyalty members only.
✅ Targeted Recommendations
Display exclusive recommendation blocks for logged-in users.
2.2 Search Layer Customization (UI & Product Presentation)
Anonymized customer data can also modify the appearance or content on your product tiles of the search layer.
Examples
✅ Example 1:
Display a special icon/flag/pictogram on products only for logged‑in users eligible for private sales.
✅ Example 2:
Display pre‑tax prices exclusively for B2B users (isPro = true) who are logged in.
This allows you to adapt product plots, badges, information blocks, callouts, and other UI signals inside the search layer.
3. Providing Anonymized Customer Data to Sensefuel
Sensefuel retrieves anonymized customer data through:
- A global variable
- A synchronous function
- An asynchronous function returning a Promise
- A dataLayer variable
Sensefuel reads these values at runtime but does not store or alter them.
3.1 Accepted Signature Formats
<data> function(): <data> function(): <Promise<data>>
You may provide:
- A plain object
- A function returning the object
- A Promise resolving to the object
Sensefuel will retrieve the data using the format you choose.
4. Data Structure Example
{
"connected": true,
"loyalty_program": {
"gold": {
"member": true
}
},
"isPro": false
}Field description examples
| Field | Type | Description |
|---|---|---|
connected | boolean | Indicates if user is logged into their account |
loyalty_program | object | Loyalty programs and eligibility |
<program_name> | string | Name of a loyalty program (e.g., “gold”) |
member | boolean | Whether the user is eligible for this loyalty program |
isPro | boolean | Indicates a B2B customer |
Optimization recommendation
To keep the object lightweight, remove loyalty program entries where member = false.
Possible merging
These attributes may be merged with additional data structures (e.g., “add to cart”, “store context”) if needed.
5. Availability Requirements
Your anonymized customer data provider (function, variable or dataLayer) must be:
- Present across the entire website,
- Accessible before the Sensefuel JavaScript tag executes,
- Consistent in structure.
This ensures correct targeting and UI customization at all times.
6. Activation & Configuration
To configure customer segments and enable the targeting logic:
👉 Contact your Customer Success Manager.
They will assist with:
- Segment creation in Sensefuel's platform
- Data integration validation
- Activation of targeting logic (requires Sensefuel Max)
- Search layer customization behavior