X hide

Magento Affiliate Programs v2.x Custom Affiliate Program Configuration

From Plumrocket Documentation

You are viewing:  Affiliate-programs-magento 32.jpg  Affiliate Programs

Managing Custom Affiliate Program in Magento 2

In this article you will learn how to create and configure your Custom Affiliate Program. Please, check the following step-by-step guide.


Information Sign sm.png Step-by-Step action:
  1. Go to the "Plumrocket" tab in the main menu.
  2. Navigate to the "Affiliate Programs" tab > select "Manage Affiliate Programs".


2 configuration affiliate extension magento 2 cj v1.jpg


Information Sign sm.png Step-by-Step action:
  1. Press on the "Add New Affiliate" button.


3 configuration affiliate extension magento 2 v1.jpg


Information Sign sm.png Step-by-Step action:
  1. From the list of the affiliate programs select "Custom".
  2. Press the "Continue" button.


1 configuration affiliate program magento 2 custom v1.jpg


Configuring Custom Affiliate Program in Magento 2

After you created new "Custom Affiliate Program", you need to configure it. Please, follow the steps below.


Information Sign sm.png Step-by-Step action:
  1. Specify the "Name" of your Affiliate Program.
  2. The "Status" option allows you to enable or disable the Affiliate Program.
  3. In the "Store View" section you may select the store view(s) where your Magento 2 Affiliate Program will be executed.


2 configuration affiliate program magento 2 custom v1.jpg


Information Sign sm.png Step-by-Step action:
  1. The "JavaScript Library File" option allows you to upload the JavaScript Library File which to be executed.
  2. The "Code" field allows you to insert the code which you need to execute.
  3. The "Execute On" option allows you to select the page(s) where you want the JavaScript Library File and Code to be executed.


3 configuration affiliate program magento 2 custom v1.jpg


Information Sign sm.png Step-by-Step action:
  1. Repeat the steps 1-3 from the previous screenshot in this section, if necessary.
  2. Repeat the steps 1-3 from the previous screenshot in this section, if necessary.
  3. Press on the "Save" button, when all the changes have been performed.


3a configuration affiliate program magento 2 custom v1.jpg


Testing Custom Affiliate Program in Magento 2

In order to test and check whether your Magento 2 Affiliate Program has been installed properly, please check the instructions below.


Information Sign sm.png Step-by-Step action:
  1. Please go to the page on which you indicated the JavaScript Library File or Code to be executed.
  2. Using your browser's Developer Tool ("F12" key on your keyboard) open search bar ("Ctrl+F" keys on your keyboard) and look for the JavaScript Library File or Code which you uploaded for execution.


Once you locate the JavaScript Library File or Code which you uploaded for execution - this means that your Custom Affiliate Program has been set up correctly. Now log into your account at Affiliate Network and verify that your transactions are being tracked correctly.

Navigation