Create a Trigger with the following configuration:
(Make sure to enter the correct Thank you page URL by replacing the “/order-success/”)

Google Analytics E-commerce Tracking Tag

Create Google Analytics Tag with Type ‘Transaction’

Trigger the above tag with a custom event named ‘transaction_success‘.

Infusionsoft Order Form Setup

Go To E-commerce > E-commerce Setup > Order Forms.

Create an order form or open the once created.

Here, you can include any number of products. The only thing to check here is quantity should be 1 for each product & user should not be able to change the quantity.

In Thank you page tab, make sure to use the thankyou page on your domain.

Now most important part. When you paste your thankyou page URL, include the ‘productName‘& ‘price’ parameter.
Eg: If you have a single product ‘ProductA’ for price 100. Thankyou Page URL: www.xyz.com/order-success/?productName=ProductA&price=100Eg: If you have 2 products ‘ProductA’ & ‘ProductB’ for price 100 & 120 respectively.Thankyou Page URL: www.xyz.com/order-success/?productName=ProductA,ProductB&price=100,120& so on…..

You can replace the ‘ProductA’& ‘ProductB’ with any name you like. The same will appear as the product name in google analytics.

Lastly, check the option “Pass contact’s information to the Thank You Page”.

Summary

Make sure you have products with the single quantity which cannot be changed by users.

Also, in Google Analytics, the e-commerce settings in the view should be turned on.

You should use the Thankyou page URL on your domain instead of infusionsoft’s.