Automatically generates analytics configs for stories.
<script async custom-element="amp-story-auto-analytics" src="https://cdn.ampproject.org/v0/amp-story-auto-analytics-0.1.js"></script>
amp-story-auto-analytics component configures
amp-analytics on a story with useful analytics events for a Google Analytics gtag.
<amp-story> <amp-story-auto-analytics gtag-id="UA-123456789-0"></amp-story-auto-analytics> </amp-story>
Google Analytics ID used to link the story to the analytics account.
You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.Go to Stack Overflow Found a bug or missing a feature?
The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.Go to GitHub