Facebook Analytics


#1

Hi,

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!


#2

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