The Affiliate Gateway API Integration

Connect The Affiliate Gateway (TAG) to wecantrack and push every APAC affiliate commission into Google Ads, Microsoft Ads, and Meta with SubID attribution.

All your The Affiliate Gateway conversions in:

How to integrate Affiliate Gateway affiliate conversions in Google Analytics

To integrate your Affiliate Gateway conversions with Google Analytics and other marketing tools, we need to match your sales data to your traffic data. This can be done by using the automatic SubIDs placed in your Affiliate Gateway affiliate links by our service. These SubIDs allow us to automatically match your traffic and affiliate conversion data, enabling you to track and analyze the performance of your marketing campaigns more effectively.

The installation is done in four simple steps:

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

How to connect your Affiliate Gateway account via API

To track all your Affiliate Gateway conversions you need to provide us with the Username, Password and Country for each of your Affiliate Gateway 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/the-affiliate-gateway/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.

How can I connect the Affiliate Gateway via API?

  • Log into your wecantrack account
  • Search for The Affiliate Gateway connector
  • Give your connection a name
  • Fill in your Username and Password from your Affiliate Gateway publisher account
  • Select the country

Who this The Affiliate Gateway integration is for

Connecting The Affiliate Gateway to wecantrack is worth it if you fall into any of these buckets:

  • Singapore, Malaysia, Hong Kong, and wider APAC content sites running The Affiliate Gateway programs across retail, travel, insurance, and finance verticals who need per-merchant revenue back in Google Analytics.
  • APAC cashback and coupon operators with high-volume TAG click activity who need clean per-program SubID attribution for paid acquisition.
  • Paid media buyers running Google Ads, Microsoft Ads, or Meta to TAG-tracked landing pages and needing CPS and CPL data flowing back for ROAS optimisation.
  • Affiliate agencies managing APAC retail and finance portfolios on The Affiliate Gateway who need clean per-publisher and per-SubID attribution for client reporting.
  • Existing wecantrack customers adding The Affiliate Gateway alongside other APAC networks (Accesstrade, Involve Asia) for unified Asia-Pacific data.

The Affiliate Gateway affiliate network at a glance

The Affiliate Gateway logo

The Affiliate Gateway (TAG) is an APAC-focused performance marketing network headquartered in Singapore, covering retail, travel, insurance, and finance verticals across Southeast Asia. Connect your TAG publisher account to wecantrack and every commission gets matched to the click, campaign, and keyword that produced it.

  • Network type: Multi-advertiser APAC affiliate network (Singapore)
  • Integration methods: API (recommended) or Postback URL
  • Tracked event: Sale or lead, depending on the advertiser program
  • Commission models: CPS (revenue share), CPA, CPL, set per advertiser
  • Reporting granularity: Per-advertiser, per-publisher, per-SubID
  • Cookie window: Defined per advertiser program
  • Publisher payouts: Monthly, multi-currency (SGD, MYR, HKD, USD)
  • Program contact: Publisher dashboard at theaffiliategateway.com

Frequently asked questions

Should I use the API or the Postback URL integration for The Affiliate Gateway?

We recommend the API integration. The API pulls richer transaction detail (advertiser, SubID, commission breakdown) directly from TAG, while the Postback URL only fires per-conversion.

What event does The Affiliate Gateway integration track?

Whatever the advertiser program is configured to fire on TAG: a completed sale, a qualified lead, or a custom action. Sale amount, commission, transaction ID, and SubID all flow through to wecantrack.

Will my TAG conversions show up in Google Ads, Microsoft Ads, and Meta?

Yes. wecantrack pushes attributed TAG conversions into Google Ads, Microsoft Ads, and Meta as offline conversions or server-side events, matched to the click. Optimise APAC paid campaigns on real CPS and CPL revenue.

Do I need a developer to set up The Affiliate Gateway integration?

No. Setup is a few clicks: generate API credentials in your TAG publisher dashboard, paste them into wecantrack, and the connection runs. Most publishers finish in under fifteen minutes.

Can I track SubIDs through The Affiliate Gateway?

Yes. wecantrack preserves TAG's SubID parameters and passes them through to Google Analytics, Google Ads, Microsoft Ads, and Meta. Break down APAC revenue by campaign, ad group, or keyword.

How long does The Affiliate Gateway setup take?

Ten to fifteen minutes end to end: collect API credentials from TAG, paste them into wecantrack, and conversions start flowing on the next batch update.

Advertisers within The Affiliate Gateway we track for our customers:

The Affiliate Gateway doesn't publish a public advertiser directory. The retail, travel, insurance, and finance programs visible inside your dashboard depend on the advertisers you've joined. Connect your TAG account to wecantrack to import every active campaign, SubID, and commission you have access to into your unified dashboard.

How to import The Affiliate Gateway conversions in Google Analytics?

Once you fully connected your The Affiliate Gateway accounts to wecantrack you have the possibility to let us integrate your conversions in 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.

Do you want to learn more about our Google Analytics Integration feature? On our Google Analytics Integration page you can learn about the following:

How to import The Affiliate Gateway conversions in Google Ads?

You can choose from different methods to integrate your The Affiliate Gateway conversions into your Google Ads account, campaigns, keywords, adgroups and ads. With wecantrack you have available a Direct Google Ads integration, a Google Ads Integration via Google Analytics and an offline conversion import option. You can find out all about the setup required and the difference between them in our Google Ads integration page.

How to import The Affiliate Gateway conversions in Microsoft Ads?

Once you have connected your The Affiliate Gateway 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 The Affiliate Gateway conversions in Facebook Ads manager?

Integrate all your affiliate sales into Facebook Ads Manager. That will allow you to optimize your The Affiliate Gateway Facebook campaigns in order to achieve the best ROIs. By activating our integration, you can easily import your The Affiliate Gateway affiliate conversion data in your Facebook Pixel via the Facebook Conversion API. Simply add your The Affiliate Gateway account and your website to our system and we will do the rest!