[amp-analytics] Potential Issues with pageVisible events
Description
Suspected issue with amp analytics tags with GA.
Story URL: https://stories.wnba.com/games-staging/1042000403.html
- In the live report, the page visible events are not logged several times, even when we move within pages on this URL.

- Another thing that raises suspicion for an issue is on Behavior \ Events \ Pages.
We have many views for the first page (page 0) - 1140 but just 15 views for Page 1 and 9 views for page 2. If we look at the full picture we see that many users got to the last page.

Not sure if there is an issue on the event tracking side or something in the pipeline to GA. Could you help me debug this, please?
Reproduction Steps
Story URL: https://stories.wnba.com/games-staging/1042000403.html
Relevant Logs
No response
Browser(s) Affected
No response
OS(s) Affected
No response
Device(s) Affected
No response
AMP Version Affected
No response
We've been checking the configuration and that the events are sent correctly (they are) so we're out of options to debug this.
Can someone from @ampproject/wg-analytics help us investigate?
@rishnarang Are you using GA Universal Analytics?
@micajuine-ho The partner using this set up uses GA Universal Analytics.
One question I have is why do you have two amp-analytics type=googleanalytics elements on the page? And are either of them showing up? It looks like they are two different UA accounts.
@micajuine-ho
Hi. The issue posted here happens to us.
We have two separate UA accounts per story as we put our tracking and our clients tracking in the story. The events don't appear in both accounts.
Let me know if you want me to add any more information to help identify the issue here.
Thanks @heydarkatz
@micajuine-ho does the previous comment help? Appreciate any help on this.
@micajuine-ho could you assign a new owner for this please? This is an important issue for us
@heydarkatz Thanks for explaining the context, that helps a lot.
@rishnarang or @heydarkatz do either of you have a minimal reproducible case? i.e. something in Jsbin?
@gmajoulet I'll keep working on it and assign a new owner if it is not solved by the time I depart.
@micajuine-ho https://stories.wnba.com/games/1022100092.html
@zikas Do you you think you could take a look at this?
@gmajoulet and I have confirmed that the Page Visible events are being sent from the client, but it seems like they aren't being picked up by GA. Do you have any idea why this might happen?
@zikas @gmajoulet @micajuine-ho could you please help us understand the source of the issue and if it is on GA side, how can we trace and fix the issue?
Thank you!
We're working with GA internally to try to understand what is happening.
@gmajoulet @micajuine-ho Hi folks, did you get any new information from GA?
Thanks!
Fixed by using amp-story-auto-analytics and the updated configuration (adding groups: "default" option).