Where in Google Analytics to find the counter code?

Welcome

Removed the counter code Google Analytics from the website, went to the Analytics account and now I can't find place where to copy this code. Half an hour poke buttons. Where is he?

PS
Found code:
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXXX"></script>
the <script>
 window.dataLayer = window.dataLayer || [];

 function gtag() { dataLayer.push(arguments); }
 gtag('js', new Date());

 gtag('config', 'UA-XXXXXXXXXX');
 </script>

But if it's him, I remember he used was quite different (example from another site):
the <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

 ga('create', 'UA-XXXXXXXXXX', 'auto');
 ga('send', 'pageview');
 </script>

Here I don't know if code changed or hid somewhere that figs find?!
June 3rd 19 at 18:56
1 answer
June 3rd 19 at 18:58
Solution
Admin->Tracking->tracking Code
About him and ask — he?
Why do you ask? — Yes, because previously the code was different.
If it's him? - Adela.Feeney40 commented on June 3rd 19 at 19:01
Yes) - Ramona.Wilkinson57 commented on June 3rd 19 at 19:04

Find more questions by tags Google Analytics