Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

I have Zaraz all set up for our website

I have Zaraz all set up for our website but run into two issues, which seems bugs on Cloudflare's site. 1. I cannot re-order the Purposes list. When I click on one of the arrow buttons to change the order, nothing happens. There are no new errors in the console when I click. 2. When I open the Cloudflare portal, I get all kinds of errors in the console (which perhaps explain the issue 1):...
No description

Is the `/cdn-cgi/zaraz/t` endpoint

Is the /cdn-cgi/zaraz/t endpoint something we have to define ourselves? I'm noticing fetch calls to it that end up as 404, which spams sentry with unhandled promise errors, even though tools are getting their data.

Could someone please help me understand

Could someone please help me understand how to implement cookie consent on my site using Zaraz? I'm on this page and have no clue what to do
No description

This might be a dumb question, is there

This might be a dumb question, is there a way to interact with zaraz API on dev or localhost? Without actually sending data to google analytics.

Hi all, just checking to see if it's OK

Hi all, just checking to see if it's OK to set the Google Consent Mode defaults (google_consent_default) in the zarazConsentAPIReady event. The documentation says to set the defaults but doesn't explain when to set them. Thanks.

I still get `zaraz.consent` undefined,

I still get zaraz.consent undefined, how did you get it to work?

I'm currently configuring Zaraz CMP but

I'm currently configuring Zaraz CMP but encountering a snag. I've successfully integrated the GA4 tool with a pageview trigger, and it's functioning as anticipated, accurately reflecting activity. However, issues arise upon enabling CMP and establishing a purpose. I'm unable to manually link this purpose to GA4, as the system suggests it'll automate this process. Despite publishing these modifications and accessing the site, I find that the zaraz.consent object remains undefined, while GA4 continues to track pageviews. In an attempt to resolve this, I introduced a custom HTML tool, assigning it to the purpose I'd set up earlier. This action defines the zaraz.consent object and triggers the consent banner's appearance. Nonetheless, GA4 still records data, disregarding user consent....

Google Analytics Audiences

What does the "Google Analytics Audiences" setting of a "google analytics v4" tool do?
No description

Tracking HTML links with Zaraz

How can i track clicks on ahref links for GA4 with Zaraz? I tried adding Click listner and XPath with the /link to track and also the event tag for GA4 but it doesnt seem to work

Is there a way to display the data in

Is there a way to display the data in Zaraz monitoring (track, trigger,...) as an API - preferably even as a count?

Hello guys, I have an issue with the

Hello guys, I have an issue with the Zaraz consent management which is loaded at first website load, but if the user refreshes the page or there's a forward, the consent modal is not available anymore..? Even by programmatically managing the consent modal, the ApiReady doesn't fire anymore after first time.. Is there a way to force loading it?

Consent Modal with NextJS

Hey Bens, sorry I will do my best to explain. I assume if the "Show consent modal" checkbox is checked and the "Consent modal text" has some text and translations are done and I have a firing triggers set to pageviews, I should see a modal on my website when loading the page. Am I right?

FYI if you need conversion api, there is

FYI if you need conversion api, there is 2 easy options. You can easily setup one with the AWS image provided by facebook that's what I do. It cost around 15$ per month or there is this provider that does it as well https://stape.io/

Does Zaraz send events via the browser

Does Zaraz send events via the browser & via the server or only one? I noticed in our Meta for the registration event it has Conversion API only If it has conversion API only, do we need to manually collect the FBCLID and send it to Zaraz, or is that taken care of in the backend?...

Is there any option to connect

Is there any option to connect retargeting audience from zaraz directly to google ads? Because when creating retargeting audience in GA4 we are not getting all the audience in to the google ads. If you could answer just with yes/no

@yo'av so I entered a custom path like `

@yo'av so I entered a custom path like /a, and it seems to be causing my routes on /a* to fail. 😅 Is there a typo somewhere? (I assumed it's supposed to listen on /a/*.)
No description

does the HTTP Events API endpoint bypass

does the HTTP Events API endpoint bypass that? (Because otherwise, won't almost all traffic to it get blocked as most people use it with something automated on their backend?)

Cookie Consent feels like it punishes the good site owners

thanks. I've been out of the whole web loop for years and am just wrapping my head around all of these latest developments. I get what you are saying. My money is tight and it's nice to have a feature like this at the CDN. I wasn't anticipating a huge drop in analytics information simply due to trying to be proactive in the US ahead of most other websites. It's almost as if by accepting a good practice, you get punished from a traffic and SEO standpoint.

Hello

Hello I keep getting "request header or cookie too large 400" and that was because of Zaraz When I switch it off, the site seems to be functional again Any suggestions plz?...

Is it possible to have a Zaraz event

Is it possible to have a Zaraz event trigger on a download request to a public R2 bucket on a custom domain, without using a Worker?