Dhruv Manek
Dhruv Manek
Hey @Salisteeg, thanks for reporting this issue. To clarify, you mean that `amp-next-page` triggers an analytics event when the page loads or on slight scroll correct? The following `amp-next-page-scroll` events...
Fixing this issue will change when amp-next-page-scroll event fires and break sites relying on this event. For this reason, I'm going to be talking about it in design review on...
@eduardcotmrf can u respond to the comment above?
I'd like to discuss the fix for #33404 which changes the way `amp-next-page-scroll` event fires and may break sites relying on this event.
FYI this has been reported before ampproject/error-reporting#4 & ampproject/error-reporting#6
Duplicate of #29936
Is that the correct link? 404 for me.
Weird, https://web.dev/evolving-cls/ works now.
Thanks for the repro case @alanorozco. This reason for this bug is that when `amp-next-page` appends new content, it does so in a shadow dom. Thus, calling `getAmpDoc().getUrl()` returns an...
Per conversation with @alanorozco, the fix is to include the url for documents in the shadow dom, that way `getAmpDoc().getUrl()` does not return an empty string. Also lowering to P2...