{"id":232,"date":"2020-02-28T16:01:44","date_gmt":"2020-02-28T16:01:44","guid":{"rendered":"http:\/\/wiki2.plumserver.com\/knowledge-base\/magento-affiliate-programs-v2-x-webgains-affiliate-network-configuration"},"modified":"2025-04-29T10:26:55","modified_gmt":"2025-04-29T14:26:55","slug":"magento-affiliate-programs-v2-x-webgains-affiliate-network-configuration","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-affiliate-programs\/v3\/integrations\/webgains","title":{"rendered":"How to Set Up Magento 2 Webgains Affiliate Tracking"},"content":{"rendered":"\n<h2 id=\"managing-webgains-affiliate-network-in-magento-2\">Creating Webgains Affiliate Program in Magento 2<\/h2>\n\n\n\n<p>In this article, you will learn how to create and configure the <a href=\"\/magento-affiliate-programs\/webgains\">Magento 2 Webgains Affiliate Program<\/a>. Please, check the following step-by-step guide.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>Go to the &#8220;<strong>Plumrocket<\/strong>&#8221; tab in the main menu.<\/li><li>Navigate to the &#8220;<strong>Affiliate Programs<\/strong>&#8221; tab <strong>&gt;<\/strong> select &#8220;<strong>Manage Affiliate Programs<\/strong>&#8220;.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/2_configuration_affiliate_extension_magento_2_cj_v1.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/2_configuration_affiliate_extension_magento_2_cj_v1.jpg\" alt=\"2 configuration affiliate extension magento 2 cj v1.jpg\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>Press on the &#8220;<strong>Add New Affiliate<\/strong>&#8221; button.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/3_configuration_affiliate_extension_magento_2_v1.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/3_configuration_affiliate_extension_magento_2_v1.jpg\" alt=\"3 configuration affiliate extension magento 2 v1.jpg\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>From the list of the affiliate programs select &#8220;<strong>Webgains<\/strong>&#8220;.<\/li><li>Press the &#8220;<strong>Continue<\/strong>&#8221; button.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/1_configuration_affiliate_programs_magento_2_webgains.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2021\/05\/magento2-affiliate-programs-extension-cofiguration-10.png\" alt=\"1 configuration affiliate programs magento 2 webgains.jpg\" class=\"wp-image-18533\"\/><\/a><\/figure>\n\n\n\n<h2 id=\"configuring-webgains-affiliate-marketing-network-in-magento-2\">Configuring Webgains Affiliate Program in Magento 2<\/h2>\n\n\n\n<p>After you created new <strong>Webgains Affiliate Program<\/strong> in Magneto 2, you need to configure it. Please, follow the steps below.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>Specify the <strong>&#8220;Name&#8221;<\/strong> of your Affiliate Program.<\/li><li>The <strong>&#8220;Status&#8221;<\/strong> option allows you to enable or disable the Affiliate Program.<\/li><li>In the <strong>&#8220;Store View&#8221;<\/strong> section you may select the store view(s) where your Magento 2 Affiliate Program will be executed.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/2_configuration_affiliate_programs_magento_2_webgains.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2021\/05\/magento2-affiliate-programs-extension-webgains-network-configuration-1.png\" alt=\"2 configuration affiliate programs magento 2 webgains.jpg\" class=\"wp-image-18586\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>In the <strong>&#8220;Program ID<\/strong> &#8221; field specify a static program ID provided to you by Webgains Affiliate Network.<\/li><li>The <strong>&#8220;Event ID&#8221;<\/strong> option lets you indicate an event ID, the identifier provided by Webgains Affiliate Network.<\/li><li>Click on the <strong>&#8220;Save&#8221;<\/strong> button to save your settings.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1206\" height=\"446\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/04\/3_configuration_affiliate_programs_magento_2_webgains-1.png\" alt=\"3 configuration affiliate programs magento 2 webgains\" class=\"wp-image-28297\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/04\/3_configuration_affiliate_programs_magento_2_webgains-1.png 1206w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/04\/3_configuration_affiliate_programs_magento_2_webgains-1-300x111.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/04\/3_configuration_affiliate_programs_magento_2_webgains-1-1024x379.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2025\/04\/3_configuration_affiliate_programs_magento_2_webgains-1-768x284.png 768w\" sizes=\"(max-width: 1206px) 100vw, 1206px\" \/><\/figure>\n\n\n\n<h3 id=\"configuring-webgains-event-id-for-the-category\">Configuring Webgains Event ID for Category<\/h3>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>In the main menu of your Magento 2 store go to the &#8220;<strong>Products<\/strong>&#8221; tab &gt; select &#8220;<strong>Categories<\/strong>&#8220;.<\/li><li>Select the required category.<\/li><li>Option<strong> &#8220;WebGains Event ID&#8221;:<\/strong> enter the ID provided by the Webgains Affiliate Network in order to separately track sales of all the products from this category.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/6_configuration_affiliate_programs_magento_2_webgains.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/6_configuration_affiliate_programs_magento_2_webgains.jpg\" alt=\"6 configuration affiliate programs magento 2 webgains.jpg\"\/><\/a><\/figure>\n\n\n\n<h3 id=\"configuring-webgains-event-id-for-the-product\">Configuring WebGains Event ID for Product<\/h3>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>In the main menu of your Magento 2 store go to the &#8220;<strong>Products<\/strong>&#8221; tab <strong>&gt;<\/strong> select &#8220;<strong>Catalog<\/strong>&#8220;.<\/li><li>Select the required product.<\/li><li>Option<strong> &#8220;WebGains Event ID&#8221;:<\/strong> enter the ID provided by the Webgains Affiliate Network in order to track each sale of this product.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/5_configuration_affiliate_programs_magento_2_webgains.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/5_configuration_affiliate_programs_magento_2_webgains.jpg\" alt=\"5 configuration affiliate programs magento 2 webgains.jpg\"\/><\/a><\/figure>\n\n\n\n<h2 id=\"testing-webgains-affiliate-network-in-magento-2\">Testing Webgains Affiliate Tracking Code in Magento 2<\/h2>\n\n\n\n<p>In order to test and check whether your Magento 2 Affiliate Program has been installed properly, please follow the step-by-step guide below.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>Create a test order at your Magento 2 frontend. Then proceed to Order Success Page.<\/li><li>Using your browser&#8217;s Developer Tools (&#8220;F12&#8221; key on your keyboard) open the search bar (&#8220;Ctrl+F&#8221; keys on your keyboard) and look for Image Tag which contains <strong>track.webgains.com<\/strong>.<\/li><li>Your Image Tag will appear.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/4_configuration_affiliate_programs_magento_2_webgains.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/4_configuration_affiliate_programs_magento_2_webgains.jpg\" alt=\"4 configuration affiliate programs magento 2 webgains.jpg\"\/><\/a><\/figure>\n\n\n\n<p><strong>Once you locate the Image Tag &#8211; this means your Impact Webgains Affiliate Network has been set up correctly. Now log into your account at <a href=\"http:\/\/www.webgains.com\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener nofollow\">www.webgains.com<\/a> and verify that your transactions are being tracked correctly.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating Webgains Affiliate Program in Magento 2 In this article, you will learn how to create and configure the Magento 2 Webgains Affiliate Program. Please, check the following step-by-step guide. 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 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-affiliate-programs\/v3\/integrations\/webgains\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Set Up Magento 2 Webgains Affiliate Tracking&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[294],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up Magento 2 Webgains Affiliate Tracking - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"Creating Webgains Affiliate Program in Magento 2 In this article, you will learn how to create and configure the Magento 2 Webgains Affiliate Program.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up Magento 2 Webgains Affiliate Tracking\" \/>\n<meta property=\"og:description\" content=\"Creating Webgains Affiliate Program in Magento 2 In this article, you will learn how to create and configure the Magento 2 Webgains Affiliate Program.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-28T16:01:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-29T14:26:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/05\/2_configuration_affiliate_extension_magento_2_cj_v1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Set Up Magento 2 Webgains Affiliate Tracking - Plumrocket Documentation","description":"Creating Webgains Affiliate Program in Magento 2 In this article, you will learn how to create and configure the Magento 2 Webgains Affiliate Program.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains","og_locale":"en_US","og_type":"article","og_title":"How to Set Up Magento 2 Webgains Affiliate Tracking","og_description":"Creating Webgains Affiliate Program in Magento 2 In this article, you will learn how to create and configure the Magento 2 Webgains Affiliate Program.","og_url":"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains","og_site_name":"Plumrocket Documentation","article_published_time":"2020-02-28T16:01:44+00:00","article_modified_time":"2025-04-29T14:26:55+00:00","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/05\/2_configuration_affiliate_extension_magento_2_cj_v1.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains#primaryimage","inLanguage":"en-US","url":"\/docs\/wp-content\/uploads\/2020\/05\/2_configuration_affiliate_extension_magento_2_cj_v1.jpg","contentUrl":"\/docs\/wp-content\/uploads\/2020\/05\/2_configuration_affiliate_extension_magento_2_cj_v1.jpg"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains#webpage","url":"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains","name":"How to Set Up Magento 2 Webgains Affiliate Tracking - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains#primaryimage"},"datePublished":"2020-02-28T16:01:44+00:00","dateModified":"2025-04-29T14:26:55+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20"},"description":"Creating Webgains Affiliate Program in Magento 2 In this article, you will learn how to create and configure the Magento 2 Webgains Affiliate Program.","breadcrumb":{"@id":"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/magento-affiliate-programs\/webgains#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 Affiliate Programs","item":"https:\/\/plumrocket.com\/magento-affiliate-programs"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-affiliate-programs"},{"@type":"ListItem","position":4,"name":"v3","item":"https:\/\/plumrocket.com\/docs\/magento-affiliate-programs\/v3"},{"@type":"ListItem","position":5,"name":"Integrations","item":"https:\/\/plumrocket.com\/docs\/magento-affiliate-programs\/v3\/integrations"},{"@type":"ListItem","position":6,"name":"Webgains Affiliate Network Configuration"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/72392a92ae750c66560be284502b6676?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72392a92ae750c66560be284502b6676?s=96&d=mm&r=g","caption":"Plumrocket"},"sameAs":["https:\/\/plumrocket.com\/docs"]}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/232"}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":6,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":28299,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/232\/revisions\/28299"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}