Hello Ahmed,
Thank you for getting back to me. GTM says to put the following code in the head which you already have because of analytics.
<!– AMP Analytics –><script async custom-element=”amp-analytics” src=”https://cdn.ampproject.org/v0/amp-analytics-0.1.js”></script>
And then put the following code in the body of every page.(I changed our GTM number for obvious reasons.
<!– Google Tag Manager –>
<amp-analytics config=”https://www.googletagmanager.com/amp.json?id=GTM-ABCDEFG>m.url=SOURCE_URL” data-credentials=”include”></amp-analytics>
How to I include this body code into my AMP pages?
Thank you.