ampproject / amphtml

The AMP web component framework.
https://amp.dev
Apache License 2.0
14.89k stars 3.89k forks source link

[amp-next-page] AMP Client ID missing when scrolling through to amp-next-page in AMP Viewer #36984

Closed Alanhui closed 2 years ago

Alanhui commented 2 years ago

Description

The AMP Client ID (used in amp-analytics) is missing on scrolling into amp-next-page in an amp viewer (but not on publisher origin).

Reproduction Steps

  1. Go to https://www.google.com/amp/s/www.cnet.com/google-amp/news/nasa-curiosity-rover-snaps-dramatic-mars-selfie-at-scenic-mont-mercou/ in mobile emulator with network tab open in Devtools.

  2. Scroll through and into the second article.

  3. Search for "collect?" in the network tab. You should see two GA pageview records. the CID in second article is missing

Similar issue to: https://github.com/ampproject/amphtml/issues/32305

Relevant Logs

No response

Browser(s) Affected

Chrome, Safari

OS(s) Affected

No response

Device(s) Affected

No response

AMP Version Affected

2111060251003

kristoferbaxter commented 2 years ago

@dmanek Can you take a look at this issue that appears related to amp-next-page?

dmanek commented 2 years ago

Taking a look.

dmanek commented 2 years ago

@alanorozco can you PTAL?