Hello guys. I can't get zaraz to work on
Hello guys. I can't get zaraz to work on a domain that i own. I have a cloudflare pages Remix app with custom domain on clarastefania.ro with proxy active and correctly configured zaraz on Cloudflare Dashboard with GA4. It's says that it's on, but the script is not injected at all. I tried to make a subdomain with a wordpress website, here it's injected, but i receive 404 when it tries to load https://test.clarastefania.ro/cdn-cgi/zaraz/s.js (with some parameters) . Can someone please help me?
4 Replies
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
nope, it's a freshly added domain to cloudflare, we have a lot of settings for performace activated like compression, maybe they could interfere?
i can provide any configuration that i have set up on this domain if you want
what it's odd to me, it's that https://test.clarastefania.ro/cdn-cgi/zaraz/s.js exists, but with the parameters i receive 404 https://test.clarastefania.ro/cdn-cgi/zaraz/s.js?z=JTdCJTIyZXhlY3V0ZWQlMjIlM0ElNUIlNUQlMkMlMjJ0JTIyJTNBJTIyQ1NXUCUyMiUyQyUyMnglMjIlM0EwLjg4ODgxNjUwNDA0Mjg4MjQlMkMlMjJ3JTIyJTNBMTkyMCUyQyUyMmglMjIlM0ExMDgwJTJDJTIyaiUyMiUzQTkwOSUyQyUyMmUlMjIlM0E0NTklMkMlMjJsJTIyJTNBJTIyaHR0cHMlM0ElMkYlMkZ0ZXN0LmNsYXJhc3RlZmFuaWEucm8lMkYlMjIlMkMlMjJyJTIyJTNBJTIyJTIyJTJDJTIyayUyMiUzQTI0JTJDJTIybiUyMiUzQSUyMlVURi04JTIyJTJDJTIybyUyMiUzQS0xMjAlMkMlMjJxJTIyJTNBJTVCJTVEJTdE
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
I'll try with a fresh domain without anything activated, thanks
So i tried again, with a completely new domain, antikshop.ro . No other settings besides full ssl certificate and Zaraz. On cloudflare pages app it doesn't load at all. And on a blank wordpress on test.antikshop.ro i receive 404 in console for https://test.antikshop.ro/cdn-cgi/zaraz/s.js?z=JTdCJTIyZXhlY3V0ZWQlMjIlM0ElNUIlNUQlMkMlMjJ0JTIyJTNBJTIydGVzdC5hbnRpa3Nob3Aucm8lMjIlMkMlMjJ4JTIyJTNBMC42ODk5Nzg3NTEzOTQ4OTc2JTJDJTIydyUyMiUzQTI1NjAlMkMlMjJoJTIyJTNBMTQ0MCUyQyUyMmolMjIlM0ExMjcxJTJDJTIyZSUyMiUzQTE0MjglMkMlMjJsJTIyJTNBJTIyaHR0cHMlM0ElMkYlMkZ0ZXN0LmFudGlrc2hvcC5ybyUyRiUyMiUyQyUyMnIlMjIlM0ElMjIlMjIlMkMlMjJrJTIyJTNBMjQlMkMlMjJuJTIyJTNBJTIyVVRGLTglMjIlMkMlMjJvJTIyJTNBLTEyMCUyQyUyMnElMjIlM0ElNUIlNUQlN0Q=
I've managed to resolve the 404 error by reseting zaraz config and manually setting it up (i used to load a prebuilt json with my config, it might have been from that). But now i still have the problem that my main app which is a Remix hosted on Cloudflare Pages does not load at all. The html tag that should be injected is missing.