ampproject / ampproject/amphtml
amp-analytics: Canary version error "reportWhen and repeat are mutually exclusive."
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
## What's the issue?
Canary version console error "reportWhen and repeat are mutually exclusive."
## How do we reproduce the issue?
This trigger snippet will cause the above error and prevent the event from firing
"hiddenPings": {
"on": "hidden",
"extraUrlParams": {
"pp_ev": "blur"
},
"visibilitySpec": {
"totalTimeMin": 10000,
"visiblePercentageMax": 0,
"repeat": true
},
"request": "trackPagePing"
}
## Which AMP version is affected?
Canary - v: 1811061842310
Is this a new issue? Or was it always broken? Paste your AMP version. You can find it in the browser dev tools.
Works in the non Canary version: 1811051833450
Contributor guide
Assessment
This issue has not been assessed yet.