Question by
martinboisrond · Sep 07, 2017 at 04:52 PM ·
facebooksdk
Facebook SDK for CPI tracking
Hello guys !
I've been trying to integrate the Facebook SDK correctly but it didn't seem to work unfortunately, so I want to know what i'm doing wrong/missing.
I'm just looking to get the basic statistics from Facebook analytics so I can evaluate my CPI through my instals on facebook ads. I'm not looking to do anything fancy like log special events etc.
I've downloaded the Facebook SDK and imported everything. I've also initialised the sdk with FB.ActivateApp on awake:
public void Init(){
if (FB.IsInitialized) {
FB.ActivateApp ();
} else {
FB.Init(() => {
FB.ActivateApp ();
});
}
}
Is there anything else I need to do to record simple events through facebook analytics after those steps?
Many thanks !
<3
Comment