Segment-Facebook App Events


#1

In order to use Segment to feed app events back to Facebook for the purposes of attributing Facebook ads, Segment requires the additional setup of installing Segment-Facebook-App-Events. My guess is that this would require a detach, but thought it was worth asking first.

Unless is there an alternate route to tying app install conversions back to FB ads? Has anyone done this?


#2

It’s a little unclear from the Segment docs but you might be able to use this destination without any native code changes: https://segment.com/docs/destinations/facebook-app-events/.

Simply integrate one of Segment’s latest mobile SDKs into your app and we can send all of the data to Facebook via our servers so you don’t need to add another SDK to your app. This is the recommended method for sending your app event data to Facebook and it doesn’t require adding any additional SDKs.

Let us know if you get it working!


#3

@carrie-openinvest - What did you end up doing? :slight_smile:


#4

@jesse - Would it be possible to somehow use the raw Facebook App Events API (https://developers.facebook.com/docs/marketing-api/app-event-api)? As far as I understand from those docs, one would need a way to fetch

Apple's Advertising Identifier (IDFA) (for iOS)
Android's Advertising ID (Android)

and use that in the requests to the API, correct?

My concrete use case is that we’d like some insight into how many app installs our Facebook/Instagram ads are generating. I’m not entirely sure how this works, but as far as I understand from the docs, I need App Events for that.


#5

Hey @jhalborg. Expo doesn’t expose either of those values right now, so you’d have to detach to get them.


#6

Hey @jesse , thanks :slight_smile: Any chance they could be exposed in the next SDK? It would allow a number of integrations that are not possible now, App Events being one.

I’d really rather not detach if possible :smiley:

EDIT: Added as input for https://expo.canny.io/feature-requests/p/add-facebook-event-tracking-facebook-sdk


#7

You should submit a PR if you really want them in the next release! Don’t think we’ll have time to do it ourselves.


#8

hi @jhalborg, I work with Carrie. We ended up detaching so we could initialize Segment-Facebook-App-Events, also so we could capture the “Application Install” event in Segment