uerceg / play-install-referrer-react-native

Play Install Referrer Library ported to React Native
MIT License
25 stars 2 forks source link

provide "google-play" or undefined for utm_source for Google ads campaign(expected utm_source to be "google") #19

Open vetrslav opened 2 years ago

vetrslav commented 2 years ago

I have react-native app published on Google Play

I checked play-install-referrer-react-native with custom link approach and it worked for me on debug mode. But after I published new release to production and enabled Google ads campaign I got only 3 possible values on analytics for utm_source. They are undefined, "google-play"(95%) , "(not-set)".

I thought that maybe Google ads do not pass additional data to link, but I checked firebase analytics conversion events and saw that conversions have all information about user, utm_source for many of them is "google" and I can even see the campaign name there..

To Reproduce Try to use google ads campaign and see that library can't catch them in production.

Expected behaviour have "google" value for utm_source in production.

Environment "react": "^16.14.0", "react-native": "^0.63.3", "@react-native-firebase/admob": "^11.5.0", "@react-native-firebase/analytics": "^13.0.1", "@react-native-firebase/app": "^13.0.1", "@react-native-firebase/ml": "^13.0.1", "@react-native-firebase/remote-config": "^13.0.1",

Screenshots image

image

shubhnik commented 2 weeks ago

@vetrslav were you able to solve this? I also have a similar need to identify if the android app install is from Google ads campaign or organic search results.