Support validation of amp-analytics
https://github.com/ampproject/amphtml/blob/master/extensions/amp-analytics/amp-analytics.md
@avimehta to confirm script situation.
@dvoytenko Can you clarify your ask of @avimehta re: the script situation?
@rudygalfi see #1081
We'll be shortly changing the amp-analytics tag to host all the config inside a script tag. I think dima is talking about that.
Avi On Dec 8, 2015 4:00 AM, "Dima Voytenko" [email protected] wrote:
@rudygalfi https://github.com/rudygalfi see #1081 https://github.com/ampproject/amphtml/issues/1081
— Reply to this email directly or view it on GitHub https://github.com/ampproject/amphtml/issues/1087#issuecomment-162688657 .
@dvoytenko Can we make a release with non-valid analytics at our articles? Or it will be better to wait for validator update? Thank you.
waiting would be better imho. the tag itself is under experiments currently so shouldn't be used in production.
How much do we want validated on this? Do we need anything except for a new allowed <amp-analytics> tag with an optional? child <script type="application/json"> tag? Specifically, do we want to validate any of the json.
@Gregable presence only. The actual format is still heavily evolving and will also always contain custom args that are not possible to validate.
Fixed yesterday