Skip to main content

We tried many different ways to declare the Browser SDK 2.0 and none of them seem to remove the referral to
arajet-api.ezypayment.sabre.com
When user pays with a credit card, they leave arajet.com, land on arajet-api.ezypayment.sabre.com and are automatically redirected to the final purchase confirmation page.
We are loosing attribution for everyone that pays with credit card.

That is the current code we are using.

amplitude.init(AMPLITUDE_API_KEY, {
    autocapture: {
    attribution: {
      excludeReferrers: [/arajet\.com$/, /sabre\.com$/],
    },
    formInteractions: false,
    fileDownloads: false,
  },
});

 

We tried declaring everything explicitly, full host, full url, without regex, with no luck.

Ex:

 

amplitude.init(AMPLITUDE_API_KEY, {
    autocapture: {
    attribution: {
      excludeReferrers: 'arajet.com', 'www.arajet.com', 'promos.arajet.com', 'sabre.com', 'arajet-api.ezypayment.sabre.com', 'ipe-pmt.prod.sabre.com', new RegExp('^(https?:\\/\\/)?arajet-api\\.ezypayment\\.sabre\\.com\\/?'), 'https://arajet-api.ezypayment.sabre.com/']
    },
    formInteractions: false,
    fileDownloads: false,
  },
});

 

Be the first to reply!

Reply