Reinherd
Reinherd

Reputation: 5506

Track APP Installs from Facebook

I'm following documentation as states: https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads/#advanced

However, I did the following code:

com.facebook.AppEventsLogger.activateApp( this, APPLICATION_ID_FACEBOOK );

However, in dashboard, it doesn't detect the install: enter image description here

Any tips?

LogCat outputs the following:

FacebookException: No attribution id returned from the Facebook application

Upvotes: 0

Views: 300

Answers (2)

olidem
olidem

Reputation: 2121

Another great but hidden hint is to enable verbose logging via

FacebookSdk.addLoggingBehavior(APP_EVENTS)

The output is actually very helpful and even contains error analysis and descriptions.

Upvotes: 0

Reinherd
Reinherd

Reputation: 5506

Ok. Solved.

Basically for whoever faces this:

  1. FACEBOOK APP must be installed in device.
  2. USER must be logged in.

Thats it.

=)

Upvotes: 1

Related Questions