Hi,
Website tracking is so complicated in Odoo, as the required data is stored and processed in different places:
- in the Odoo database, as sale orders and products;
- in the browser session, where IP address, User Agent and cookie consent are stored;
- on the frontend side, when it's necessary to receive information about the visitor's actions, like as clicking on "Add to Cart" button, using JS code.
To get all this data and transform it into the required by Google format, we have developed the Google Ads Conversion Tracking solution. It tracks events on your Odoo website and sends the proper data about your products, orders, user data to Google Ads. The Google Consent Mode V2 is included in this solution, to meet the Google cookie requirements, as well as the user data for Enhanced Conversions.

The app includes the Google Analytics 4 integration as well. So, it's a complex solution for Google services that used a Google Tag (gtag.js) script to communicate with Google.
Best regards, Yurii Razumovskyi.
Company Garazd Creation — Odoo solutions for e-Commerce, SEO, Data Feeds, Website Tracking, Marketing, Analytics, and Marketplace integrations, Product Label designing and printing.
https://garazd.biz | Our solutions on Odoo Apps