S
SolidJS17mo ago
narmia

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 Lohr17mo ago
Any error messages?
narmia
narmiaOP17mo ago
Yes, I tried reimporting it but that didn't help.
Alex Lohr
Alex Lohr17mo ago
Ah, it's src, not url!
narmia
narmiaOP17mo ago
narmia
narmiaOP17mo 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 Lohr17mo 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
narmiaOP17mo ago
of course
narmia
narmiaOP17mo ago
Alex Lohr
Alex Lohr17mo 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 Lohr17mo 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