Simply integrate Facebook Pixel with Gridsome
yarn add gridsome-plugin-facebook-pixel
gridsome.config.js
module.exports = {
plugins: [
'gridsome-plugin-facebook-pixel'
]
}
The default config options will take pixelId
.
{
use: 'gridsome-plugin-facebook-pixel',
options: {
pixelId: '123456789'
}
}