Skip to content

Commit

Permalink
Test PR
Browse files Browse the repository at this point in the history
  • Loading branch information
powerivq committed Jan 6, 2025
1 parent 7c357cb commit 0d9ba40
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {AmpA4A} from '../../amp-a4a/0.1/amp-a4a';
const TAG = 'amp-ad-network-mgid-impl';

const BASE_URL_ = 'https://servicer.mgid.com/';
const PV_URL_ = 'https://c.mgid.com/pv/';

export class AmpAdNetworkMgidImpl extends AmpA4A {
/**
Expand Down Expand Up @@ -75,18 +74,6 @@ export class AmpAdNetworkMgidImpl extends AmpA4A {
const joinedParams = '?' + data.join('&');
servicerUrl += joinedParams;

if (!hasOwn(this.win, '_mgAmpStoryPV')) {
this.getAmpDoc()
.getBody()
.appendChild(
createElementWithAttributes(this.win.document, 'amp-pixel', {
'src': PV_URL_ + joinedParams,
})
);

this.win['_mgAmpStoryPV'] = 1;
}

return servicerUrl;
});
}
Expand Down

0 comments on commit 0d9ba40

Please sign in to comment.