Custom Dimensions and Metrics in Google Analytics

  • Apr 13, 2025
Custom Dimensions and Metrics in Google Analytics

Paytics automatically generates custom dimensions and metrics in your Google Analytics property, providing deeper insights into your Stripe transactions—no manual setup required.

Please note: Google Analytics typically takes up to 72 hours to process and aggregate the new data. Once complete, you’ll gain access to enriched reporting for better business insights.

Custom Dimensions

The following custom dimensions provide granular details on charges, disputes, checkout sessions, subscriptions, and products:

Display Name Description Parameter Name
Stripe Customer Id Unique identifier for the customer in Stripe customer_id
Stripe Charge Status Current status of the charge (e.g., succeeded, pending, failed) charge_status
Stripe Dispute Status Status of the dispute (e.g., pending, resolved) dispute_status
Stripe Dispute Reason Reason for cardholder dispute dispute_reason
Stripe Checkout Session Mode Checkout session type (e.g., payment, setup) session_mode
Stripe Checkout Session Status Payment status (e.g., paid, pending) session_payment_status
Stripe Subscription Id Unique identifier for the subscription subscription_id
Stripe Subscription Status Status of the subscription (e.g., active, past_due) subscription_status
Stripe Plan Name Name or nickname of the plan, if available plan_name
Stripe Price Name Name or nickname of the price, if available price_name
Stripe Product Name Product name, if available product_name
Stripe Payment Intent Status Payment intent status (e.g., processing) payment_intent_status
Stripe Payment Method Type Type of payment method (e.g., card, bank account) payment_method_type

Custom Metrics

Paytics also tracks key financial data through these custom metrics:

Display Name Description Parameter Name Measurement Unit
Stripe Amount Total transaction amount amount Currency
Stripe Plan Amount Subscription plan amount plan_amount Currency

Using Custom Dimensions and Metrics

These insights help you to:

  • Analyze Customer Lifetime Value (LTV): Track customer_id with transaction history to understand total spending over time.
  • Segment Users by Payment Status: Usee charge_status, subscription_status, or payment_intent_status to identify failed payments and take proactive action.
  • Monitor Revenue Streams: Analyze amount and plan_amount metrics to track earnings by product, subscription type, or pricing model.
  • Optimize Product Offerings: Use product_name, plan_name, or price_name to determine which offerings perform best.

Examples

Failed Payment Analysis: Create a GA4 segment for users with charge_status = failed. Analyze their behavior before failure and refine your checkout process.

Subscription Performance: Compare subscription_status and plan_amount to identify which plans generate the most revenue and longest retention.

Note: These custom definitions and metrics are exclusive to Premium subscribers. Upgrading to Premium enables these automatical integration, with data available after 72 hours of processing.