- Published
- Byline
- Noam
- Filed under
- GoHighLevel Automation

One link can carry the product, the buyer’s details, the discount and the source; here is what each part of the address does and the order to add them.
How to build a checkout URL: what each part of the address does
A checkout URL is the address of a checkout step with instructions attached. Where the buyer lands is the path; what they find already chosen, filled in, applied and recorded when they get there is the query string that follows it. Built well, one link takes a contact from a text message to a checkout that already knows who they are, what they are buying, which discount applies and where the sale came from. Built carelessly, the same link shows the wrong price, rejects the promised code, or strands the buyer on a blank page. The way to build one is by parts, testing each before adding the next.
The anatomy
Every checkout URL has the same skeleton. First the host, which should be the funnel’s one canonical domain, because a link on the wrong variant of the host redirects and a redirect may drop everything after it; one canonical domain for a funnel explains why there should be exactly one. Then the path to the checkout step, copied from the builder rather than typed. Then a single question mark, and after it the parameters: key, equals sign, value, joined to one another by ampersands. Anything after a hash sign is not sent to the server at all, so a hash ends the useful part of the link. That is the whole grammar, and nearly every broken checkout link breaks one of those rules.
The five families of parameter
| Family | What it sets | Who reads it | When it is wrong |
|---|---|---|---|
| Offer selection | The product, price or plan, and quantity | The checkout step | The default product or the wrong price is shown |
| Identity prefill | Name, email, phone | The form fields on the step | Empty fields, or a stranger’s details in them |
| Discount | A coupon code | The checkout’s coupon field | An invalid-code message at the worst moment |
| Attribution | Source, medium, campaign | The tracking script and the contact’s source fields | A sale recorded as direct |
| Behaviour | The page after success, a language, a variant | The step’s own settings | The buyer left on a blank confirmation |
The keys for the first three families are whatever the builder documents, and that sentence carries a warning. A key the checkout does not recognise is ignored without an error, so a misspelt parameter looks exactly like a checkout that does not support the feature. Take the names from the documentation and test each one; do not infer them from another tool’s conventions.
Start from the plain address
Before any parameter, copy the checkout step’s own URL from the builder, open it in a private window, and complete a purchase with a test card if the processor provides one. That proves the step, the product and the redirect work with nothing attached. Then add one family at a time, reloading between each, so that when something breaks you know which addition broke it.

Prefilling the buyer’s details
A prefill link is built for one person. The CRM’s merge fields insert the contact’s name, email and phone into the link at send time, so the buyer arrives at a form already completed and only has to pay. Two rules follow. Only send a prefilled link to the person it is for, because forwarding it hands their details to whoever receives it. And remember that everything in a URL is written down along the way: in the message log, in the browser history, in analytics, in the referrer sent to the next page. An email address in a query string is a modest exposure; a card number, a password or a login code in one is unacceptable, and no checkout should ever read those from a link. Where the platform can generate a short link that resolves to the contact on arrival, prefer it to spelling the details out.
Applying a coupon from the link
Where the checkout reads a coupon parameter, the code is applied as the page loads and the buyer sees the discounted price before deciding. That is the whole appeal, and it fails in one way: the code has to exist, be active, be within its usage limits and match the product, or the page shows an invalid-code message at precisely the moment the buyer was promised a discount. coupon code setup covers the settings; the discipline for a link is to test it the day before the campaign and to check when the coupon expires against the last date the link will be sent, not the first.
Carrying attribution through
utm parameters on a checkout link record where the buyer came from, but only if something stores them. A tag dies at the first page it lands on unless the tracking script or a hidden field captures it, and the checkout is usually the last page in a sequence, not the first. So either the source was stored several pages earlier and the checkout link needs no tags, or the checkout link is the entry point, from a text or an email, and the tags belong on it. A redirect in between keeps or discards them depending on how it was built, which is one of the causes behind a tracking code that is not firing.

