weeblrAMP Google Analytics integration is fairly advanced, but also really easy to use. For basic usage, choose between Google Analytics and Google Tag Manager, and enter your property ID (we will pick up the ID from Yoast SEO if you use that):
As you may have noticed (on the AMP version of this page), we have also enabled a cookie consent as an AMP notification. No Analytics tracking will occur until the visitor has accepted the notification.
Most importantly, user events such as clicking on a button, or scrolling down a page can be tracked very easily, with absolutely no coding required.
On this site for instance, clicking on the buttons below to navigate between pages will record an in Google Analytics.
The required AMP code has been generated for your automatically and inserted in AMP pages.