How to use standard events in the react native Facebook SDK
<p>The Facebook SDK has the ability to record both custom events and standard events. The standard events are things like "Purchases" "Add to cart" "Completed Registration" etc...</p>

<p>Recording these standard events gives you access to specific bidding features on Facebook ads that you don't get without the events.</p>

<p>I have an app that has the React Native FBSDK</p>

<p>There are two methods for defining an event - one for purchases and one for everything else as seen <a href="https://github.com/facebook/react-native-fbsdk/blob/9c63f00a849de685ccae73f57b79ec12a760d53a/js/FBAppEventsLogger.js#L58" rel="noreferrer">here</a></p>

<p>There is zero documentation for standard events on react within the SDK on Github or on the event tracking docs on Facebook's <a href="https://developers.facebook.com/docs/app-events" rel="noreferrer">developer platform</a>.</p>

<p>Right now I'm trying to track the standard events by using their various names, as recorded across FB's documentation. I've tried the following:</p>

<p><code>AppEventsLogger.logEvent('FBSDKAppEventNameCompletedRegistration');</code>
<code>AppEventsLogger.logEvent('CompletedRegistration');</code>
<code>AppEventsLogger.logEvent('Completed Registration');</code></p>

<p>All of these just create custom events with those names, but aren't recognized as standard events.</p>

<p>Has anyone gotten standard events to work using the React Native wrapper for the FB SDK? If so how do you name the events to get FB to recognize them?</p>