Analytics and Tracking

add_payment_info

Also called Payment step event

The GA4 checkout event recording that a shopper submitted payment details or chose a payment method.

Quick facts: add_payment_info

Category
Analytics and Tracking
Also called
Payment step event
Level
Intermediate
Affects
Checkout funnel, payment method decisions, gateway diagnosis
Where to see it
GA4 DebugView, GA4 funnel exploration, Google Tag Manager Preview
In this article4
  1. How add_payment_info works
  2. Why add_payment_info matters
  3. Common mistakes with add_payment_info
  4. How to act on it

How add_payment_info works

This is the GA4 event for the payment stage of a checkout. It fires when the shopper submits card details or picks a payment method, and it sends the basket contents, the total and the currency along with one field the other checkout events do not have: the payment type — the name of the method chosen, such as card, bank transfer, a mobile wallet or cash on delivery.

Note what it does not mean. It records that payment details were entered, not that money moved. A shopper can complete this step and still fail at the bank, so this event and the purchase that should follow it are separate records with a real gap between them. Never send it in place of a purchase, and never send card numbers or any personal detail with it.

Why add_payment_info matters

It isolates the last thing that can go wrong. If shoppers reach the payment step and then disappear, the problem is not your prices, your delivery charges or your product pages — they accepted all of those to get this far. It is the payment itself: a method they cannot use, a gateway that fails on mobile, a redirect that loses the session, a bank verification step that times out.

The payment type field makes this concrete. It shows which methods your customers actually reach for, which is often not what the shop owner expects. For Nepali shops, it separates the people trying to pay online from those choosing cash on delivery, and those two groups behave differently — different order values, different cancellation rates, different follow-up needed. Knowing the split is a business decision, not an analytics detail.

Common mistakes with add_payment_info

The most damaging is firing it on the confirmation of a successful payment, which makes the step look flawless and hides every failure. It belongs at submission, before the outcome is known. The opposite error is firing it when the payment form merely appears, which makes the step meaningless in the other direction.

A quieter problem is the redirect. When payment happens on a gateway’s own domain and the shopper is sent back afterwards, the session can break and the purchase can be attributed to the gateway as a referral. That does not corrupt this event, but it does corrupt what comes after it, so add the gateway’s domain to your referral exclusion list. And do not collect anything identifying here — the payment type label is the only extra detail this event needs.

How to act on it

Measure the fall from this step to the completed purchase and treat anything wide as a payment failure until proven otherwise. Break it down by payment type and by device, then reproduce the worst combination yourself with a small real order. Most gateway problems are obvious the moment you try them on a phone.

Use the payment type mix to decide what to add or remove. A method almost nobody selects is not worth the integration cost; a method people select and then fail on is worth a conversation with the provider. If you are unsure whether the drop is a genuine failure or a measurement artefact, check the event order and timing in DebugView, or have the whole checkout reviewed as part of an analytics and tracking engagement before you rebuild anything.

Do and do not

Do

  • Fire it at submission, before the payment outcome is known
  • Send a readable payment type label with every event
  • Add payment gateway domains to the referral exclusion list

Do not

  • Fire it only when a payment succeeds
  • Send card details, names or email addresses
  • Treat this event as proof of an order

Questions people ask about this

Should add_payment_info fire before or after the payment succeeds?

Before. The event records that the shopper submitted payment details, not that the money arrived. Firing it only on success makes the step look perfect and hides every declined card and failed gateway redirect, which is exactly the problem the event exists to reveal. The successful outcome is recorded by the purchase event instead.

Is it safe to send payment details in this event?

No card numbers, no expiry dates, no names, no email addresses. The event needs the basket, the value, the currency and the payment type label — nothing that identifies a person or their card. Sending payment or personal data into an analytics tool breaches the platform's own terms and creates a data protection problem you do not want.

Why do people abandon at the payment step?

Usually something mechanical rather than a change of mind, because they have already accepted the price and the delivery cost. Common causes are a payment method that is not offered, a gateway that behaves badly on mobile, a redirect that loses the session, or a verification step that times out. Test each method yourself on a real phone.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.