I'm using the Facebook SDK to track ads mobile install and followed this tutorial: mobile ads install
So far, events in DashBoard / Insight are not separated for debug / prod mode.
Do I have to create 2 appIDs to separate the debug and prod events in DashBoard/Insight ?
Facebook just launched Events, a standalone app to help navigate Facebook Events more easily. Facebook Events is a great way for the social media network to help you keep track of the important dates in your life.
A Conversions Schema is framework in your app to remotely manage and set conversion events and conversion values.
Facebook, the most famous social networking app across the globe is leaving no stone unturned. It recently revamped its Events app and renamed it Facebook Local. Facebook has launched this app as a competitor to the local event and business listing services like Yelp which are already prevalent in the market.
My guess is to you use the DEBUG
preprocessor macro (or create a new one if needed), to set the correct Facebook's appId for you build. You can use the method FBSettings setDefaultAppID:
from Facebook SDK to reach this, without hardcode the appId in the Info.plist.
Let me write a simple example:
// 1 - Set the app id on compile time, based in macro you choosed
#if DEBUG
kFacebookAppID = @"your app id for debug";
#else
kFacebookAppID = @"your app id for production";
#endif
// After then, you can set the id in your app delegate initialization
[FBSettings setDefaultAppID:kFacebookAppID];
I hope this help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With