posthog-android icon indicating copy to clipboard operation
posthog-android copied to clipboard

Adds referrerURL automatically

Open marandaneto opened this issue 1 year ago • 3 comments

Description

Context https://github.com/ueman/flutter_referrer_info/issues/2

Android already listens to ActivityLifecycleCallbacks so it'd be easier to add the referrerURL reading the intent Intent.EXTRA_REFERRER, Intent.EXTRA_REFERRER_NAME and or com.android.browser.application_id.

Prop $referrer, and $referring_domain

  • [ ] Android
  • [ ] iOS
  • [ ] RN
  • [ ] Flutter

marandaneto avatar May 31 '24 08:05 marandaneto

@thisames would you like to take this one?

marandaneto avatar Sep 03 '24 06:09 marandaneto

On Android, there's also this option https://developer.android.com/google/play/installreferrer

marandaneto avatar Sep 04 '24 13:09 marandaneto

On iOS, this and this We cannot make it automatic but we can provide a method that takes a NSUserActivity at least. For SwiftUI, see this and friends Also this https://developer.apple.com/documentation/storekit/skadnetwork

marandaneto avatar Sep 04 '24 13:09 marandaneto

@marandaneto I'll be happy to take this one. Is it already assigned?

beradeep avatar Sep 29 '24 15:09 beradeep

@marandaneto I'll be happy to take this one. Is it already assigned?

feel free to take it.

marandaneto avatar Sep 30 '24 07:09 marandaneto