Skip to main content

Tracking conversion rate

Let's get to the heart of the matter: the conversion rate.

A conversion rate is a ratio between the number of bookings purchasing the product and the total number of booking sold.

By partnering with Koala, you are taking a step towards maximising your revenue.

To do this, at regular intervals, we will propose improvements to wording, product, visual or the overall shopping experience of a Koala product. However, in order to optimise our proposals, we will need your help! 🙌

How can I allow Koala to track the conversion rate?​

As you now know, you will have to make a Quote when a traveler wants to know how much a Koala product costs.

Therefore, after a Quote, there can be 4 scenarios:

  1. Traveler leaves your website (= nothing else should happen)
  2. Traveler changes his trip details (= you should quote again our API)
  3. Traveler decides to add the Koala to his booking (= you should post a subscription)
  4. Traveler books his trips without adding Koala to their shopping cart

When the 4th scenario happens, meaning the travelers have booked a trip without purchasing Koala, you should call our Delete Quotes endpoint, like so:

curl -X DELETE "https://staging-partner.api.hikoala.co/quotes/{id}" -H "Content-Type: application/JSON" -H "accept: application/JSON" -H "Authorization: Bearer <token>"

By doing so, we will be able to isolate quotes that lead to a booking and those that do not.

Once you have configured this, we will be able to optimise our improvement proposals and have a better follow-up of the improvements underway.

Possible outputs​

Our API can send you back the following responses:

  • 204: We have taken into account the information successfully, we thank you 🤩
  • 400: Something went wrong. You have sent a wrong id
  • 401: We cannot take it into account because you are experimenting with an issue with your token