This guide shows how to fire a GA4 conversion whenever a registration is completed, using the data your registration page already provides. Make sure your container is installed first (see “Add Google Analytics 4 or Google Tag Manager to Your Registration Page”).
Treat the pageview event that includes a populated page_order_info (with an order_id) as the authoritative “completed registration” signal. That combination only occurs once an order is confirmed.
Create a Data Layer Variable for each value you want to send, using dot notation:
To report only on paid registrations, add a condition or a separate tag based on page_order_info.transaction_id (for example, exclude values of Free Order and Payment Pending). See “Understanding the dataLayer Events” for what each value means.
Q: Why condition on order_id instead of the page path?
page_order_info with an order_id only appears once an order is confirmed, which makes it the most reliable completed-registration signal.
Q: Can I send the order value for reporting revenue?
Yes. Map the amount and currency variables to the GA4 value and currency parameters.
Q: How do I avoid counting free registrations as revenue?
Filter on transaction_id and exclude Free Order and Payment Pending, or send them as a separate event.