Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this library include Facebook App Events? #150

Open
kyangy opened this issue Dec 22, 2017 · 4 comments
Open

Does this library include Facebook App Events? #150

kyangy opened this issue Dec 22, 2017 · 4 comments

Comments

@kyangy
Copy link

kyangy commented Dec 22, 2017

I have included the Facebook App ID in segment and the docs say that whenever you track/screen it should automatically send to Facebook without any additional installs, etc. However, I haven't been able to see any events coming through on the facebook side but see it only in segment. Any clues?

@kyangy
Copy link
Author

kyangy commented Jan 5, 2018

Talking with segment, they are saying I should be passing an advertisingId to Segment within a context object. How might I do this?

 "context": { "active": true,
    "app": { "name": "InitechGlobal",
      "version": "545",
      "build": "3.0.1.545",
      "namespace": "com.production.segment" },
    "device": { "id": "B5372DB0-C21E-11E4-8DFC-AA07A5B093DB",
      "advertisingId": "7A3CBEA0-BDF5-11E4-8DFC-AA07A5B093DB",
      "adTrackingEnabled": true,
      "manufacturer": "Apple",
      "model": "iPhone7,2",
      "name": "maguro",
      "type": "ios",
      "token": "ff15bc0c20c4aa6cd50854ff165fd265c838e5405bfeb9571066395b8c9da449"}
}

@jmeiss
Copy link

jmeiss commented Jun 13, 2018

Hi @kyangy

I'm just starting to setup Facebook App Events on our app. Did you find any solution to pass an advertisingId to Segment ?

@kyangy
Copy link
Author

kyangy commented Jun 13, 2018

@jmeiss I created a native module using Android's AdvertisingIdClient class to grab the ADID and then I include it within the context like this

context: {
  device: {
    advertisingId: adid
  }
}

@jmeiss
Copy link

jmeiss commented Jun 14, 2018

@kyangy sounds good, would you mind sharing some code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants