nuxt-facebook-pixel-module icon indicating copy to clipboard operation
nuxt-facebook-pixel-module copied to clipboard

Can't use 'track' event

Open antoinebeneteau opened this issue 5 years ago • 0 comments

Describe the bug I can't use the fbq('track', 'Lead') with this configuration

To Reproduce Steps to reproduce the behavior:

  1. Add // With options [ 'nuxt-facebook-pixel-module', { /* module options */ pixelId: 'XXXXXXXXXXX', autoPageView: true, disabled: false, }, ], in Nuxt config
  2. Add methods: { sendLead() { this.$fb.track('Lead', { content_name: 'Pre-subscription', }) }, }, in The Vue component

antoinebeneteau avatar Mar 30 '21 09:03 antoinebeneteau