feat(volkskrant): disable Contentsquare session replay #26
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #16. Implement according to the decision in #20.
Feature description
Contentsquare is a session analytics and replay SDK. It records how the user scrolls and taps. de Volkskrant is the only DPG Edition brand where it is enabled. It is the most privacy-relevant tracker in the app, so it should be the first one to go.
Findings (7.52.0)
nl.persgroep.edition.di.TrackingModule$Companion.provideContentsquareEnabled(DpgBrand)returns true only for Volkskrant.ContentsquareStartupTask.onStartup()callsCSQ.configureProductAnalytics(ctx, "2775443858", ...)andCSQ.start.ContentsquareTracker:CSQ.stop()in its constructor when Contentsquare is disabled;trackEventwhen it is enabled and consent is given;onMarketingConsentUpdate.com.contentsquare.android.autostart=false, butandroidx.startup.InitializationProviderstill runsCSQInitializer.Approach
provideContentsquareEnabledreturn false. The app's own code then skips start and callsCSQ.stop().CSQInitializerentry from the androidx.startup provider with a resource patch.Done when
*.contentsquare.net) and no CSQ init in logcat.docs/apps/volkskrant.md.Implemented and verified on device in
ab05dc1as part of the Disable tracking patch.