I'm using ionic
with plugin cordova-plugin-facebook4
.
When I try to use logEvent()
I didn't receive any error and also didn't get the information to my Facebook analytics.
I used logEvent()
in the following way:
facebookConnectPlugin.logEvent('my event name', {}, 1);
Using arbitrary Strings as Event names are allowed. For e.g.
where Facebook is referred from :
One reason for the analytics not showing up is if you had to change the APP_ID or APP_NAME for some reason. To fix this, remove and install "cordova-plugin-facebook4" using
and reinstall using with the new values