Tracking Shopify payment gateways in GA4
How Littledata tracks orders from any Shopify payment gateway, such as Shop Pay, PayPal and Klarna, and how to see the gateway in GA4 and Segment.
Littledata tracks orders from any payment gateway your Shopify store uses, such as Shop Pay, PayPal, Klarna and Affirm. This page explains how gateway orders are tracked and how to report on the gateway in GA4 and Segment.
How payment gateway orders are tracked
Littledata tracks orders on the server, straight from Shopify. It doesn't matter which payment gateway the customer used, or whether they left your store to pay. Every order is still tracked and linked back to the marketing campaign that brought the customer in.
Orders in other currencies are supported too. See Multi-currency support.
How to see which payment gateway was used
Littledata sends the name of the payment gateway that Shopify records for the order.
In GA4
User property
payment_gateway_ld
Purchase events
Event parameter
payment_type
Checkout events (begin_checkout, add_shipping_info, add_payment_info)
Littledata creates a user-scoped custom dimension called Payment Gateway in your GA4 property. Add it to any GA4 report or exploration to split orders, and the customers who placed them, by payment gateway. See Custom dimensions for calculating customer lifetime value.
To report on payment_type in checkout events, register it as an event-scoped custom dimension in GA4.
In Segment
payment_gateway_littledata
Order Completed, Post purchase upsell and POS Order Placed
payment_method
Checkout Started, Checkout Step Viewed, Checkout Step Completed and Payment Info Entered
See How it works: Shopify source for Segment.
What you can learn
Splitting your data by payment gateway helps you answer questions like:
Does a new payment method help more customers in a certain country to buy?
Do some marketing channels lead to more buy now, pay later orders, for example with Klarna or Afterpay?
Which payment methods have a higher checkout completion rate?
Common payment gateways
Littledata works with any gateway, so this list is not complete. These are some of the gateways our stores use most.
Adyen
Flow.io
PayBright
Affirm
Gift card
Payfast
Afterpay
GoPay
Payflow
Amazon Marketplace
Iyzico
Payfort
Amazon Payments
Klarna
Paygate
Authorize.net
Komoju
Payment Express
Bank transfer
Laybuy
PayPal
Bold Cashier
Mercado Pago
Peace Payments
Braintree
MobilePay
Quadpay
Cash on delivery
Mollie
QuickPay
Cashfree
Mondido Swish
Razorpay
Coinbase Commerce
Ocean Payment
Sezzle
Credit / debit cards
Orbital
Shop Pay / Shopify Payments
CyberSource
PagSeguro
Splitit
ePay
Pague no Boleto
Stripe
Facebook Marketplace
Partial.ly
Zip
Related articles
Last updated
Was this helpful?