External Analytics
Unlock key insights to grow your business
With Cashfree, Checkout is no longer a black box. Track Checkout, Payment Links, and Payment Forms by pushing events to your favorite analytics provider.
Drive better conversions with Cashfree checkout by sending the events to your favorite Analytics provider.
Supported platforms
- Google Analytics
- Meta Pixel
- Mixpanel
You can access event tracking on Cashfree dashboard from here
Enable event tracking
To enable event tracking:
-
Log in to the Merchant Dashboard using your credentials.
-
Click Access under Payment Gateway section.
-
In the left navigation pane, go to Developers > Checkout Analytics.
-
Under the Actions column, select the Edit icon.
-
In the External Analytics Configuration modal:
- Enable Broadcast events to Google toggle.
- In Measurement ID, enter your Google Analytics ID.
See Find the measurement ID. - In Access Token, enter your Measurement Protocol API token.
See Generate the access token.

- Select Save to apply your changes.
Checkout events pushed to GA4
Event Name | Description |
---|---|
cf_checkout_load | Checkout loaded successfully. |
cf_checkout_transaction_initiate | Customer initiated a transaction. |
cf_transaction_success | Transaction completed successfully. |
cf_transaction_failure | Transaction failed. |
cf_retry_checkout | Redirected to checkout after failure. |
cf_return_to_merchant | Customer redirected back to the merchant page. |
Events pushed on payment link or payment form
Event Name | Event Meaning |
---|---|
cf_pl_load | Payment Link loaded successfully. |
cf_pf_load | Payment Form Loaded successfully. |
cf_checkout_initiated | Checkout initiated from Payment Link/Payment Form. |
cf_purchase_completed | Payment completed successfully. |
One Click Checkout events
When One Click Checkout is enabled, the following events are pushed to GA4:
Event Name | Description |
---|---|
cf_checkout_payment_info_displayed | Payment information displayed. |
cf_checkout_transaction_initiate | Customer initiated a transaction by clicking a payment method. The transaction is created. |
cf_checkout_transaction_success | Transaction completed successfully. Payment is done, and the order is placed. |
cf_checkout_address_collected | Customer’s address collected and submitted to proceed with the checkout. |
cf_checkout_login_verify | Customer login verified. Customer is logged into the checkout. |
cf_checkout_login_otp_sent | OTP sent for login verification. |
cf_checkout_occ_load | One-Click Checkout page loaded successfully. |
In case you want to send events to your analytics provider and don’t find it in the above list, please reach out by filling the Support Form.
Google Analytics
Set up Google Analytics by adding your Measurement ID and Access Token in the configuration modal.
Find the Measurement ID
To identify your Measurement ID in Google Analytics:
-
Sign in to your Google Analytics account.
-
Go to Admin (bottom left).
-
Select Data Streams.
-
Open the relevant data stream.
-
Copy the Measurement ID and paste it into the configuration modal.
Generate the Access Token
To generate your API token for event tracking:
-
Sign in to your Google Analytics account.
-
Go to Admin.
-
Select Data Streams.
-
Select Measurement Protocol API secrets.
-
Create a new API secret and paste it into the configuration modal.
Meta Pixel
Set up Meta Pixel by adding your Pixel ID and Access Token in the configuration modal.
Find the Pixel ID
To locate your Meta Pixel ID:
-
Sign in to your Meta Events Manager.
-
Go to Pixel Settings.
-
Copy the Pixel ID from the Settings section.
Generate the Access Token
To generate an access token for server-side tracking:
-
Sign in to your Meta Events Manager.
-
Go to Pixel Settings.
-
Scroll to the Conversions API section.
-
Select Generate Access Token.
-
Copy the Access Token and paste it into the configuration modal.
Mixpanel
Set up Mixpanel by retrieving your Project Token and adding it to the configuration modal.
Find the Project Token
To retrieve your Mixpanel Project Token:
-
Sign in to your Mixpanel account.
-
Go to Project Settings.
-
Copy the Project Token from the Settings page.
Was this page helpful?