API Integration

Track all your affiliate 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 conversions in:

How to integrate Booking affiliate conversions in Google Analytics

In order to integrate Booking conversions in Google Analytics and other marketing tools, we will need to attribute your affiliate conversion data to your traffic data. Once you placed our JavaScript snippet or installed our WordPress plugin on your website, our software automatically places relevant SubIDs in your Booking 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 account to our system via API
  3. Connect your website to our system
  4. Activate the integration feature

How to connect your affiliate account via API

All you need to connect your Booking affiliate api with our system is to provide us with your Booking API Username and API Password, which you can get by requesting support a username and password for the Booking Details API endpoint (please consider they usually don't grant API access to publishers who generate less then 20,000 bookings per year). Those credentials need to be filled in within our data sources page which you can find by following this link:

In case you are not granted access to the Booking Details API endpoint, you have the option to export your earnings CSV from booking and upload it directly in your wecantrack account. Via our CSV import functionality you'll still have access to all our tracking, attribution and integration features for conversions. Please find below a detailed step-by-step guide for both integration methods we have available.

Where can I find the Booking API username and password?


  • Please reach out to the support to request a username and password for the Booking Details API endpoint.
  • Once you have the credentials all you have to do is fill in the details and click "Add account".

Alternative method: CSV import functionality


  • Export your CSV earning from your account
  • In wecantrack under Data Sources > Affiliate networks search for our booking integration
  • Click "Add new account"
  • Select the option "CSV import"
  • Select your earnings currency
  • Upload your booking csv file and click "Update"

Note: You can import your earnings on a weekly or two week basis. In case you're running ad campaigns, we advise a higher update frequency in the first weeks since it can have a bigger impact on your ad performance.

How to import conversions in Google Analytics?

Once you fully connected your affiliate accounts you have the possibility to let us integrate your conversions in your Google Analytics Universal or GA4 accounts.

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 conversions in Google Ads?

You can choose from different methods to integrate your Booking affiliate 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 conversions in Microsoft Ads?

Once you have connected your Booking affiliate 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 Booking affiliate campaigns.


How to import conversions in Facebook Ads manager?

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