Zaraz not showing and working in HTML Page Site, debug not working too

For Workes & Pages, what is the name of the domain?

staging.fieldserviceengineervacatures.nl

What is the error number?

VM250

What is the error message?

Debug → Uncaught Reference Error: zaraz is not defined at :1:1

What is the issue or error you’re encountering

I filled in and activated all for Zaraz with GA4. But it is not showing/working on my website. I have shut off all caching, does not make a difference. I work with a combination of Litespeed cache plugin, Quic.cloud and Cloudflare.

What steps have you taken to resolve the issue?

I cleared the cache, worked without cache, I worked with Quic bypassed, tried all kind of settings, but nothing works.

What are the steps to reproduce the issue?

Set up website with Litespeed Cache, Quic Cloud and Cloudflare.
Steps to take:
1 Migrate your DNS to Cloudflare.

2 Get a list of QUIC CDN IPs, create a list in Cloudflare using those IPs. Add those IPs to the Cloudflare WAF exception (all free). Now, go back to the LiteSpeed Cache plugin and request a domain key.

3 Go to the LiteSpeed Cache plugin CDN settings, add Cloudflare Global API keys, and turn on the Cloudflare settings.

4 Go to the general settings in the LiteSpeed Cache plugin > Link to my QUIC Cloud account. Once linked, follow the next steps.

5 Go to the Cloudflare API section and generate an API Key using the “edit DNS zones” template.

6 Use that API Key on the QUIC Cloud dashboard Cloudflare API Key section, (go online to Quic.cloud and under CDN you will find Cloudflare).

7 Turn on the Cloudflare on QUIC CLOUD settings.

8 Back to LiteSpeed Cache plugin settings (you might see a security warning error for the next 20 minutes), and then in the CDN section, click the CDN setup button. Let it run.

9 Go to the Cloudflare dashboard and check the modified CNAME record (something like quiccns).

10 Wait 20 minutes, and you are done and ready.

Your website is not proxied by Cloudflare so Zaraz doesn’t load at all.

1 Like

What I did find just now, is that if I want to use Litespeed with Quic and Cloudflare, I need to make a rule to stop caching from Cloudflare and just use it as a CDN.

Stop cashing, make rule:

Advantage, now I see the caching settings

But it did not resolve my issue with Zaraz

This says otherwise right?

Screenshot from 2024-10-23 10-38-29

Here it says too active.

The IP’s I get.

I fixed it, You were right… I thought I had it all set right, the A records were cashed, but my cname was not proxied. Now it is working, thanks for your feedback

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.