In order to render Google Analytics tracking code in your website, simply paste your Tracking ID in appropriate input.
Read more in following article to learn how to get your Tracking ID.
Additional option in Google Analytics settings allows you to anonymize IP address of your website visitors. More about IP anonymization you can read in this official article.
Example of code: