Selling through a Shopify store? Your pages use an offer tag instead of button attributes. See Connect your store pages.
1. Add the script to your upsell and downsell pages
Paste this as the last element before the closing</body> tag, on every upsell and downsell page of the funnel:
2. Mark the buttons
The script does not care what your buttons look like. It only looks for these attributes:
Write the attributes bare:
data-pag-yes, not data-pag-yes="true". Each offer inside a step shows the snippet data-pag-yes data-pag-offer="CODE" with a Copy button next to it, with your offer code already filled in.
The pair, ready to copy
YOUR_OFFER_CODE for the code shown on your step. To see what the buyer gets on each click, read What the buyer sees.
The domain has to match exactly
Each page must be served from the same domain you entered in the step’s Page URL.www.yourstore.com and yourstore.com are different domains here, and a page whose domain does not match cannot charge the buyer.
Test it end to end
Opening a funnel page directly in the browser shows a notice instead of your content, and that is expected: the page only runs when the buyer arrives from the checkout. To test for real, make a test purchase of the offer the funnel is attached to and follow the flow. A test purchase is a real purchase: it charges the card you use, so refund it from the order afterwards. Use a different email for each test purchase. The checkout accepts one purchase of the same product per email per day (UTC): a second one shows “Purchase already completed” and charges nothing, so it never reaches your funnel.A test purchase that lands on the upsell page
Next step
How it works
What the buyer sees on each click, how funnel purchases are charged and how they reach the order.