Problem in amp pages

#1
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:

Code:
<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+"statcounter.com/counter/counter.js' async></"+"script>");</script><noscript><div class="statcounter"><img class="statcounter" src="https://c.statcounter.com/MYPROJECT/0/MYSECURITY/1/" 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:

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

and
Code:
<div id="statcounter">
<amp-pixel src="https://c.statcounter.com/MYPROJECT/0/MYSECURITY/1/">
</amp-pixel>
</div>
inside the body (MYPROJECT and MYSECURITY are obfuscated here), but I am not tracked.

What is my error?

Thank you!
 
#2
"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.
 
#3
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...
 
Top