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
Mackenly
Mackenly2d ago
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.
samumaretiya
samumaretiyaOP2d ago
When we are doing zaraz in console it's give us following error zaraz is not defined
Mackenly
Mackenly2d ago
And the staging sub domain is the same donain/zone as the prod site?
samumaretiya
samumaretiyaOP2d ago
Loading at live.
No description
samumaretiya
samumaretiyaOP2d ago
Throwing an error.
No description
samumaretiya
samumaretiyaOP2d ago
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
Mackenly
Mackenly2d ago
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)

Did you find this page helpful?