feat: disable Usabilla campaign surveys #36
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#36
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.
Feature description
Both apps use Usabilla to show survey and feedback campaigns: banners and popup forms, triggered by app events. Stop the automatic campaigns, but keep the feedback form the user opens on purpose from settings.
Findings
de Volkskrant (7.52.0)
UsabillaStartupTaskcallsUsabillaUtils.init(Usabilla.initialize+setCustomVariables). Setup inMainActivityusesUsabillaUtils.setup(AppCompatActivity).nl.persgroep.edition.feature.component.tracking.domain.tracker.usabilla.utils.UsabillaUtils.sendEvent(Context, String), reached viaUsabillaTracker.trackUsabillaEvent.nl.persgroep.edition.settings.feedback.FeedbackViewModelcallsUsabilla.loadFeedbackForm."635aa38388a3bc49ad59d5c5".De Gelderlander (9.21.1)
gmd= UsabillaFeedbackService (anchor"com.kubusapp.usabilla.UsabillaFeedbackService"):i(cont)callsUsabilla.initialize, thensetSubmitTelemetryData(false)andsendEvent(ctx, "app_start").f(String)callsUsabilla.sendEvent. Events come from the analytics strategyomd: "home_destination_open", "video_destination_open", "games_destination_open", "podcast_destination_open", "region_destination_open", tutorial_complete.com.kubusapp.feedback.*(FeedbackFragment, DestinationFeedbackActivity). Keep them working.Approach
com.usabilla.sdk.ubform.Usabilla.sendEvent(Context, String)return-void.sendEvent, so this stops them in both apps whileloadFeedbackFormkeeps working.dpg/(the same SDK version in both apps? verify).Usabilla.initialize: the manual feedback form needs it.Done when
sendEventpoints.docs/apps/*.md.Midas Settings
hide_surveys), category "Pop-ups en meldingen", default on.Usabilla.sendEventhook at runtime. No restart needed. The manual feedback form in settings is never affected.