Igor's lucky notes
Note written on May 1, 2024

I miss a good lib to handle facebook pixel in Nuxt

I'm using Facebook pixel to run ads here on Lucky Hackers but until a couple of weeks ago, I was using only one pixel for the entire website.

I ran a new campaign for a free week of classes (Lucky Hackers is my training company) that requires providing another pixel to the free week landing page.

This lib from @quando1910 is already a fork from the Nuxt 2 compatible version but hasn't been fully ported because this fork doesn't support multiple pixels.

So, what I did was use patch-package to create a hotfix locally and made a PR to him.

I tried to contact him in many different ways but had no success at all.

I'll probably make a lib to handle this since I'll be using it a lot.