A badge is a special visitor attribute for capturing interesting behavior about your customers. Badges are the building blocks for discovering Audiences.
In this article:
Badges represent visitor behavior patterns that are relevant to your business. A behavior is defined using attributes and rules that describe its conditions. For example, you might be interested in identifying frequent visitors that have browsed your site but not made a purchase.
The following behaviors might characterize this type of visitor:
This pattern of behavior could be configured as a badge attribute called "Window Shopper" which would identify those visitors that match the behavior.
Badges are assigned to and removed from visitors based on the logic of their rules. Each new visitor is assigned a default badge called "Unbadged". This badge is automatically removed once the Visitor earns a custom badge. Badges are assigned (and removed) through the following enrichments of the badge attribute:
Badge associations allow you to quickly assign multiple badges based on other badges the visitor has earned. Typically, you would trigger a badge assignment based on a certain browsing behavior or criteria, but with badge associations you can trigger more than one badge assignment after the visitor has successfully earned the qualifying badge(s). Learn more about setting up Badge associations.
In this example we are identifying "Cart Abandoners", the segment of visitors who add items in their shopping cart and leave without buying anything. To find out if a visitor has indeed abandoned the shopping cart, you have to evaluate two conditions:
1. Did the visitor add something to their cart?
2. Did the visitor navigate away from your site without purchasing?
If both conditions are true, the visitor qualifies as a "Cart Abandoner" and will receive the corresponding badge, which is applied at the end of the visit.
To create and apply the badge:
event_name. These are used in rule conditions to determine if an "Add to Cart" event has occurred and if the "Order Confirmation" page was reached.
event_nameEQUALS "cart_add" (or a rule that matches your implementation)
page_typeEQUALS "order" (or a rule that matches your implementation)
These are other popular Badges.