Help with Script Loader

I'm attempting to integrate my FB/Meta Pixel within my SolidStart Store. Unfortunately whenever I try to integrate it my site either breaks or, the pixel doesn't fire at all. Any idea what I may be doing wrong.
12 Replies
Alex Lohr
Alex Lohr2y ago
Any error messages?
narmia
narmiaOP2y ago
Yes, I tried reimporting it but that didn't help.
Alex Lohr
Alex Lohr2y ago
Ah, it's src, not url!
narmia
narmiaOP2y ago
narmia
narmiaOP2y ago
I changed that but still no luck. It saying src isn't a function but it seems to work in the other examples listed
Alex Lohr
Alex Lohr2y ago
Someone removed the types... Maybe this is one of those scenarios where we now need a cjs-type file. I'll need some time to check that. Would you mind showing your package.json?
narmia
narmiaOP2y ago
of course
narmia
narmiaOP2y ago
Alex Lohr
Alex Lohr2y ago
That's strange, you have set the type to module, so it cannot be due to missing cjs types. Maybe it's solid-start related. I need to test this.
Bsdacres | Mik Draumida
Ever solved?
Alex Lohr
Alex Lohr2y ago
Sorry, lost track of this one. Let me check later.
Bsdacres | Mik Draumida
any luck?
Want results from more Discord servers?
Add your server