amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Support validation of amp-analytics

Open dvoytenko opened this issue 10 years ago • 8 comments

https://github.com/ampproject/amphtml/blob/master/extensions/amp-analytics/amp-analytics.md

@avimehta to confirm script situation.

dvoytenko avatar Dec 07 '15 18:12 dvoytenko

@dvoytenko Can you clarify your ask of @avimehta re: the script situation?

rudygalfi avatar Dec 07 '15 20:12 rudygalfi

@rudygalfi see #1081

dvoytenko avatar Dec 07 '15 22:12 dvoytenko

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 .

avimehta avatar Dec 08 '15 03:12 avimehta

@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.

illiafilin avatar Dec 08 '15 11:12 illiafilin

waiting would be better imho. the tag itself is under experiments currently so shouldn't be used in production.

avimehta avatar Dec 08 '15 13:12 avimehta

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 avatar Jan 05 '16 19:01 Gregable

@Gregable presence only. The actual format is still heavily evolving and will also always contain custom args that are not possible to validate.

cramforce avatar Jan 05 '16 19:01 cramforce

Fixed yesterday

rudygalfi avatar Jan 20 '16 20:01 rudygalfi