> For the complete documentation index, see [llms.txt](https://docs.roadmap.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roadmap.so/loyalty-and-rewards/b2b-loyalty/b2b-loyalty-and-klaviyo.md).

# B2B loyalty and Klaviyo

How Klaviyo behaves for customers in a B2B company program — which loyalty properties are removed, which events still fire, and how to split your flows so B2B members get relevant emails.

Klaviyo tracks individual customer profiles. B2B members have company-level loyalty, so Roadmap handles their loyalty data differently.

#### Loyalty profile properties are removed

For D2C customers, Roadmap writes `roadmap_loyalty_*` properties to Klaviyo profiles.

When a customer joins a B2B company, Roadmap removes those properties. It stops writing them while the customer remains a company member.

The customer leaves Klaviyo segments and flows based on personal points, tiers, or expiry. Subscription, review, and account properties remain unchanged.

#### Points earned still fires

B2B members can still earn company points from orders. A points-earned event reaches Klaviyo for those orders.

#### Split points-earned flows

Use a Klaviyo conditional split to give B2B members the right message. Roadmap applies each B2B tier’s customer tag to company members.

Add a conditional split on the **Shopify tags** profile property:

* Send tagged members to a B2B branch with company-balance content.
* Keep all other members in the D2C branch.

{% hint style="warning" %}
Add the tag split before enabling B2B loyalty. Otherwise, B2B members receive D2C emails with unavailable personal-balance placeholders.
{% endhint %}

#### Related guides

* [B2B membership tiers](/loyalty-and-rewards/b2b-loyalty/b2b-membership-tiers.md)
* [Roadmap Klaviyo metrics](/loyalty-and-rewards/loyalty-klaviyo-integration/loyalty-klaviyo-overview.md)
* [Loyalty Klaviyo code snippets](/loyalty-and-rewards/loyalty-klaviyo-integration/loyalty-profile-properties-and-email-snippets.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.roadmap.so/loyalty-and-rewards/b2b-loyalty/b2b-loyalty-and-klaviyo.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
