Page MenuHomePhabricator

Send App `app_install_id` value to FR Tech data to improve app donation tracking
Open, MediumPublic

Description

User story

As a product manager running a donation experiment on the Apps, I want to be able to know total amount given / unique, or "average donor value" so that I can begin to understand the lifetime value of an App donor, and use this metric to evaluate experiments.

Context

Adding @AKanji-WMF and @Pcoombe -

Following up on a discussion from a previous meeting with Apps team and FR Tech (2024-10-31 - Notes)

Apps team wants to re-explore the possibility to send app_install_id value with donation success events so we can better join our in-app campaign engagement data with FR Tech's donation data. Notes have some suggested methods but I believe this was put on hold until after Q3 Big EN. Ok if this is not doable right away, wanted to get it into Phab since I couldn't find it elsewhere.

Event Timeline

HNordeenWMF renamed this task from Send App `app_install_id` value to FR Tech data to improve app donation tracking to Send App `app_install_id` value to FR Tech data to improve app donation tracking.Sep 26 2025, 10:17 PM
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF updated the task description. (Show Details)

@HNordeenWMF can we discuss timing please in relation to current in-progress/Q2.Q3 OKRs?

Hi @AKanji-WMF, we're planning to run a follow-up experiment of the Customizable Donation reminder in Q2/early Q3. I'd like to get this implemented before we run another experiment with that feature. This would allow us to understand average donor value, and if the donation reminder results in people giving more overall, over time. I wasn't in the early conversations about this - was it estimated at all in terms of effort required from fr-tech?

Adding @Lars and @SBurnett-WMF - how might we store this data in Civi

@HNordeenWMF @SNowick_WMF: We would be able to get this set up in Q3 or potentially earlier if there is a specific date you would need this for.

We think this should be stored per contribution rather than per contact to avoid issues where someone uninstalls and re-installs or has two devices with the app installed on both. Would you want to have data only on completed donations or on all donation attempts?

Where would you plan to analyze this data? Would it be in Metabase or would you be looking to pull into systems on your side?

Hi @Lars! I'll let @SNowick_WMF answer all of the questions, but I just want to highlight our specific date: we're hoping to start an experiment that relies on this Data on December 1st during the Big English campaign on the Apps. If we could get this set up by then, or even the first week of December that would be ideal.

the app isn't using anything for utm_key, we could put that data in there. It also aligns with something unique going into utm_key for other donations

With @Cstone's suggestion, we'd have data for both completed and attempted donations — and this is significantly easier for us to get done before Dec 1. So I think that's the way to go, unless there are any objections from your end @SNowick_WMF?

Also just to add an implementation detail: @Ejegg suggested we make it accept "appId" as the API param and then send it to the queue as utm_key with "appId=" prepended.

Hi @Lars and @Cstone - I created a doc for my reply that we can use to hammer out details - great news that this will not be too difficult to accomplish. Everyone in this ticket has access.

Change #1206980 had a related patch set uploaded (by Cstone; author: Cstone):

[mediawiki/extensions/DonationInterface@master] WIP: Send app_install_id in utm_key

https://gerrit.wikimedia.org/r/1206980

Change #1206980 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Send app_install_id in utm_key

https://gerrit.wikimedia.org/r/1206980

The fr-tech side of this has been deployed.

Aklapper changed the subtype of this task from "Deadline" to "Task".Wed, Nov 26, 11:25 PM