Tracking app installs from facebook ad campaign

I am looking into options to track app installs from a facebook mobile app install campaign. The facebook-cordova plugin looks promising but other than a claim that app activations are automatically tracked, I am not sure how to proceed. https://github.com/jeduan/cordova-plugin-facebook4. I assume that there is more to it than simply dropping in the plugin, I must have to initialize something somewhere, I would think.

In particular, I am looking for guidance on how to test this before deploying.

I would love to hear from anyone who has solved this problem, either with the plugin or through some other means.

Have you figured this out? I wonder how the plugin matches the installs to particular campaigns.

Looking for help on this matter as well. Anyone can help? Thanks!