You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Promo codes: the "Promo codes" setting of a site binds a pool of OneTrace promo codes to a cart rule ("pool_key = rule id" per line). Every 5 minutes (agent) new and changed codes of the pool come by the cursor of the platform and become one-order coupons of the rule with the expiry of the code; coupons of other rules with the same code are left as they are. The connection check warns about a missing promo.read permission.
Referrals: a new user with the tracker's cdp_ref cookie of a ?ref= link — the friend's code is sent to the platform by an agent (loyalty()->refer()), repeated while the user is unknown to it; the friend gets the welcome reward at once.
The component onetrace:loyalty.account: the referral link with a copy button, friends who came and the points for them, active promo codes of the customer; referral rewards in the history.