Welcome to Xendit’s latest documentation. For legacy content, access the previous documentation here or the previous API reference here.

Conversion Tracking

Prev Next

Payment Links allow you to set up analytics tools to track your customer’s journey, from arriving at the checkout page to completing a payment. These tools include Google Analytics and Facebook Pixel, and you can track various events for better insights into customer behavior.

Trackable events and their triggers

Event Name

Payload

Trigger

xendit_begin_checkout

None

When the checkout page loads.

xendit_add_payment_info

Channel name

When a customer clicks or selects a payment channel. (Note: QRIS channel selection is not tracked.)

xendit_checkout_progress

None

  • On clicking Pay Now (Card, Direct Debit, OVO)

  • On clicking Continue (PayLater)

  • When selecting channels without a Pay Now button (e.g., VA, eWallets, DD Mandiri)

  • (QRIS confirmation is not tracked.)

xendit_purchase

Currency, amount

When the payment success page is displayed.

xendit_view_item

None

When a customer clicks the View More button on the V1 checkout web.

Google Analytics

  1. Go to analytics.google.com

  2. Fill in your details: account name, property name, timezone, currency, business size, etc. (some details are not mandatory)

  1. Accept the Terms & Conditions, then choose web platform

  1. On the next pop-up, enter checkout.xendit.co as the page url as and give it a name

  1. On the next page, your Google Analytics ID will be displayed

Facebook Pixel

  1. Open business.facebook.com

  2. Click on Events Manager

  1. Click Connect Data

  1. Select Web

  1. Enter a name for your analytics project

  1. You can ignore website name or simply enter checkout.xendit.co

  2. Click Close (no need to proceed to the next section since we just need the ID, and integration is already implemented)

  3. On the left panel, find the Pixel ID below the name of the project