Google analytics as well as facebook pixel and other codes are added in the option in our Editor, go to Settings and then again to Settings.
Now that we have clicked on it, a new window opens where we have the Analytics tab and input fields for the most commonly used analytical tools. But also a very important thing is the sitemap link that is entered in our google search console, which is very important for SEO optimization.
To make GDPR friendly you need to check “Anonymise IP” since some EU court rule that Google analytics not full implement GDPR.