I'm using Ionic to develop application on mobile. Now I'm using Facebook SDK analytic for web to tracking events on my application. But I cannot find method to set app version as below:
Does anyone has experience about this?
I'm using Ionic to develop application on mobile. Now I'm using Facebook SDK analytic for web to tracking events on my application. But I cannot find method to set app version as below:
Does anyone has experience about this?
App Version is currently supported only for Native Apps using Android SDK or iOS SDK. By supported I meant, SDK extracts the version automatically from the manifest accordingly.
At this point let me advice to send the version string as custom param, something like this:
function logEvent(name) {
FB.AppEvents.logEvent(name, null, {version: currVersion});
}
as @elize said in comment and in FB js sdk
you can set app version:
FB.AppEvents.setAppVersion('1.2.3.r4')