We have Zaraz integrated previously, and
We have Zaraz integrated previously, and it was working great. We have recently changed the domain and server and it started saying
wainscoting:22397 Uncaught ReferenceError: zaraz is not defined
at wainscoting:22397:5
(anonymous) @ wainscoting:22397
Our live site is working great but only staging site as subdomain gives this error.
7 Replies
If you go on the staging site and start to type
zaraz
in the console, does it find it? You'll want to confirm that zaraz is being loaded.When we are doing zaraz in console it's give us following error
zaraz is not defined
And the staging sub domain is the same donain/zone as the prod site?
Loading at live.

Throwing an error.

Another interesting stuff.
Regarding Zaraz:
This URL is working: https://www.aicmillworks.com/cdn-cgi/zaraz/i.js
This URL is not working: https://staging.aicmillworks.com/cdn-cgi/zaraz/i.js
Do you have any configuration rules that may be preventing zaraz from loading?
Also, is the DNS record for your staging site proxied by Cloudflare or DNS Only? (Signified by :greycloud: or :cloudflare: in the DNS entry)