alpha-wallet-android icon indicating copy to clipboard operation
alpha-wallet-android copied to clipboard

Not setting Mixpanel People profile property at all since build released Nov 21

Open hboon opened this issue 3 years ago • 11 comments

https://mixpanel.com/project/2202789/view/143365/app/insights/#G1UFR9kudDRr

Could legitimately means we didn't trigger code to set any profile property, but it has always been set prior to Nov 21, better to check. In the graph, when Android Devices = false, it means it was not set.

Setting a property would be done with something like getPeople().set(xxx)

hboon avatar Dec 29 '22 05:12 hboon

@hboon this should be fixed in the 3.61 release. We did some mixpanel butchery to try to get the app past the censors but it turned out it was an issue on the Google side as it affected a lot of other people.

None of this 'butchery' was on the main branch, which we have released as of a few days ago.

JamesSmartCell avatar Jan 06 '23 03:01 JamesSmartCell

Related message: https://discord.com/channels/@me/801704763162755072/1060783474514087937

hboon avatar Jan 06 '23 04:01 hboon

@hboon it seems like this one can be closed now?

JamesSmartCell avatar Jan 16 '23 22:01 JamesSmartCell

@JamesSmartCell no, check out that Mixpanel link in the Discord link (ouch!). Those users are still being logged without setting Android Devices, which is done automatically once we set any user properties. Could it be that we haven't explicitly set any user properties yet?

hboon avatar Jan 17 '23 00:01 hboon

It's a string and false means not set.

image

We only set this value when analytics enabled, so I think these users with false value are using noAnalytics version.

if (preferenceRepository.isAnalyticsEnabled())
        {
            firebaseAnalytics.setUserId(uuid);
            mixpanelAPI.identify(uuid);
            mixpanelAPI.getPeople().identify(uuid);

seabornlee avatar Jan 28 '23 06:01 seabornlee

Then these users/sessions shouldn’t appear in Mixpanel in the first place, right?

hboon avatar Jan 29 '23 08:01 hboon

Then these users/sessions shouldn’t appear in Mixpanel in the first place, right?

I think it can be a way to know how many users are using no analytics version.

seabornlee avatar Jan 29 '23 08:01 seabornlee

Sorry, I was not clear, I meant, if there is this code that kicks off the if branch with noAnalytics:

if (preferenceRepository.isAnalyticsEnabled())
        {
            firebaseAnalytics.setUserId(uuid);
            mixpanelAPI.identify(uuid);
            mixpanelAPI.getPeople().identify(uuid);

shouldn't it also not log to Mixpanel at all with noAnalytics? i.e either:

A. With analytics: log to Mixpanel, events + profiles B. No analytics: don't hit Mixpanel at all

hboon avatar Jan 30 '23 00:01 hboon

I think so, I guess the original intention of no analytics version is for users who live in regions where they can't access Google services. But to conform F-Droid's policy, it requires no data collecting too.

seabornlee avatar Jan 30 '23 05:01 seabornlee

@seabornlee do we know if this was fixed?

hboon avatar Mar 21 '23 23:03 hboon

Released ~20230410. To check back

hboon avatar Apr 18 '23 00:04 hboon