All questions

How do I target shoppers who reach checkout but do not buy on VTEX?

Asked by lucas_ferraz on

Llucas_ferraz

our VTEX store now streams the checkout events into Croct and i want an experience that nudges people who start checkout but leave before placing the order.

what i am not sure about is which CQL actually matches the checkout stage versus just a cart that has stuff in it. those feel like two different audiences to me and i do not want to fire the nudge at someone who is only browsing the cart

Was this helpful?

2 answers

RSRafael SouzaAccepted answer

They are two different things, yes. Checkout starts is one of the store events the VTEX integration auto-tracks, next to product views, cart views, cart modifications and order placements, so the cart context carries the stage the shopper reached.

For the checkout stage specifically you want:

cart's stage is "checkout" and not user has made purchase

That is distinct from a cart that just has items in it. cart is empty would be the opposite end, and cart's stage is "checkout" only matches once they actually reached that step.

One thing to keep in mind: undefined variables evaluate to false by design, so anyone who never got to checkout simply will not match, which is exactly the guard you want here. The audience is evaluated in real time on each interaction, so as soon as they hit checkout without ordering they fall into it and the nudge can show.

Was this helpful?
Llucas_ferraz

that matched exactly what i needed, the stage condition is the piece i was missing. thanks

PNPriya Nair

If you want to be a bit more selective you can combine the stage with a subtotal threshold so the nudge only fires above a certain basket value, e.g.

cart's stage is "checkout" and cart's subtotal is less than 100

or the inverse if you only care about larger carts. Since the cart events feed the subtotal in real time it updates as they add or remove items. There is a related pattern for the free-shipping subtotal nudge that uses the same subtotal conditions if you want more examples, and retargeting on a completed goal if you later want to follow up with people who did convert.

Was this helpful?
Still have questions?