google code tips in the theme clasipress 3.6.1 on wordpress 5.2.2.
I need to include google code tips in the theme clasipress 3.6.1 on wedpress 5.2.2.
For example, the following code from Google Tag Manager
must be inserted after the <HEAD> tag
* <! - Google Tag Manager ->
"<script> (function (w, d, s, l, i) {w [l] = w [l] || []; w [l] .push ({'gtm.start':
new Date (). getTime (), event: 'gtm.
js'}); var f = d.getElementsByTagName (s) [0],
j = d.createElement (s), df = l = 'dataLayer' '& l =' + l ''; j.async = true; j.src =?
..............>
On the other hand I have to insert in <BODY>
<noscript> <iframe src = "https://www.googletagmanager.com/ns.html?id=xxxxxxxxxxx"
height = "0" width = "0" style = "display: none; visibility: hidden"> </ iframe> </ noscript>
<! - End Google Tag Manager (noscript) ->
In which file to put these pieces of code? At the level of classipress or wordpress themes?
Thank you to all of you.