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

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 😭

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

I'm also encountering issues with custom

I'm also encountering issues with custom Actions. My custom action is called according to the zaraz debugger console (screenshot 1) The event which is fired is called "purchase" (screenshot 2) But my managed component is not running the code even though the eventListener is correctly implemented: `manager.addEventListener('purchase', async event => { console.log('purchase', event)...
No description

Hi,

Hi, I'm currently facing an issue with client.set not being executed when called from a custom managed component in a custom action. It works, if I call it in an event handler for the default "Pageview" action, but not in any event handler for a custom action. In my example below, the value for the event "detailedPageview" is always null, for the "pageview" event the value is set after first execution. ```js export default async function (manager: Manager, _settings: ComponentSettings) {...

Thanks for the answer. But with a

Thanks for the answer. But with a different domain, it won't be able to set first-party cookies.

Ok, another question where I hope I will

Ok, another question where I hope I will get some response from anyone who is better informed. :)) Are there any event processing limits on how much the Zaraz can handle? Currently, my Zaraz worker is nearing 4 million processed events in one month; the next, month it might hit 6. ...
Next