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 definitely think you are on the right

I definitely think you are on the right track. But haven't done your setup, only had non enhanced conversions w/ Zaraz. I would like to get to the setup you are targeting at some point. I switched recently to Google Tag Gateway in Cloudflare, and disabled the Zaraz third-party tool for GA4. Need to baseline that and ill probably circle back after that. Seems correct with sending the user_data payload, which minimally as you probably know must have the "email" key (and value), and also you can do: "phone_number", and address too (I forget the format). One area that you may have issue with is how the email (and phone and address if you send those), I believe need to be hashed. I assumed that Google only hashes these values, (but also found out later that you can hash it yourself on the client side with SHA-256 and it needs to be normalized based on their expectation too....

Sending track events to only one tool

Hi till now we have used zaraz to send tracking beacons to multiple tools on Pageview event. We are trying to send additional data, specifically to Facebook Pixel by using the web API's zaraz.set("key", "value") followed by zaras.track("event1") but the zaraz preview debugger shows that this event is being sent to all the tools. Is there any parameter we can pass to zaras.track to make it send the event to a single tool, such as facebook pixel? @Omar can you please help us with this...

Hey All,

Hey All, Using Astro (static with no view transitions), hosted on Cloudflare Pages and using Zaraz to fire a GA4 tracker (Zaraz consent modal used, no custom JS on my site). The consent works fine on the page that it’s accepted (both accepting and rejecting) however the GA4 tracker doesn’t fire on any other page afterwards. I’m using a standard pageview trigger. Tried using GPT/Gemini for help but I wasn’t getting anywhere. ...

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 ...

but the thing is my canva sites has an

but the thing is my canva sites has an explicit CSP which blocks external scripts.. ive tried everything including server side loading, subdomain cloudflare worker, but the only thing that happened is that my analytics did show data, but it was the worker webpage 😭

Hey guys, has anyone run into an issue

Hey guys, has anyone run into an issue where a subdomain that’s only partially set up and with proxy fails to load the Zaraz script? Auto injection is on

@Omar I narrowed down the problem. It

@Omar I narrowed down the problem. It only happens with specific domains. We have a handful of domains that contain the same characters. When trying to access those domains, it defaults to the same one, regardless of which one was clicked on. I can view Zaraz setings for other domains that have entirely different spelling, which explains why you were not able to replicate the issue on your end....

Use Zaraz on domains not proxied by Clou...

Hello, Team. 🙂 I've noticed that my Cloudflare Zaraz scripts are returning a 522 error. Looking at the Security Analytics shows that this number is increasing. ...
No description

I am struggling a bit, as the Zaraz

I am struggling a bit, as the Zaraz documentation is not really helpful :/ I use the zaraz client to track an event like this: window.zaraz.track("c", { value: decision }); ...

Is it possible to delete or overwrite an

Is it possible to delete or overwrite an event payload property for ecommerce events via tool settings? If I configure a Default Field foo, the value it will overwrite an event payload property foo field in a standard tracked event but not (a custom field) in an ecommerce tracked event; the ecommerce event receives the original foo payload property. I can add a totally new field bar and it shows up in the payload of both standard and ecommerce event payloads.

Firing multiple times

I'm searching the forum for a similar issue I'm facing now, but can't find any. The issue I'm facing is that a Custom Html tool fires 3 times: 1 when the the Firing Trigger meet the conditions (That the normal behaviuor) and another tiem when other Custom Html tools fires and one more time with a visibilityChange fires. The code snippets that are injected by zaraz are: For the 1st time...

Got a weird issue with facebook action:

Got a weird issue with facebook action: Instead of the event coming through to Facebook events as "Lead" it comes through as the Zaraz event name "leadFormSubmit" that I use in the trigger. The variable in the action for FB event name is a string with the value for "Lead". I have tried just writing in "Lead" as well. Why why why? What do I do here?...
No description

Language override

Hi, I'm using Cloudflare Zaraz for cookie consent management. Whenever I manually open the consent modal using zaraz.showConsentModal(), it automatically picks the browser's language or locale. However, I need to override this behavior and specify a language manually when opening the modal. Is there a way to pass a language parameter to zaraz.showConsentModal() or any workaround to force it to open in a specific language? ...

Is there any documentation about cfz_

Is there any documentation about cfz_google-analytics_v4 cookie?

Is there any way to post an email to

Is there any way to post an email to purchase event for meta?

I still have a rendering bug for the

I still have a rendering bug for the zaraz consent modal , fixed issues with rendering from , 23.08.2024 did not work

Hello,

Hello, I have noticed that Zaraz added many URLs like this example: website.com/folder/[zaraz_file_name.js]?z=JTdCJTIyZXhlY3V0ZWQlMjIlM0ElNUIlNUQlMkMlMjJ0JTI..... Is this normal? Is there a way to remove the URLs? Each URL has a unique parameter, but the file is always the same...

Hi Everybody have a few questions

Hi Everybody have a few questions regarding Zaraz and Managed components: 1) I noticed the information regarding managed components was last posted in 2022, is this something that is still maintained? 2) for the managed components, does the manager support listening to all standard javascript events? (the typescript types only show the ones attached to this screenshot) more importantly; I will like to generate my own device identifier in a CF worker and persist those through cookies, ideally before Zaraz sends the default pageview. I know that worker variables run after Zaraz events are invoked, but is there another option available involving a worker that would work together w Zaraz but be invoked before it fires the pageview?...
No description

Hi everyone, i'm trying to store the

Hi everyone, i'm trying to store the value of a query param as a variable but it's not working. eg. my pageview triggers that use this variable as a condition. Is there something im missing?
No description

Cloudflare HTTP headers · Cloudflare Fun...

Hi, all. I'm playing with the context workers and I have a few questions: ```export default {...
Next