feat(gelderlander): disable comScore #30

Closed
opened 2026-10-10 12:22:46 +02:00 by midas · 1 comment
Owner

Part of #16. Implement according to the decision in #20.

Feature description

De Gelderlander starts comScore with the advertising ID as a label (nb_idfa). Only the FEATURE_COMSCORE flag gates it; consent doesn't.

Findings (9.21.1)

  • yo1.e(String adId):
    1. builds a client with Analytics.getConfiguration().addClient(PublisherConfiguration.Builder().publisherId("11464450")...);
    2. sets the labels ns_site and nb_idfa;
    3. calls Analytics.start(ctx).
  • zo1.a calls yo1.e with the ad ID. It is triggered from g9d.f (TrackingStarter) when FEATURE_COMSCORE is on.
  • comScore's own classes (com.comscore.Analytics) are unobfuscated.

Approach

  • Option 1: force FEATURE_COMSCORE off through the flag override hook (#17).
  • Option 2: no-op com.comscore.Analytics.start(Context). This is unobfuscated and would also work for de Volkskrant if it ever starts comScore directly (today it only uses notifyViewEvent via GTM, see #27).

Done when

  • Build passes; patch applied on 9.21.1.
  • Device check (after asking): no *.scorecardresearch.com requests.
  • Documented in docs/apps/gelderlander.md.
Part of #16. Implement according to the decision in #20. ## Feature description De Gelderlander starts comScore with the advertising ID as a label (`nb_idfa`). Only the `FEATURE_COMSCORE` flag gates it; consent doesn't. ## Findings (9.21.1) - `yo1.e(String adId)`: 1. builds a client with `Analytics.getConfiguration().addClient(PublisherConfiguration.Builder().publisherId("11464450")...)`; 2. sets the labels `ns_site` and `nb_idfa`; 3. calls `Analytics.start(ctx)`. - `zo1.a` calls `yo1.e` with the ad ID. It is triggered from `g9d.f` (TrackingStarter) when `FEATURE_COMSCORE` is on. - comScore's own classes (`com.comscore.Analytics`) are unobfuscated. ## Approach - Option 1: force `FEATURE_COMSCORE` off through the flag override hook (#17). - Option 2: no-op `com.comscore.Analytics.start(Context)`. This is unobfuscated and would also work for de Volkskrant if it ever starts comScore directly (today it only uses `notifyViewEvent` via GTM, see #27). ## Done when - [ ] Build passes; patch applied on 9.21.1. - [ ] Device check (after asking): no `*.scorecardresearch.com` requests. - [ ] Documented in `docs/apps/gelderlander.md`.
Author
Owner

Implemented and verified on device in ab05dc1 as part of the Disable tracking patch.

Implemented and verified on device in ab05dc1 as part of the Disable tracking patch.
midas closed this issue 2026-10-10 15:24:45 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
midas/midas-patches#30
No description provided.