To track online sales and revenue for specific products in your inventory feed, you’ll need to:
Set up a tag on your site that records sales (transactions) for a Floodlight activity.
You can use the global site tag with a Floodlight event snippet, a Floodlight tag, or Google Tag Manager for purchase detail reporting.
If you already have a tag for recording Floodlight transactions, you can use an existing tag.
On the page that contains the Floodlight tag or event snippet, add a data structure called the purchase details variable. Then populate the variable with the ID, quantity, and price of each item purchased.
If you use the global site tag or Google Tag Manager on your site, you can store the purchase details variable in the data layer.
Pass the purchase details to the Floodlight tag or event snippet.
If you use Google Tag Manager, you can retrieve the data from the data layer.
Otherwise, you'll need to add specifically formatted data to the Floodlight tag or event snippet.
(Recommended) Use Google Tag Assistant to validate your tags.