URL parameters
In this article:
- Send customers directly to checkout
- Autofill your checkout form
- Link your customer directly to a variant, version, or tier
- Auto-select payment frequency for your membership
- Set a referring domain on your own site
- Discounts codes
- Using more than one URL parameter
- Here are some example URLs to test out & get inspired
You can use URL parameters to save time for your customers and increase your conversion rate by:
- Auto-filling information
- Select a specific product version
- Take them directly to their shopping cart
Send customers directly to checkout
To send the customer directly to the checkout page upon clicking the link, simply add ?wanted=true to the end of any product link.
Autofill your checkout form
You can optionally autofill every field within the Gumroad checkout flow using URL parameters, including
Field | Example parameter |
?email= | |
Pay-what-you-want price | ?price= |
Quantity | ?quantity= |
Variants | ?variant= |
Payment frequency for subscriptions | ?yearly= |
Custom Fields | ?CustomFieldName1= |
Discounts | {YourProductID}/{YourDiscountCode} |
Note: This will also work with our overlay feature and custom buttons on your website.
Link your customer directly to a variant, version, or tier
To link directly to a variant, version, or tier:
- Navigate to the product’s edit page
- Scroll down to the variant, version, or tier
- Click the “Share” button next to the name of your variant to copy the link
Auto-select payment frequency for your membership
If you have a Membership product, you can direct your customer to a pre-selected payment frequency using the "monthly", "quarterly", "biannually", or "yearly" URL parameters.
Example:
Set a referring domain on your own site
When a customer purchases with a link from your website, the site itself will be set as the referrer. If you want to override this based on how they found your site, you can set this with a link.
Example:
Discounts codes
Discount codes can be applied if passed as a URL parameter as well. Just attach it to the end of the URL!
For example:
becomes
Using more than one URL parameter
If you wish to auto-select a version for your customers and also take them directly to the shopping cart, you can easily do so by using both the "variant=" parameter and the "wanted=true" parameter. To work correctly, these parameters must be separated with an ampersand '&' symbol and not another '?'. The '?' symbol is only used for the first parameter.
Here's an example of a multi-parameter URL:
Here are some example URLs to test out & get inspired
- https://reallyniceimages.gumroad.com/l/rni-all-films-5-pro-lr?email=example@gmail.com&wanted=true
- https://jingsketch.gumroad.com/l/JingsketchLighting?price=20
- https://nabillemsieh.gumroad.com/l/smart-image-resize-pro?variant=Professional&yearly=true
- https://dvassallo.gumroad.com/l/profit-and-loss?yearly=true
- https://tomnoske.gumroad.com/l/typewriter?quantity=3&Name=Ryan&wanted=true