Problem in amp pages

Hello all,
this is my first post here, but I use statcounter from a long time!
I recently created amp pages in parallel to my traditional website, but I have problems receiving stats from amp pages.
I have no blocking cookies and these are the following implemented codes:
For the traditional main pages of my website:

<script type="text/javascript">var sc_project=MYPROJECT;var sc_invisible=1;var sc_security="MYSECURITY";var sc_https=1;var sc_remove_link=1;var scJsHost=(("https:"==document.location.protocol)?"https://secure.":"http://www.");document.write("<sc"+"ript type='text/javascript' src='"+
scJsHost+"' async></"+"script>");</script><noscript><div class="statcounter"><img class="statcounter" src="" alt="shopify traffic stats"></div></noscript>
And this works ok, I can see myself into the stats (MYPROJECT and MYSECURITY are obfuscated here)

For the amp pages I inserted this code, as per instructions:

statcounter {width: 1px;height:1px;}
inside <style amp-custom=""> in the head section

<div id="statcounter">
<amp-pixel src="">
inside the body (MYPROJECT and MYSECURITY are obfuscated here), but I am not tracked.

What is my error?

Thank you!
"While the idea of having a faster mobile internet with content that loads instantly sounds like a great idea, there is a lot of concern among web developers when it comes to AMP. And these concerns should have publishers equally worried."

That's something I'd strongly agree with.
I as of late made amp pages in parallel to my customary site, however I have issues getting details from amp pages, I have no blocking treats and these are the accompanying actualized codes, for the conventional primary pages of my site...