This plugin was created based on the example for Google Analytics in the Nuxt.js docs. Basically you're calling the fbq(track) each time the route changes.
- Add
facebook-pixel.jsto your/pluginsdir - Add your Facebook Pixel ID
- Include the plugin in
nuxt.config.js