I put together a simple AMP featured image solution on my blog, please test and let me know if it works for you. Also, the Glue plugin by Yoast allows you to input Google Analytics code to track the success of your AMP pages. Make sure that you enter the analytics code correctly.
Illustrated below:
<amp-analytics type=”googleanalytics” id=”analytics1″>
<script type=”application/json”>
{
“vars”: {
“account”: “UA-XXXXXXXX-1”
},
“triggers”: {
“trackPageview”: {
“on”: “visible”,
“request”: “pageview”
}
}
}
</script>
</amp-analytics>