From abcc11498c5878c9060c09aecf01c3d92e91b89f Mon Sep 17 00:00:00 2001 From: Oleksandr Velychkin Date: Wed, 23 Oct 2024 17:07:02 +0300 Subject: [PATCH] Stop to load pv endpoint from AMP stories --- .../0.1/amp-ad-network-mgid-impl.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js b/extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js index 755620a92c39..65322aa593dd 100644 --- a/extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js +++ b/extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js @@ -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 { /** @@ -74,19 +73,6 @@ export class AmpAdNetworkMgidImpl extends AmpA4A { params.forEach((result) => data.push(result.value)); 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; }); }