MCPcopy Index your code
hub / github.com/ampproject/amphtml / doNotTrackImpression

Function doNotTrackImpression

src/impression.js:105–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 * Signal that impression tracking is not relevant in this environment.
104 */
105export function doNotTrackImpression() {
106 trackImpressionPromise = Promise.resolve();
107}
108
109/**
110 * Handle the getReplaceUrl and return a promise when url is replaced Only

Callers 2

amp-shadow.jsFile · 0.90
amp-inabox.jsFile · 0.90

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected