Skip to main content

Post-purchase trails and optimizers

How Lasso's post-purchase trails and optimizers work — building upsell, downsell, and order bump funnels, offer types, analytics, currency, and troubleshooting.

Trails are Lasso's post-purchase funnel system. After a customer completes their initial checkout, they can be shown a branching sequence of additional offers (upsells, downsells, and order bumps) before landing on the confirmation page. This article covers how trails work, how to build them, and what to do when something isn't behaving as expected.

Key concepts

Trails are the funnels themselves — the branching flow that decides which offers a customer sees after checkout.

Optimizers are the individual offers that live inside trails. The Optimizers tab is where all of your additional offers live: upsells, downsells, and order bumps. "Upsell" and "downsell" are really just labels — technically an upsell can be placed on a decline branch and a downsell on an accept branch — but the industry convention is:

  • Upsell — a more premium or complementary offer, typically shown right after checkout or after an accepted offer.

  • Downsell — a cheaper alternative, typically shown after a customer declines a previous offer.

  • Order bump — an additional offer that appears on the payment page itself (pre-checkout), not in the post-purchase trail.

How trails work

Trails are branching, not linear. At each step, you decide:

  • What offer to show

  • What happens if the customer accepts (show another offer, or send to confirmation)

  • What happens if the customer declines (show another offer, or send to confirmation)

A trail can go up to six offers deep, so a customer can see up to six offers in a row in a single trail. You can configure any combination of accept/decline branches across those levels.

Trail rules and split testing

Each trail has a rule that determines which customers fall into it:

  • Always show — every eligible customer enters this trail.

  • Cart total — trail shows when the original checkout cart total hits a threshold.

  • Product purchased — trail shows when a specific product was purchased in the original checkout.

You can have up to 20 trails. When a customer matches more than one trail, Lasso uses the first matching trail from the top of your list and skips the rest. Each customer only enters one trail.

Because Always show matches every customer, any trail listed below it never runs. Put your Always show trail last, as a catch-all for customers who don't match a more specific trail above it.

To change the order, go to Flows → Post Purchase Trails and click Reorder (it appears once you have two or more trails), drag the trails into the order you want, and click Save.

To split test, click an offer in your trail and choose A/B test offer. Split tests run on individual offers, not on whole trails.

Trail status

Trails can be set to active or inactive. Inactive trails won't show to customers — useful for building out a trail before going live, or pausing a trail without deleting it.

Offer types

When you create an optimizer, you choose from three offer types:

  • Single product — a simple offer for one product to be added to the order.

  • Bundle — a bundle of multiple products offered together. Choose Bundle Type = Subscription Bundle to show a Choose Your Pack page with up to three subscription packs and, optionally, up to three one-time packs behind a Subscribe / One-time purchase switch. See Subscription Bundle offers.

  • Recommended products — Lasso pulls product recommendations from Shopify based on the customer's original order, so the offer is dynamically related to what they just bought. Up to 10 recommended products are pulled into the template.

Each offer type has its own base templates to start from, and you can fully customize the offer page using our drag-and-drop editor.

Adding video to an offer page. Use the Custom Video block in the editor and paste a YouTube or Vimeo link.

Product requirements

Offers must use products that already exist in your Shopify store. You can't create a product in Lasso and use it in a post-purchase offer.

Unlisted Shopify products are not pulled into Lasso and can't be used in offers or the Shipping Protection selector.

The Shipping Protection product selector supports single-variant products only.

Customers can choose the variant on post-purchase offers

If an offer uses a product that has multiple variants (for example size or color), the customer is shown a variant selector and can pick the variant they want — on the live post-purchase trail and in the preview. You don't need to enable anything: as long as you add a multi-variant product when creating the offer/optimizer, the selector appears automatically.

This works for every offer type — single product, bundle, and recommended products — except subscription offers, which don't support customer variant selection. On a Subscription Bundle offer, Subscribe cards sell the variant on their plan, and One-time cards show a dropdown for each product option.

Payment method limitations

Customers who paid with a card, Apple Pay, Google Pay or PayPal see your post-purchase offers.

Customers who paid any other way skip the trail and go straight to the confirmation page. That includes Klarna, iDEAL and other local payment methods, and a PayPal account connected in the Lasso dashboard (orders show as PayPal Payments Standard).

Currency and pricing on post-purchase offers

Post-purchase offers are shown and charged in the customer's checkout-session currency, consistent with the rest of the checkout. If a customer checks out in a currency other than your store's base currency, the offer's price is converted from your base currency to the customer's checkout currency at the current FX rate, so the customer sees and pays for the offer in the same currency they used at checkout.

