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.
![](https://cdn.answeroverflow.com/1128050369260429443/Screenshot_2023-07-10_154912.png)
12 Replies
Any error messages?
Yes, I tried reimporting it but that didn't help.
![](https://cdn.answeroverflow.com/1128315339327950889/image.png)
Ah, it's src, not url!
![](https://cdn.answeroverflow.com/1128465798084690043/image.png)
I changed that but still no luck. It saying src isn't a function but it seems to work in the other examples listed
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?
of course
![](https://cdn.answeroverflow.com/1128706975581098114/image.png)
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.
Ever solved?
Sorry, lost track of this one. Let me check later.
any luck?