GET is a technical method for transmitting data via URLs. With GET, Digistore24 can send or receive data to or from external websites. The data to be transmitted is specified using parameters known as GET parameters.
As a Digistore24 user, you can use GET parameters to, for example, prefill order forms with customer data or display buyer data on the thank you page after purchase.
Structure of a GET Parameter
GET parameters are name-value pairs. They consist of a name and a value connected by an equals sign: Name=Value
- The name is a unique identifier for the GET parameter and often provides information about the type of data being transmitted.
- The value is the data information that is being transmitted.
Example
country=Germany
indicates that the country is to be transmitted as information and that the country is Germany. You can use this GET parameter to query or transmit the country of your buyers. With this information, you can see in the KPIs in which countries your products are purchased.
Multi-part names and values are connected with an underscore: Na_me=Va_lue
Example
buyer_id=42556
indicates that the buyer's ID is to be transmitted and that it is 42556.
Multiple GET parameters are connected with an ampersand: Name=Value&Name=Value
Example
buyer_first_name=Khalil&buyer_last_name=Gibran
indicates that both the buyer's first name and the buyer's last name are to be transmitted as information. The first name is Khalil, and the last name is Gibran. You can use these two GET parameters to display the name of your buyer on the thank you page and address them personally.
Custom GET Parameters with Placeholders
Digistore24 provides predefined GET parameters. You can set for each of your products that all predefined GET parameters are appended to the thank you page URL of the main or upsell product. You can use this data to personalize your thank you page and display purchase data.
Alternatively, you can use custom GET parameters and query them with placeholders.
Add GET Parameters to URL
GET parameters are URL extensions. A URL is the web address of a page, for example, "www.your-thankyou-page.com".
GET parameters are appended to a URL with a question mark:
www.your-thankyou-page.com?Name=Value
www.your-thankyou-page.com?Name=Value&Name=Value
www.your-thankyou-page.com?Na_me=Va_lue&Name=Value&Name=Va_lue
When the URL is called, all attached GET parameters and the information contained in them are transmitted. The receiving page needs appropriate means to read and process this data.