There are 2 options depending on whether you have Universal Analytics (UA) or Google Analytics 4 (GA4) installed and there are slight variations of where to find the Google tracking code within Google Analytics.
How to get Google Tracking Code in Universal Analytics
If you could go to https://analytics.google.com/
Click on Admin at the bottom left of the menu
Then under the middle section – Click Tracking Info. If you don’t see Tracking Info present, it may mean you are using GA4 and you should scroll down to that section.
Select Tracking Code
Please copy and paste the code within the Global Site Tag (gtag.js) and use that to link your website with Google Analytics using Universal Analytics
How to get Google Analytics Tracking information in GA4
If you could go to https://analytics.google.com/
Click on Admin at the bottom left of the menu
Select Data Streams on the middle section
Click into the Data Stream
Scroll to the bottom and select View tag instructions
Select the Install Manually tab and then copy and paste the details within the box as below
Please get in touch if you need further help or click here for details on small business data analytics