Since Google has updated its Analytics IDs and divided them in two, we will show you how to get both the GA4 and Universal Analytics ID.
GA4
Login to your Google Analytics account and, from the letf-side menu, click on the option that reads "Admin"
Next, you will see two columns of options, from the right column, click on "Data Streams"
If you have not created a Data Stream before, simply fill the website URL, name your stream, and click on the "Create Stream" button.
Now you will see your newly created Data Stream. To check the GA4 Measurement ID, click on it
You will see the information of your stream and on the top right side, your Measurement ID
π You can learn more about tracking codes in the following articles: