Skip to content

Commit

Permalink
update comment (ampproject#19971)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyx authored and Noran Azmy committed Mar 22, 2019
1 parent 48b7232 commit 9fc00e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/impression.js
Expand Up @@ -93,8 +93,9 @@ export function maybeTrackImpression(win) {
]).then(results => {
const isTrustedViewer = results[0];
const isTrustedReferrer = results[1];
// Currently this feature is launched for trusted viewer and trusted
// referrer, but still experiment guarded for all AMP docs.
// Enable the feature in the case of trusted viewer,
// or trusted referrer
// or with experiment turned on
if (!isTrustedViewer && !isTrustedReferrer && !isExperimentOn(win, 'alp')) {
resolveImpression();
return;
Expand Down

0 comments on commit 9fc00e2

Please sign in to comment.