Here is how you can add Google Analytics tracking code to your landing page.
We will automatically send the transaction details in addTransaction event and product details in addItem events if the landing page has Google Analytics ID. Both the events are tied together with the same transaction ID.
You will need to Enable Ecommerce in Google Analytics to view the transactions.
To Enable Ecommerce, Proceed to Admin Tab - Ecommerce Settings - Enable Ecommerce
You can learn to set up Facebook Pixel for a landing page from here
We will automatically send product details and the order amount in Purchase Event if the landing page has Facebook Pixel ID.