Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete redplanet #1405

Merged
merged 2 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/beige-pans-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@guardian/commercial': minor
---

Delete redplanet
23 changes: 0 additions & 23 deletions src/core/__vendor/launchpad.js

This file was deleted.

1 change: 0 additions & 1 deletion src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,5 @@ export type { PageTargeting } from './targeting/build-page-targeting';
/* -- Vendor JavaScript -- */
export { a9Apstag } from './__vendor/a9-apstag';
export { ipsosMoriStub } from './__vendor/ipsos-mori';
export { launchpad } from './__vendor/launchpad';
export { pubmatic } from './__vendor/pubmatic';
export { buildImaAdTagUrl } from './targeting/youtube-ima';
2 changes: 0 additions & 2 deletions src/init/consented.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { init as prepareA9 } from 'init/consented/prepare-a9';
import { init as prepareGoogletag } from 'init/consented/prepare-googletag';
import { initPermutive } from 'init/consented/prepare-permutive';
import { init as preparePrebid } from 'init/consented/prepare-prebid';
import { init as initRedplanet } from 'init/consented/redplanet';
import { removeDisabledSlots as closeDisabledSlots } from 'init/consented/remove-slots';
import { initTeadsCookieless } from 'init/consented/teads-cookieless';
import { init as initThirdPartyTags } from 'init/consented/third-party-tags';
Expand Down Expand Up @@ -65,7 +64,6 @@ if (!commercialFeatures.adFree) {
commercialExtraModules.push(
['cm-prepare-adverification', prepareAdVerification],
['cm-thirdPartyTags', initThirdPartyTags],
['cm-redplanet', initRedplanet],
);
}

Expand Down
163 changes: 0 additions & 163 deletions src/init/consented/redplanet.spec.ts

This file was deleted.

77 changes: 0 additions & 77 deletions src/init/consented/redplanet.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/lib/commercial-features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class CommercialFeatures {
liveblogAdverts: boolean;
adFree: boolean;
comscore: boolean;
launchpad: boolean;
youtubeAdvertising: boolean;
footballFixturesAdverts: boolean;

Expand Down Expand Up @@ -177,13 +176,6 @@ class CommercialFeatures {
!isIdentityPage &&
!this.isSecureContact;

this.launchpad =
!this.adFree &&
externalAdvertising &&
!isIdentityPage &&
!this.isSecureContact &&
!!window.guardian.config.switches.redplanetForAus;

this.commentAdverts =
this.shouldLoadGoogletag &&
!this.adFree &&
Expand Down
Loading