Shopify Markets market-specific prices are not used for post-purchase offers. On the checkout itself, the products were added from your Shopify storefront session, so any fixed or market-specific prices you've set in Shopify Markets are respected there. Post-purchase offers work differently: Shopify only sends Lasso the product's price in your store's base currency, and there's no way for Lasso to pull the market-specific prices for offer products. The offer price is therefore always calculated by converting the base price at the current FX rate. This means an offer's price can differ slightly from the fixed market price set in Shopify — for example, a product with a fixed Canada market price of CAD $69.99 may show on the offer page as CAD $71.99 if that's the live conversion of the USD base price. This is expected behavior, not a pricing bug.

As with any order, the resulting order is recorded in Shopify in your store's base currency — the customer is charged in their checkout currency, and only the Shopify order representation is converted to your base currency. (See the multi-currency article for the full explanation of how checkout currency and base-currency conversion work.)

Tax on post-purchase offers

Offer pages show only the offer price, with no tax. If tax is on in your Whop account, Whop adds tax when the customer accepts the offer, using the same address as the original checkout. That tax is added to the checkout's tax, and the confirmation page shows the combined total. For when it also appears on the Shopify order, see How Sales Tax and VAT Work with Lasso.

Languages on post-purchase offer pages

Unlike the checkout itself, post-purchase offer pages don't automatically follow the customer's language. Each offer page is a saved template in a single language, and you need to generate a version of the page for every language you want to support.

To add languages to an offer:

  1. Open the offer in the optimizer editor.

  2. In the top left, you'll see the page's current language (for example, "English"). Click Add language and choose the language you want to add.

  3. Lasso uses AI to generate a new version of the offer page in that language, translated from the original page. Each language version is saved as its own template, and you can open and edit each one independently — for example, to adjust a translation.

When a customer goes through the post-purchase flow, Lasso matches their Shopify storefront session language (the same language that drives the checkout language) to your generated language versions and shows the matching page. If no version exists for the customer's language, the original offer page is shown instead — so if your original page is in English and you haven't added Spanish, customers browsing in Spanish will see the English page.

Building a trail

You can build trails starting from either the Post Purchase Trails tab or the Optimizers tab — both flows lead to the same result.

