Facebook Analytics


Does someone know what is the cleanest way to integrate Facebook Analytics (Facebook JavaScript SDK) with Ember?

Some options:

  • Write the Javascript code in a file and then execute it in the didInsertElement hook.
  • Use a third party extension.

Thank you!

1 Like

Haven’t used it myself, but did you look at https://emberobserver.com/addons/ember-cli-facebook-js-sdk ?