Hello, we are using the Amplitude React Native SDK in our Expo app. We are trying to enable tracking Advertising IDs so that we can successfully send and match attribution data from AppsFlyer.
Although sending events from AppsFlyer is working, it seems unable to match the events with any users, we suspect its related to missing or incorrect Advertiser IDs.
We have tried enabling all the tracking options:
amplitude.init(API_KEY, OPTIONAL_USER_ID, { trackingOptions: { appSetId: true, adId: true, idfv: true, },});
But for Android we are unsure how to add the the play-services-appset
and play-services-ads-identifier
dependencies? As this is an Expo project, we do not have android or ios folders for native code.
We understand that by setting these config options, the “device_id” of a user in amplitude should be their advertiser id? However, when we examine users in our Amplitude dashboard and compare their device id to the their phone’s advertiser id, they are different.
Do you have any recommendations for enabling the advertising ids in Expo based RN projects?
Thanks!