Starting from Post Purchase Trails

  1. Go to the Post Purchase Trails tab and create a new trail.

  2. Set the rule that determines which customers fall into the trail (always show, cart total, or product purchased).

  3. Add offers to the flow:

    • Select existing offers from your Optimizers library, or

    • Create new offers directly from the trail builder (you'll be taken to the Optimizers tab to create the offer, then it gets added to the trail).

  4. For each offer, configure the accept and decline branches:

    • Show another offer, or

    • Send the customer to the confirmation page.

  5. Activate the trail when you're ready to go live.

Starting from Optimizers

  1. Go to the Optimizers tab and create your offers first (single product, bundle, or recommended products).

  2. Once your offers exist, go to the Post Purchase Trails tab and build a trail using those existing offers.

There's no right or wrong order — pick whichever workflow fits how you think about your funnel.

Analytics

Lasso shows three different views of trail performance:

  • Trail-level analytics — high-level performance for the trail as a whole (revenue, AOV, etc.).

  • Offer-position analytics — performance for a specific offer at its current position in the trail (revenue, impressions, orders, CVR). When you move an offer to a different position or into a different trail, analytics for that new position start fresh — because it's effectively a new placement.

  • All-time offer analytics — performance for the offer across all positions and time, viewable in the Optimizers tab. Historical data is preserved, so you can see how an offer performed in previous positions even after moving it.

Order bumps (payment page)

Order bumps live in the Optimizers tab alongside upsells and downsells, but they don't behave like post-purchase offers. Order bumps appear on the payment page before checkout completes, and they're typically larger offers that the customer can manually add to their order (unlike Shipping Protection, which auto-adds a product that the customer can remove).

Shipping Protection

Shipping Protection is configured separately in the payment page editor. You select a product (usually a shipping protection product from your Shopify store). It's automatically added to the order when the customer reaches checkout, and the customer can remove it. If you've turned off Checked by default, it starts unchecked and customers add it themselves. Only single-variant products can be used for Shipping Protection.

Custom-coded HTML offers

Most merchants build offers with the drag-and-drop editor and never touch code. Advanced merchants can instead hand-code an offer page and paste it into the custom-HTML block (or import it through the AI builder). This section is the developer reference for that path — share it with any merchant who asks "how do I wire up my own HTML?"

Size limit: a custom-coded offer page can be up to 10MB when you save it, so larger pages with embedded styles, scripts, or inline images can be saved.

How it works under the hood

At render time Lasso does two things to the merchant's HTML: (1) it replaces every [[product.*]] / [[store.*]] merge token with real, currency-converted data, and (2) it injects a hidden "bridge" script that listens for clicks on elements carrying specific data-* attributes and drives the Accept / Decline / variant logic. The merchant's job is simply to put the right attributes and tokens in their markup — Lasso handles the rest.

Interaction attributes — the functional contract

These data-* attributes are what make an offer work. Without an accept and a decline hook, the offer has no way to advance the trail.

Buttons

Attribute

Placed on

What it does

data-action="accept-upsell" (required)

The Accept / Add-to-order button

Charges the offer product and advances to the accept branch.

data-action="decline-offer" (required)

The Decline / No-thanks button

Skips the offer and advances to the decline branch.

data-action="accept-recommendation" (recommended-products only)

The Add button inside each recommendation card

Accepts that specific recommended product. Also needs data-product-index="N" and must sit inside a matching [data-rec-card="N"].

Single product with variants

Attribute

Placed on

What it does

data-variant-select (optional)

A hidden <input> or a <select>

The element's .value must hold the selected Shopify variant id. Lasso reads it when the customer accepts.

data-variant-price-cents (optional)

Same element as above

Per-variant price in cents. The merchant's JS updates it on selection so the customer is charged the correct variant price.

Bundle / quantity tiers

Attribute

Placed on

What it does

data-quantity-selector

Wrapper around all tier rows

Marks the tier group.

data-tier-row

Each selectable tier

Makes the row selectable.

data-tier-qty="N"

Each tier row

Quantity added for that tier.

data-tier-price-cents="N"

Each tier row

Total price (cents) for that tier — used as the price override.

data-tier-selected, data-tier-selected-color, data-tier-selected-bg, data-radio

Tier rows / radio element

Selection state and styling hooks — Lasso maintains these visually.

Recommended-products grid & timed reveal

Attribute

What it does

data-rec-grid

Container for the recommendation cards.

data-rec-card="N"

Each recommendation card (index N).

data-rec-variant

Hidden input holding the chosen variant id for that card.

data-reveal-seconds="N"

Hides the CTA / bundle until N seconds elapse — for VSL-style timed offers.

Minimum viable offer: one element with data-action="accept-upsell" and one with data-action="decline-offer". Everything else — variants, tiers, timers — is opt-in.

Data tokens — showing live product info

Anywhere in the markup, these [[…]] tokens are swapped for real values at render time, formatted in the customer's checkout currency.

Product & store tokens

Token

Renders

[[product.title]]

Product name

[[product.image]]

First product image URL

[[product.offerPrice]]

Discounted offer price (formatted — safe for display)

[[product.originalPrice]] · [[product.customPrice]]

Strikethrough / MSRP baseline (formatted)

[[product.savingsAmount]] · [[product.savings]]

Amount saved (formatted)

[[product.discountPercent]] · [[product.discountAmount]]

Discount percentage, e.g. 15%

[[product.priceCents]]

Offer price in cents (for JS math — not for display)

[[product.handle]] · [[product.id]]

Shopify handle / id

[[product.variantsJSON]]

JSON array of all variants — for building dropdowns dynamically

[[store.logo]] · [[store.currency]]

Store logo URL / currency code

Per-variant tokens — [[product.variants[N].KEY]]

Replace N with the variant index (0, 1, 2…). Available keys:

Key

Renders

id

Shopify variant id (what you feed to data-variant-select)

title · image

Variant title / image URL

offerPrice · originalPrice · savings

Formatted prices for that variant (safe for display)

discountPercent

Discount %, e.g. 15%

priceCents · priceFloat · comparePriceFloat

Raw numbers for that variant (for JS math — not for display)

option0 · option1 · …

Option values, e.g. Large, Black

Gotcha — currency symbol on raw numbers: the formatted tokens (offerPrice, originalPrice, savings) convert to the customer's checkout currency. The raw tokens (priceCents, priceFloat, comparePriceFloat) are always base-currency numbers with no symbol. If a merchant's template does '$' + priceFloat, a customer paying in euros will still see a $. Tell merchants: use the formatted tokens for anything the customer sees, and reserve the raw tokens for calculations only.

If you're still on the legacy single-offer flow

Some accounts are still on the legacy post-purchase flow, where a single offer shows after checkout instead of a full trail. You can upgrade to trails:

  1. Go to the Optimizers tab.

  2. Click the "Upgrade to trails" button at the top of the page.

The upgrade request goes to our support team, who will approve it on the backend. Once approved, your legacy single offer is automatically migrated into a one-offer trail that's set to active. You'll then be able to build out the full trail with branching, additional offers, and rules.

The upgrade is completely safe — nothing breaks, no data is lost, and your existing offer keeps running throughout. Once you're on trails, you can fully customize the funnel.

Troubleshooting

Trail isn't showing for customers I expect to see it

Most common causes:

  • Payment method. Customers who paid with Klarna, iDEAL, another local payment method, or PayPal connected in the Lasso dashboard (PayPal Payments Standard) skip the trail by design. Check how the original orders were paid; if most used one of these methods, that explains it.

  • Trail rule isn't matching. If your trail rule is "cart total over $X" or "product X purchased," double-check the rule against the actual orders. A common one: customers' cart totals after discounts being below your threshold.

  • A trail higher in your list matched first. Customers only enter the first trail they match, from the top of the list. If an Always show trail, or a broader rule, sits above this one, it catches those customers first. Reorder your trails so the most specific ones are at the top.

  • Trail is inactive. Verify the trail status is set to active.

An offer isn't appearing in the optimizer selector when building a trail

The product behind the offer needs to exist in your Shopify store. Offers can only be built from real Shopify products.

Make sure the Shopify product isn't unlisted — unlisted products aren't pulled into Lasso.

My offer shows in English even though my store is in another language

Post-purchase offer pages don't inherit the storefront language automatically — this works differently from the checkout. You need to add each language to the offer in the optimizer editor (click Add language in the top left of the editor) so a translated version of the page is generated for that language. If a customer's language has no generated version, the original offer page — usually English — is shown. See the "Languages on post-purchase offer pages" section above.

My offer price doesn't match the market price I set in Shopify

This is expected behavior. Post-purchase offers don't use the fixed or market-specific prices from Shopify Markets — Shopify only sends Lasso the product's base-currency price, so the offer price is always the base price converted to the customer's session currency at the current FX rate. Market-specific prices are respected on the checkout itself (where products come from the storefront session), but not on post-purchase offers. See the "Currency and pricing on post-purchase offers" section above.

Analytics between the trail view and the Optimizers tab don't match

This is expected and not a bug.

  • Trail-level / offer-position analytics track an offer in its specific position in the trail. When an offer moves to a different position (or you create a new trail), analytics for that new placement start fresh.

  • Optimizers tab analytics are all-time totals for the offer across every position it's ever been in.

So you'll see different numbers between the two views — they're measuring different things.

My Shipping Protection product won't appear in the selector

Shipping Protection only supports single-variant products. If the product has multiple variants, it won't appear in the selector. Either create a single-variant version of the product in Shopify, or use a different product.

My custom-coded offer buttons don't do anything

The Accept and Decline buttons only work if they carry the exact interaction attributes. Confirm the markup has one element with data-action="accept-upsell" and one with data-action="decline-offer" — spelled exactly, hyphens included. A styled <button> with the right class but no data-action will look correct and do nothing. See the "Custom-coded HTML offers" section above.

My custom-coded offer shows the wrong currency symbol

This is almost always caused by building a price string from a raw token — for example '$' + [[product.priceCents]] — which hard-codes a symbol and uses the base-currency number. Switch the display to a formatted token ([[product.offerPrice]], [[product.originalPrice]]), which already includes the correct symbol and the converted amount for the customer's checkout currency. See the "Custom-coded HTML offers" and "Currency and pricing on post-purchase offers" sections above.

Related questions

  • How do post-purchase trails work?

  • What's the difference between an upsell, downsell, and order bump?

  • How do I build a post-purchase trail?

  • Why isn't my trail showing for customers?

  • Which trail does a customer see if they match more than one?

  • Where should my Always Show trail go?

  • How do I reorder my trails?

  • How many trails can I have?

  • How many offers can a trail have?

  • What payment methods support post-purchase offers?

  • What currency are post-purchase offers shown and charged in?

  • Does my post-purchase offer price convert to the customer's currency?

  • Does Lasso use my Shopify Markets fixed or market-specific prices for post-purchase offers?

  • Why is my upsell price different from the market price I set in Shopify?

  • Do customers see tax on post-purchase offers?

  • Is tax charged on upsells?

  • Why is my analytics different between the trail view and the Optimizers tab?

  • Can customers choose a size or color on a post-purchase offer?

  • Do post-purchase offers show a variant selector?

  • Can I offer a subscription or a one-time pack as a post-purchase offer?

  • Can I add a video to my post-purchase offer page?

  • Can I use YouTube or Vimeo videos on offer pages?

  • How do I translate my post-purchase offers into another language?

  • Why is my post-purchase offer showing in English when my store is in Spanish?

  • Do post-purchase offer pages follow my Shopify store language?

  • How do I hand-code my own post-purchase offer in HTML?

  • What data attributes do custom offer buttons need?

  • Which merge tokens can I use in a custom offer page?

  • Is there a size limit for custom-coded offer pages?

  • Why don't my custom-coded offer buttons do anything?

  • Why does my custom-coded offer show the wrong currency symbol?

Did this answer your question?