Can I access checkout variables to integrate analytics or tracking with dynamic values
Sinchain avatar
Written by Sinchain
Updated over a week ago

Data

Variable Name

Remarks

Item Name

Recurpay.checkout.line_items[0].title

Run a for loop for the entire line_items object to get details of individual line item

Item Price

Recurpay.checkout.line_items[0].price

Quantity

Recurpay.checkout.line_items[0].quantity

Subtotal

Recurpay.checkout.subtotal

Discount

Recurpay.checkout.total_discount

Total

Recurpay.checkout.total

Tax

Recurpay.checkout.total_tax

Shipping

Recurpay.checkout.total_shipping

Currency

Recurpay.checkout.currency

Coupon Code

Recurpay.checkout.coupon.code

Did this answer your question?