Closed Cauchon closed 3 years ago
cc @dmanek Maybe we should take a look at this during fixit week :)
~To recap the situation...~
Edit: After more investigation, I was able to find the root cause of this issue. Contrary to my first thoughts about a problem with amp-next-page's children being iframes that had separate CID instances, it turns out that
1.) amp-next-page inserts children via shadowdocs
2.) The divergence in CIDs between host page and children was occurring due to the fact that the Host Page was using Viewer CID API and the child pages are not (instead using scopeBaseCid_
)
Was this resolved ? I am having same issue for amp-next articles.
What's the issue?
The AMP Client ID (used in amp-analytics) is changing on scrolling into amp-next-page in an amp viewer (but not on publisher origin).
How do we reproduce the issue?
Please provide a public URL and ideally a reduced test case (e.g. on jsbin.com) that exhibits only your issue and nothing else. Provide step-by-step instructions for reproducing the issue:
What browsers are affected?
Viewer only. Chrome
Which AMP version is affected?
2101211748002
(cc @dmanek)