What are the GET parameters?

The GET parameters—also known as URL parameters—are shortcodes that can be inserted into a URL to transfer certain information and data.

You may have familiarized yourself with these parameters during a registration process (e.g. your login to Facebook, Amazon, etc.) in which you no longer have to reenter your email address over again. Instead, with a simple click in the email address field, you have a selection of email addresses already used in the past.

It increases the user-friendliness and should be used in the order form to increase conversion.

Advantages:

A large part of all visitors of the checkout page may jump off without having purchased the product if they had to reenter their user info again. If all the data (or at least a large part of it) is already pre-filled, this has a positive effect on the conversion of your checkout and, thus, increases your sales.

General information:

You can attach the following parameters to the checkout URL so that they are immediately transferred to the order form.

Currently, the following GET parameters are supported (for both one-step checkout and two-step checkout):

Parameter

Example

Meaning

?first_name

?first_name=John

Customer's first name

?last_name

?last_name=Doe

Customer's last name

?phone

?phone=12345678910

Customer's phone number

?email

?email=email@email.com

Customer's email

?vat_number

?vat_number=US1234567

Customer's VAT ID

Customer's full mailing address:

?street

?street=Example St

Street name

?street_number

?street_number=123

Street number

?zip_code

?zip_code=12345678

ZIP/Postal code

?city

?city=Anytown

City

?country

?country=United States

Country

?state

?state=NY

State

Please note: The ?state parameter is obligatory for the US residents only.
For customers outside of US, it is possible to set any string value or leave it empty.

IMPORTANT! Do not use country codes with the ?country parameter. Always set a country name to avoid erroneous configuration:

Wrong

Correct

?country=US

?country=United States

?country=DE

?country=Germany

?country=CA

?country=Canada

With the ?state parameter, you should use the official 2-letter state codes from the ANSI standard INCITS 38:2009:

?state=NY

?state=MA
?state=CA

The system automatically checks whether the person is a private individual or a company. This is done via the parameters "?private_person" (private individual) and
"?company_name" (customer company name).

Please note: Each parameter should be preceded by a question mark (?):

https://www.copecart.com/products/5a2f49bc/checkout?first_name=John


If several parameters are to be transferred, an ampersand (&) should be inserted between the individual parameters:

https://www.copecart.com/products/5a2f49bc/checkout?first_name=John&last_name=Doe&city=Anytown

Use cases for the GET parameters:

  • Entering the customer data beforehand 

Example:

Click on the link to see what data is already pre-filled in your case using our example product:


https://www.copecart.com/products/5a2f49bc/checkout?first_name=John&last_name=Doe&email=email@email.com&company_name=Testcompany&street=Example%20St&street_number=123&zip_code=12345678&company&city=Anytown&country=United%20States&phone=12345678910&vat_number=US1234567&state=NY

Did this answer your question?