Encoding rules that break links
- A space becomes %20. A raw space ends the link in most messaging apps, so a name with a space in it truncates the URL.
- An ampersand inside a value becomes %26, or the checkout reads it as the start of the next parameter.
- An equals sign inside a value becomes %3D.
- Any character outside plain ASCII, an accented name for instance, must be percent-encoded, and the merge field should do that for you; check that it does.
- One question mark, at the start of the query. A second one becomes part of a value.
- Long links are cut short in some previews. Test the final link by tapping it on a handset, not by pasting it into a desktop browser.
Shortening, and what it costs
A long checkout link is ugly in a text message, and the temptation is to shorten it. A generic shortener hides where the link goes, which is also what a scam link does, so recipients and carrier filters treat it with suspicion; what governs whether an SMS arrives covers how link domains affect delivery. If the link must be short, use a short domain the business owns, and keep the parameters intact behind it, because a shortener that redirects can drop them just as any other redirect can.
A build order
- Copy the plain checkout URL and complete a test purchase.
- Add the offer parameters and confirm the right product and price appear.
- Add the coupon parameter and confirm the discounted price shows at load.
- Add the attribution tags and confirm the source lands on the contact record after a test purchase.
- Replace the test details with merge fields, send the message to yourself, and open it from the handset.
- Confirm the page after payment is the thank-you step you intended.
- Record the final link, with its parameters, wherever the campaign is documented, so the version that went out is the version that can be checked.
When not to build one
A hand-built link is a frozen decision. It is right when the offer, the price and the discount are fixed for the life of the campaign. It is wrong when the buyer needs to choose between options, when the price changes often, or when the platform’s own payment-link generator already produces the address with the parameters in place. And a link sent to a buyer who abandons it becomes the entry point for abandoned checkout recovery, so the parameters it carries are the ones that recovery sequence will inherit.

Frequently Asked Questions
What is a checkout URL?
The address of a checkout step with parameters attached after a question mark. The path decides where the buyer lands; the parameters can select the product, prefill the buyer’s details, apply a coupon, record where the sale came from and set what happens after payment.
Can I prefill the buyer’s name and email in a checkout link?
Where the checkout supports prefill parameters, yes, and the CRM’s merge fields insert each contact’s values at send time. Send a prefilled link only to the person it is for, and never include a card number, password or code, because everything in a URL is logged along the way.
How do I apply a coupon through a URL?
Add the documented coupon parameter with the code as its value; the checkout applies it at load so the discounted price is visible before the buyer decides. The code must exist, be active, be within its limits and match the product, so test the link before the campaign and check its expiry date.
Why does my checkout link say the code is invalid?
Usually because the code has expired, hit its usage limit, is restricted to a different product, or the parameter key is misspelt, which the checkout ignores silently. Open the plain link, apply the code by hand, and if that works the fault is in the parameter, not the coupon.
Do UTM parameters survive to the checkout?
Only if something stores them. A tag dies at the first page it lands on unless the tracking script or a hidden field captures it, and redirects along the way may drop it. Either store the source earlier in the funnel or put the tags on the checkout link when it is the entry point.
Why does my checkout URL break when sent by text?
Most often a space or an unencoded character in a merged value ends the link early, or a long link is cut in the preview. Percent-encode values, keep one question mark, and test by sending the message to yourself and tapping the link on a handset.
Is it safe to put customer details in a checkout URL?
Name and email are a modest exposure and acceptable in a link sent only to that person; card numbers, passwords and one-time codes are never acceptable. Where the platform can generate a short link that resolves to the contact on arrival, prefer that to spelling the details out.
We build your GoHighLevel account for you
CRM, pipelines, funnels, SMS and automation — configured for your business, not left for you to figure out.
- Setup (one-time)$850
- Ongoing (per month)$38.80
No obligation quote · reply within 1 business day
Rather set it up yourself? Start the GoHighLevel free trial
This site is independently operated and is not officially affiliated with, endorsed by, or sponsored by HighLevel LLC. The setup service is our own flat-fee work. The free-trial link is our HighLevel affiliate link: if you sign up through it, HighLevel may pay us a commission, at no extra cost to you.