URL parameters

In this article:

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 ?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.

To link directly to a variant, version, or tier:

  1. Navigate to the product’s edit page
  2. Scroll down to the variant, version, or tier
  3. 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. 


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. 


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: 


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
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us