Create a GTM and install it in the widget in Widget Settings -> Tracking and Analytics
Create Data Layer Variables in GTM:
In Google Tag Manager, navigate to "Variables" and create a new "Data Layer Variable".
Set the Data Layer Variable Name to
total_price
Same way create additional variables for currency and transaction_id
For currency set Data Layer Variable Name to
currency
For transaction_id set Data Layer Variable Name to
company_order_id
Then go to Triggers and create a trigger that fires when Order is placed
Now go to Tags and create a new tag
Select Google Analytics -> GA4 event
Specify your GA Measurement ID and event name (e.g.
order_submit
).Then bind a trigger to this Tag
Select a Trigger we created in the step 3.
Submit and Publish changes
Go to your Google Analytics and mark the newly created event as Conversion.
Note that there's a delay in data processing so you might need to wait a couple of days to see this event in the list of events.
After the new event is marked as a conversion you'll see the revenue data reflected in your Monetization reports.
How to push events and order total value to your GA4
Updated over a week ago