After a reform at Google Analytics/AdWords, customer data may no longer be contained as plain text in the URL of a page with an implemented tracking code. With regard to Digistore24, this affects thank you pages and upsell sales pages with customer order data. The solution is to encrypt this data with the thank you page key. Since these pages may no longer be displayed on Google, it is necessary to make the data in the various URLs unrecognizable. Therefore, the solution is to encrypt this data with the thank you page key.
Personal data can be transmitted unintentionally by tracking codes from Google. To prevent this, you should encrypt the data in the URL.
Without encryption
https://thank-you-page-com/
?order_item_id=8687276
&buyer_email=johnsmith@gmail.com
&payplan_id=45399
&product_id=20
&product_name=Ihr+Weg+in+die+Selbststaendigkeit
&quantity=1
&country=DE
&buyer_language=de
&buyer_id=5111042
&buyer_first_name=John
&buyer_last_name=Smith
&billing_status=paying¤cy=EUR
&amount=297.50
&vat_amount=47.50
&other_amounts=595.00
&other_vat_amounts=95.00
&order_id=SW9TXSAT"
With encryption
https://thank-you-page-com
?order_item_id=8687276
&buyer_email=ds24cW5HSkprNkt3NXp5QTVMdTNUY3NwYUsycGJIaVBBMVBoTENYWWo1Z3Z5bU5PMldZWnBkcnNUZ1daVGEvYW5lOQ_e_e
&payplan_id=45399
&product_id=20
&product_name=Ihr+Weg+in+die+Selbstständigkeit
&quantity=1
&country=DE
&buyer_language=de
&buyer_id=5111042
&buyer_first_name=ds24R0d6bldJSGU1c3ZUR2R3UitYL1hjZz09
&buyer_last_name=ds24QjNCcWE1eHRQMU1DLzNmQUxldkErK2ZMOVVoQ01US1R2OGRQOGJJQ255Yz0_e
&billing_status=paying¤cy=EUR
&amount=297.50
&vat_amount=47.50
&other_amounts=595.00
&other_vat_amounts=95.00
&order_id=SW9TXSAT
&sha_sign=E536061FFD5B818B907416B9F9A07E59914B91E3D33EE80E62AFA00D5BF8B4C3B7707A619943E81F1F1CD5B91D73D3B31A26627E0D9AA3CFB97B9558F3C49089
Encrypt data
Encrypt data in the thank you page URL
- In the vendor view, go to Account > Products.
- Click on the pencil icon of a product.
- You will automatically be in the Properties tab.
- For Encrypt data in thank you URL in the Product information window, select one of the following options:
-
Yes, encrypt personal data
Only the customer’s first and last name and email address are encrypted. This is all the data that can be used to create a personal reference.
-
Yes, encrypt all data
All data is encrypted without exception.
-
Yes, encrypt personal data
- Click on the button Save.
Encrypt data in the upsell sales page URL
- In the vendor view, go to Account > Products.
- Click on the pencil icon of a product.
- Switch to the Upsells tab.
- For Encrypt data in URL in the Upsell settings window, select one of the following options:
-
Yes, encrypt personal data
Only the customer’s first and last name and email address are encrypted. This is all the data that can be used to create a personal reference.
-
Yes, encrypt all data
All data is encrypted without exception.
-
Yes, encrypt personal data
- Click on the button Save.
Encrypt data with DigiMember
If you use DigiMember AND the product in DigiMember is synchronized with Digistore24, then the thank you page settings from DigiMember are used.
How to set up encryption:
- Open the WordPress admin area in DigiMember
- Go to DigiMember > Settings
- Switch to the Options tab
- For Digistore24 transfers thank you URL data, select the option Encrypted to DigiMember
NoteThe DigiMember setting Encrypted corresponds to the Digistore24 setting Yes, encrypt personal data.
How to synchronize a product with Digistore24:
- Open the WordPress admin area in DigiMember
- Go to DigiMember > Products
- Open a product and switch to the Digistore24 tab in the product properties.
- For Sync with Digistore24, select the option Yes.
Decrypt data
Decrypt data with the Digistore24 WordPress plugin
- Download the Digistore24-WordPress-Plugin as a ZIP file. Please do not unpack the ZIP file!
- Call up your WordPress admin area and switch to the Plugins menu item.
- Click on the button Install.
- Click on the button Upload plugin.
- When you click on Select file, a window will open. Here you select the previously downloaded file digistore.zip.
- Finally, click on Install now.
- After the installation process, activate the plugin by clicking on the button Activate plugin. The message "Plugin activated" will appear and the Digistore24 plugin will be displayed in the plugin overview.
- Click on Settings for the Digistore24 plugin. Leave this browser tab, you will return here shortly.
- Open a new browser tab and log in to Digistore24.
- In the vendor view, go to Account > Details.
- Scroll down to the Thank you page settings window.
- Highlight the full value for Thank you page key and copy it.
- Return to the WordPress admin area tab where you should still be in the settings of the Digistore24 plugin.
- Paste the copied value into the Thank you page key field.
- Click the Apply button to save the changes.
When using the following shortcodes, the data on your website will be displayed in decrypted form:
- [digistore order_id]
- [digistore buyer_email]
- [digistore product_id]
- [digistore product_name]
- [digistore buyer_id]
- [digistore buyer_first_name]
- [digistore buyer_last_name]
Decrypt data with the thank you page script
If you don’t use WordPress and instead your website is your own software project, then this script will be interesting for your developers. It contains the PHP source code to perform thank you page decryption.
https://www.digistore24.com/download/ipn/examples/ipn/thankyou_page.php