How do I create an attribute to capture purchasers within the past 90 days?

Bronze Contributor
Bronze Contributor

We are using "user_days_since_last_purchase_bucket" but it's not showing up in the data layer. Is there another attribute I can use?

Screen Shot 2019-11-07 at 4.09.53 PM.png

2 REPLIES 2

How do I create an attribute to capture purchasers within the past 90 days?

Tealium Expert
Tealium Expert

hi Samantha, Have you tried using order_subtotal from checkout confirmation/thank you for purchase page? order_subtotal and order_total are standard in the UDO utag_data.

RMB

How do I create an attribute to capture purchasers within the past 90 days?

Tealium Employee

Hi @samanthapowers 

From your description and screenshot, it seems like you have an incoming data layer variable to UDH that is called user_days_since_last_purchase_bucket, and you wish to assign or unassign a badge based on this.

I notice that in your screenshot, the rule on the assign enrichment is not using the same data layer variable ("user_days_since_last_purchase") as the rule on the remove enrichment ("user_days_since_last_purchase_bucket")

Your problem might be as simple as that.

Public