A promocode is a secure way of determining which affiliate has referred your product. It is integrated into a website in the form of a code snippet. The affiliate ID is stored in the customer's browser.
1. Integration methods
You can add promocodes as follows:
1.1 WordPress
If you use WordPress, we recommend that you use our WordPress plugin to integrate the promocode.
You can download the plugin here.
1.2 HTML
If you are using a conventional page, include the following code as high up on your page as possible:
<script src="https://www.digistore24-scripts.com/service/digistore.js"></script>
<script>digistorePromocode( PRODUCT_ID );</script>
2. Integrate into WordPress
- Create a landing page on your website with an opt-in form or a download area for the free product. Your affiliates will then drive traffic to this page for the free product. Include a promo code on the landing page. This is a piece of program code that ensures that a promo cookie is set for the visitor and that your affiliates receive their commission later on.
- Once you have created your landing page in WordPress, you just need to install the Digistore24 plugin. Then upload the downloaded file to your WordPress account under Plugins > Install > Upload plugin. Make sure that the plugin is activated.
Interference with other WordPress plugins may occur! In some cases, some poorly programmed WordPress plugins may interfere with our plugin. For this reason, we cannot accept any responsibility for the functionality of the promocode. To prevent errors from occurring, please make sure to test whether the promocode actually works.
- Replace the placeholder PRODUCT_ID with the ID of your product. A partnership should exist so that your affiliates receive their commission. Either enter this separately for each affiliate or follow the instructions in the next point. If you have more than one product, select a product ID and also follow the instructions in the next point.
- In order for the commissions of purchased products to be successfully assigned later on, please ensure that the option Automatically accept partnerships is activated for all products in the product details (this is the case by default). If you use a HTML code and have only entered one product ID, this procedure will also apply. Without this option, you would have to ensure that every affiliate has a partnership for every product you offer. This is possible, but of course very cumbersome. You can find the Automatically accept partnerships option in the Properties tab if you go to Account > Products in the vendor view and click on the pencil icon for the relevant products.
- To prevent fraud, the domain of your website should be registered with Digistore24. To do this, go to Account > Products in the vendor view, click on the ⁝ icon and select Promolink and affiliate invitation link. Now scroll down and enter your landing page under Promocode domains.
- The affiliates then link to your website by adding #aff=AFFILIATE to the URL. The placeholder AFFILIATE must be replaced by the Digistore24 ID of the affiliate.
Example: http://www.myblog.com/#aff=AFFILIATE
If your affiliates also want to track their campaigns, use the following addition: #aff=AFFILIATE&cam=CAMPAIGNKEY
3. Integrate with HTML
- Create a landing page on your website with an opt-in form or a download area for the free product. Your affiliates will then drive traffic to this page for the free product. Add a promocode to the landing page. This is a piece of program code that ensures that a promo cookie is set for the visitor and that your affiliates receive their commission later on.
- If you are using a conventional website without WordPress, we offer you a HTML code to enable you to insert the promocode. Insert the following code (from start to end inclusive) in the header of your HTML document, for example, directly before *-head-*. If this is not possible, place the code as high up on the page as possible.
<script src="https://www.digistore24-scripts.com/service/digistore.js"></script>
<script type='text/javascript'>digistorePromocode( "PRODUCT_ID" );</script>
- Replace the placeholder PRODUCT_ID with the ID of your product. A partnership should exist so that your affiliates receive their commission. Either enter this separately for each affiliate or follow the instructions in the next point. If you have more than one product, select a product ID and also follow the instructions in the next point.
- In order for the commissions of purchased products to be successfully assigned later on, please ensure that the option Automatically accept partnerships is activated for all products in the product details (this is the case by default). If you use a HTML code and have only entered one product ID, this procedure will also apply. Without this option, you would have to ensure that every affiliate has a partnership for every product you offer. This is possible, but of course very cumbersome. You can find the Automatically accept partnerships option in the Properties tab if you go to Account > Products in the vendor view and click on the pencil icon for the relevant products.
- To prevent fraud, the domain of your website should be registered with Digistore24. To do this, click on Account > Products in the vendor view and then on the link icon of any product. Now scroll down and enter your landing page under Promocode domains.
- The affiliates then link to your website by adding #aff=AFFILIATE to the URL. The placeholder AFFILIATE must be replaced by the Digistore24 ID of the affiliate.
Example: http://www.myblog.com/#aff=AFFILIATE
If your affiliates also want to track their campaigns, use the following addition: #aff=AFFILIATE&cam=CAMPAIGNKEY