Heap does not currently support autocapture in Accelerated Mobile Pages (AMP) sites. However, as a workaround for manual tracking of pageviews only, you can add an iframe to the page and install Heap within the iframe. The referrer for the pageview in the iframe will be the parent page, so you can use this setup to track pageviews.
For steps to install Heap on an AMP site, see our developer documentation on Tracking AMP or FBIA Pages.