Skip to content

Android: "UTM Visited" event not logged when clicking link while app is backgrounded #400

Open
@marcshilling

Description

@marcshilling

I am trying to set up UTM tracking for my app so that we can measure clicks across iOS/Android (universal links) and web.

To test this, I can just refresh my user on the CleverTap dashboard and see the event come in almost instantly:
image

This seems to be working well in all cases, except when the Android app is already "alive" in the background. The "UTM Visted" event is sent properly when the app is quit and does a cold boot, but if I background the app and click the link it is not sent. On iOS, the event is sent properly in both cases.

More info:

  • clevertap-react-native v2.2.1
  • I've added implementation 'com.android.installreferrer:installreferrer:2.2' to my build.gradle per the docs (this was necessary to get the cold-boot tracking to work)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions