How to Set Up Magento 2 Webgains Affiliate Tracking

Creating Webgains Affiliate Program in Magento 2

In this article, you will learn how to create and configure Webgains Marketing Network in the Magento 2 Affiliate Programs module. Please, check the following step-by-step guide.

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

Step-by-Step action:

  1. Press on the “Add New Affiliate” button.
3 configuration affiliate extension magento 2 v1.jpg

Step-by-Step action:

  1. From the list of the affiliate programs select “Webgains”.
  2. Press the “Continue” button.
1 configuration affiliate programs magento 2 webgains.jpg

Configuring Webgains Affiliate Program in Magento 2

After you created new Webgains Affiliate Program in Magneto 2, you need to configure it. Please, follow the steps below.

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 programs magento 2 webgains.jpg

Step-by-Step action:

  1. In the “Program ID ” field specify a static program ID provided to you by Webgains Affiliate Network.
  2. The “Event ID” option lets you indicate an event ID, the identifier provided by Webgains Affiliate Network.
  3. The “Pin Number” option allows you to specify a pin number provided by WebGains.
  4. Click on the “Save” button to save your settings.
3 configuration affiliate programs magento 2 webgains.jpg

Configuring Webgains Event ID for Category

Step-by-Step action:

  1. In the main menu of your Magento 2 store go to the “Products” tab > select “Categoris”.
  2. Select the required category.
  3. Option “WebGains Event ID”: enter the ID provided by the Webgains Affiliate Network in order to separately track sales of all the products from this category.
6 configuration affiliate programs magento 2 webgains.jpg

Configuring WebGains Event ID for Product

Step-by-Step action:

  1. In the main menu of your Magento 2 store go to the “Products” tab > select “Catalog”.
  2. Select the required product.
  3. Option “WebGains Event ID”: enter the ID provided by the Webgains Affiliate Network in order to track each sale of this product.
5 configuration affiliate programs magento 2 webgains.jpg

Testing Webgains Affiliate Tracking Code in Magento 2

In order to test and check whether your Magento 2 Affiliate Program has been installed properly, please follow the step-by-step guide below.

Step-by-Step action:

  1. Create a test order at your Magento 2 frontend. Then proceed to Order Success Page.
  2. Using your browser’s Developer Tools (“F12” key on your keyboard) open search bar (“Ctrl+F” keys on your keyboard) and look for Image Tag which contains track.webgains.com.
  3. Your Image Tag will appear.
4 configuration affiliate programs magento 2 webgains.jpg

Once you locate the Image Tag – this means your Impact Webgains Affiliate Network has been set up correctly. Now log into your account at www.webgains.com and verify that your transactions are being tracked correctly.

Was this article helpful?