To follow your Odoo website’s traffic with Google Analytics:
Create or sign in to a Google account using the following link: https://analytics.google.com (opens in a new tab).
If you are setting up Google Analytics for the first time, click Start measuring and go through the account creation step.
If you already have a Google Analytics account, sign in and click the gear icon in the bottom-left corner of the page to access the Admin page. Then, click + Create Property.

Complete the next steps: property creation (opens in a new tab), business details, and business objectives.
When you reach the Data collection step, choose the Web platform.

Set up your data stream: Specify your Website URL and a Stream name, then click Create stream.
Copy the Measurement ID.

In Odoo, go to .
In the SEO section, enable Google Analytics, then paste the Measurement ID and click Save.
Tip
If you have multiple websites (opens in a new tab) with separate domains, it is recommended to create one property (opens in a new tab) per domain. In Odoo, in the Website settings, make sure to select the website in the Settings of Website field before pasting the Measurement ID.