Aswe want to setup ads tracking with google ads we need to have some device context data set on the initial lifecycle events (especially Application Installed and Application Opened). However this information is missing most of the time (from my observations not all of the time, but most of them). I have found #449 which describes the same issue with a beta version, but I am on the latest version and it still happens for me.
analytics-react-native version: 2.1.12
- Integrations versions (if used): idfa: 0.2.1
- React Native version: 0.63.3
- iOS or Android or both?: both
Steps to reproduce
have trackAppLifecycleEvents: true, activated in the client and reinstall and open app, while checking the debugger on segment.com
Expected behavior
{
"anonymousId": "xxxx",
"context": {
"app": {
"build": "0",
"name": "App",
"namespace": "app.name",
"version": "1.0.0"
},
"device": {
"adTrackingEnabled": false,
"advertisingId": "xxxx",
"trackingStatus": "notDetermined",
"id": "xxxx",
"manufacturer": "Apple",
"model": "x86_64",
"name": "i***",
"type": "ios"
},
"library": {
"name": "@segment/analytics-react-native",
"version": "2.1.12"
},
"os": {
"version": "15.4"
}
},
"event": "Application Opened",
"integrations": {},
"messageId": "xxx",
"originalTimestamp": "2022-05-05T06:39:41.995Z",
"properties": {
"build": "0",
"from_background": false,
"version": "1.61.0"
},
"receivedAt": "2022-05-05T06:40:12.978Z",
"sentAt": "2022-05-05T06:40:11.990Z",
"timestamp": "2022-05-05T06:39:42.983Z",
"type": "track",
"writeKey": "xxxxx"
}
Actual behavior
{
"anonymousId": "xxxx",
"context": {
"app": {
"namespace": "app.name",
"version": "1.0.0"
},
"device": {
"adTrackingEnabled": false,
"advertisingId": "xxxx",
"trackingStatus": "notDetermined"
},
"library": {
"name": "unknown",
"version": "unknown"
},
"os": {
"version": "15.4"
}
},
"event": "Application Opened",
"integrations": {},
"messageId": "xxx",
"originalTimestamp": "2022-05-05T06:39:41.995Z",
"properties": {
"build": "0",
"from_background": false,
"version": "1.61.0"
},
"receivedAt": "2022-05-05T06:40:12.978Z",
"sentAt": "2022-05-05T06:40:11.990Z",
"timestamp": "2022-05-05T06:39:42.983Z",
"type": "track",
"writeKey": "xxxxx"
}
Aswe want to setup ads tracking with google ads we need to have some device context data set on the initial lifecycle events (especially Application Installed and Application Opened). However this information is missing most of the time (from my observations not all of the time, but most of them). I have found #449 which describes the same issue with a beta version, but I am on the latest version and it still happens for me.
analytics-react-nativeversion: 2.1.12Steps to reproduce
have
trackAppLifecycleEvents: true,activated in the client and reinstall and open app, while checking the debugger on segment.comExpected behavior
Actual behavior