Webgains API Integration

Track all your Webgains affiliate sale and lead conversions in Google Analytics, Google Ads, Microsoft Ads, Facebook and custom dashboards to improve and scale up your campaigns, content and marketing performance.

All your Webgains conversions in:

How to integrate Webgains affiliate conversions in Google Analytics

In order to integrate Webgains conversions in Google Analytics and other marketing tools, it is necessary to attribute the sales data to the traffic data. Our service automatically places SubIDs in your affiliate links, which enables us to automatically match your traffic and affiliate conversion data.

The installation is done in four simple steps:

  1. Create a wecantrack account
  2. Connect your Webgains account to our system via API
  3. Connect your website to our system
  4. Activate the integration feature


To track all your Webgains conversions you need to provide us with your Login Username and Login Password of your Webgains accounts and Campaign Ids and Currencies of all the sites registered within your Webgains accounts. Those credentials need to be filled in within our data sources page which you can find by following this link: https://app.wecantrack.com/user/data-source/networks/webgains/accounts/create

You can give each of the data connections different names and tags which enables you to easily filter your data on account or sub account level.

Where can I find the Webgains Campaign ID?

  • Log into your Webgains account
  • Go toΒ Account – Manage my sites/campaigns
  • Here you can find your Campaign IDs
  • In case you do not have access to that section you can find your campaign ID of the currently selected website within the URL

How to import Webgains conversions to Google Analytics?

Once you fully connected your Webgains account(s) and website(s) to wecantrack you have the possibility to let us integrate those into your Google Analytics accounts. To accomplish that only two more steps are needed (JavaScript insertion and Ecommerce activation in Google Analytics accounts) which should not take longer than 10 minutes. Conversion data will be attributed on user and session level and all analytics dimensions and filters are available and showing your sales data.

How to import Webgains conversions to Google Ads?

You can use different methods to integrate your Webgains conversions into Google Ads. With We Can Track you have available a Direct Google Ads integration, a Google Ads Integration via Google Analytics and offline conversion imports option. You can find out all about the setup required and the difference between them in our Google Ads integration page.

How to import Webgains conversions to Microsoft Ads?

Once you have connected your Webgains accounts and websites to our system, we can integrate affiliate conversion data coming from Microsoft Ads campaigns in your Microsoft Ads account. All you need to do is activate our Microsoft Ads integration feature and set up a conversion goal within your Microsoft Ads account and we will push the conversions to your campaigns.

How to import Webgains conversions to Facebook Ads manager?

With We Can Track you can integrate your affiliate sales into Facebook Ads Manager. With this method you are able to optimize your Webgains Facebook campaigns, the facebook algorithm will have conversion data from which to target and scale up your campaign to achieve the best ROI’s. By using our integration, you can easily import your Webgains affiliate conversion data in your Facebook Pixel via the Facebook Conversion API. Simply add your Webgains account and your website to our system and we will do the rest!