Mackenly
Mackenly
CDCloudflare Developers
Created by samumaretiya on 4/22/2025 in #zaraz
We have Zaraz integrated previously, and
Also, is the DNS record for your staging site proxied by Cloudflare or DNS Only? (Signified by :greycloud: or :cloudflare: in the DNS entry)
8 replies
CDCloudflare Developers
Created by samumaretiya on 4/22/2025 in #zaraz
We have Zaraz integrated previously, and
Do you have any configuration rules that may be preventing zaraz from loading?
8 replies
CDCloudflare Developers
Created by samumaretiya on 4/22/2025 in #zaraz
We have Zaraz integrated previously, and
And the staging sub domain is the same donain/zone as the prod site?
8 replies
CDCloudflare Developers
Created by samumaretiya on 4/22/2025 in #zaraz
We have Zaraz integrated previously, and
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.
8 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Awesome!
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Probably. Can't say for sure, but if I had to use Canva and Clarity, that's what I think I'd do too. But does the increased complexity still make sense vs. using another way to build the site?
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Can you expand on that? Based on screenshots it seems that you're proxying it right now
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
If you turn it off there's no security protection coming from your cloudflare account, but Canva's security protections will still work. Can't say wheather leaving it on will help or hurt the site overall. Often places that want you to grey cloud do not work if it isn't done, but if it is working, it might be fine, but who knows.
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Yes, DNS Only = Grey Cloud
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Oh interesting. Idk the answer to that. It seems like canva wants you to grey cloud for sites with them but if it is working, idk.
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
If you don't want Zaraz to load on a site on your zone, you can use a configuration rule.
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
This is becasue your Worker is proxied by Cloudflare which lets Cloudflare add Zaraz to it. Canva sites requires you to "grey cloud" or DNS only your DNS record to them. This mean that Cloudflare, for that DNS record, acts like a "dumb" DNS provider and isn't providing all of the perf and security features that it can do on sites it proxies. As such, Zaraz isn't automatically loaded and must be manually load by adding a script tag (but it seems that Canva doesn't allow for this). https://www.canva.com/help/dns-settings/#:~:text=Cloudflare%20proxied%20records Re: A way to do it. Since Canva requires the sites to be grey clouded you're more limited in what you can do. Ultimately unless there's some sort of trick for doing it in Canva, you're probably going to have to leave Canva for another tool.
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Yeah, if you're loading Zaraz on a zone, if you have a Worker on that Zone it should be loading Zaraz and the tools you have setup in Zaraz. Unfortunantly it seems like you're going to be pretty limited with using Canva pages in what you can do. I know that isn't great news
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Ah, okay, well I guess that article is probably AI or something.
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Got it. That's very limiting Here's another article on adding GTM/GA4 that would be the same process for Zaraz (but these articles could just be wrong) https://www.asclique.com/blog/how-to-embed-google-analytics-in-canva-website/
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Would that work with the limitations you've ran into? It wouldn't require you using a worker.
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Okay, I'm not super familiar with Canva's sites, so if I'm missing something lmk. This guide offers suggestions for how to instal GA4 via GTM. They're suggesting that you embed the tag script into the site and make the embed 1x1 pixel so that it is super tiny. https://www.blobr.io/how-to-guides/how-can-you-add-google-analytics-to-your-canva-website You can then include Zaraz like this (assuming your canva site is "grey clouded" :greycloud: DNS: https://developers.cloudflare.com/zaraz/advanced/domains-not-proxied/ Basically the same style setup as the article suggests you do with GTM, but using Zaraz.
58 replies
CDCloudflare Developers
Created by n on 4/22/2025 in #zaraz
but the thing is my canva sites has an
Can you provide more details into how you've got it setup now?
58 replies