amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Support access to ancestorOrigin and container token hash param in amp-analytics

Open RJSumi opened this issue 8 years ago • 0 comments

What's the issue?

I would like to allow an amp-analytics configuration to have access to a variable holding the origin containing an AMP document, e.g. https://www.google.com for AMP surfacing in Google Search. I would also like to allow an amp-analytics configuration to have access to a variable holding the value of a hash param (provisionally 'ct'), which will be passed by the enclosing page (e.g. Google Search).

What browsers are affected?

This should work on all browsers.

Which AMP version is affected?

This is a feature request.

RJSumi avatar Feb 15 '18 00:02 RJSumi