Page MenuHomePhabricator

utm source is showing null for app menu donations on Android
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Reported from Slack - android channel:

It looks like the UTM source is broken for app menu donations on android. 

The issue started at least as early as November 28th.

From that point on I start seeing entries such as enUS_null_Android.inapp.google rather than enUS_appmenu_Android.inapp.google.
Around 1500 donations

Note: not sure where the payments were coming from (native vs webpay), but basically, it is related to the CampaignCollection.getFormattedCampaignId(campaignId), where the campaignId is null in this case.

Expected results

enUS_appmenu_Android.inapp.google

Actual results

enUS_null_Android.inapp.google


Testing steps for QA:

  1. Go to Developer settings and find "Event Platform intake base URI", and select "Beta"
  2. Update "Event platform batch size" to "1".
  3. Restart the app
  4. Go to https://stream.wikimedia.beta.wmcloud.org/v2/ui/#/?streams=app_donor_experience and click on Stream
  5. Click on "More" menu and click on "Donate with Google Pay"
  6. Check event stream to see if the campaign id is enUS_appmenu_reminderA_Android or enUS_appmenu_reminderB_Android

Event Timeline

cooltey renamed this task from utm source is showing null for app menu donations on ANdroid to utm source is showing null for app menu donations on An\droid.Jan 5 2026, 6:45 PM
cooltey renamed this task from utm source is showing null for app menu donations on An\droid to utm source is showing null for app menu donations on Android.
ABorbaWMF subscribed.

Testing on 50565-r-2026-01-12 and 50565-beta-2026-01-12 on OnePlus 8 on Android 13, and Pixel 6 on Android 16.

I am not seeing the events listed in the description. I am seeing enUS_appmenu_Android, but no reminder. Here are my settings and the events:

Screenshot_2026-01-13-11-26-46-73_2c49f68a4a6b3359d2a6bd122cb3bac6.jpg (2×1 px, 296 KB)

Screenshot 2026-01-13 at 8.27.45 AM.png (604×2 px, 385 KB)

Hi @ABorbaWMF

This is expected if you are not in the eligible countries or not in the test group.

To be able to see either _reminderA or _reminderB, you will have to set your GeoIP in developer settings to one of these: GB AU CA

And to change the test group, you will need to find "Donation Reminder test group" and change it to 0 or 1.

Appears to be fixed on 50565-r-2026-01-12 on OnePlus 8 on Android 13, and Pixel 6 on Android 16. Test with google pay and web pay.