How to add Lemon Squeezy to your website
Lemon Squeezy is a merchant-of-record platform for selling digital products and software, used by software makers, template sellers and digital product creators. Here's how to put it on your own website, which embed option to pick, and what goes wrong.
Quick answer
Get the code from your Lemon Squeezy dashboard on the product, under Share, where checkout links and overlay embed code are generated. For most people the right choice is the checkout link — a hosted checkout URL behind a button. Paste it into a code or embed block on your site — not a plain text field — then place it beside your main call to action and test the whole flow on a phone before relying on it.
Lemon Squeezy: which option to use
| Option | What it does |
|---|---|
| Checkout link | A hosted checkout URL behind a button. |
| Overlay checkout | A script that opens checkout over your page without a redirect. |
| Embedded checkout | Checkout rendered inline within your own page. |
Step-by-step
- 1
Find the code or link in your account
Lemon Squeezy keeps this in your Lemon Squeezy dashboard on the product, under Share, where checkout links and overlay embed code are generated. Copy what you need before touching your website — most of the time people lose is spent hunting for the snippet, not installing it.
- 2
Pick the right option for the job
The table above is the decision. Checkout link: A hosted checkout URL behind a button. Overlay checkout: A script that opens checkout over your page without a redirect. Choosing before you paste saves rebuilding the section later.
- 3
Paste it into a code or embed block
This needs an HTML, code or embed block — not a plain text field, where the code will simply appear as text on your page. On Adviita, ask the AI editor to add an embed section and drop the code in. On WordPress use a Custom HTML block, on Squarespace a Code block (Business plan or above), and on Wix an Embed HTML element.
- 4
Put it where the decision happens
Getting paid should take the customer as few taps as possible — every extra step is money left on the table. A widget three scrolls down does a fraction of the work of the same widget beside your main call to action. Decide what the page is for, then place it at the point the visitor is deciding.
- 5
Check it on an actual phone
Most visitors to a small business website arrive on a phone, and embeds are where mobile layouts break. Open your live site on your own phone and confirm it loads, fits the screen without sideways scrolling, and does not push your contact button out of view. Third-party embeds are also the most common cause of a slow page, so if it noticeably delays loading, consider a plain link instead.
- 6
Test it end to end before you rely on it
Run through the whole flow yourself as a customer would — make a small real payment — and confirm what should happen actually happens. Broken embeds fail silently, and the first person to notice is usually a customer who has already given up.
Tips & best practices
- ▸Lemon Squeezy acts as merchant of record, meaning it handles global sales tax compliance for you. That is the reason to pay its fee rather than using Stripe directly.
- ▸The overlay needs its script loaded on the page for the button to work — a link pasted without the script simply navigates away, which is fine but not what you configured.
- ▸Fees are higher than raw payment processing because of the tax handling. Worth it for cross-border digital sales, less so for a single-country service business.
- ▸Re-test the embed after any change to your site, your plan, or the connected account — third-party widgets break quietly and nothing tells you.
Common questions
What is a merchant of record and why does it matter?
+−
It means Lemon Squeezy is legally the seller, so it takes on the obligation to collect and remit sales tax and VAT in every jurisdiction your customers buy from. For digital products sold internationally that removes a genuinely hard compliance problem, which is what the higher fee buys you.
How do I add Lemon Squeezy checkout to my site?
+−
Copy the checkout link or overlay code from the Share section of your product. A plain link behind a button works everywhere. For the overlay — checkout opening over your page rather than redirecting — you also need Lemon Squeezy's script on the page, so paste both parts.
Do I need a developer to add Lemon Squeezy to my site?
+−
No. Every option here is copy and paste into a code or embed block, which every mainstream website builder provides. The only genuine blocker is a builder or plan that does not allow custom code at all — Squarespace, for instance, requires a Business plan or above for code blocks.
Will adding Lemon Squeezy slow down my website?
+−
Any third-party embed has some cost, because it loads code from another company's servers. One is usually unnoticeable; four or five on the same page is where small business sites become visibly slow. If page speed matters to you, prefer a plain link over a script wherever the option exists, and keep embeds to the pages that genuinely need them.