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

Outside of the built-in third-party

Outside of the built-in third-party integrations, what have you all successfully used Zaraz for? I'm particularly interested in whether Zaraz can be used for services that either add a lot of content to the DOM (e.g., BaazarVoice), are interactive in some way (e.g., chat bots like Gorgias), or more intensive analytics services that track user interaction (e.g., Hotjar).

Hello guys. I can't get zaraz to work on

Hello guys. I can't get zaraz to work on a domain that i own. I have a cloudflare pages Remix app with custom domain on clarastefania.ro with proxy active and correctly configured zaraz on Cloudflare Dashboard with GA4. It's says that it's on, but the script is not injected at all. I tried to make a subdomain with a wordpress website, here it's injected, but i receive 404 when it tries to load https://test.clarastefania.ro/cdn-cgi/zaraz/s.js (with some parameters) . Can someone please help me?

demo/src/index.ts at main Ā· managed-comp...

Hey! Can someone who is familiar with the custom managed components point me to the resource (or explain) how the manager.useCache() works? I see that used in the demo: https://github.com/managed-components/demo/blob/main/src/index.ts but cant understand how and when to use it (as I get an error, even if try to replicate the demo example). ...

Does Zaraz's Block Automated also

Does Zaraz's Block Automated also include Verified Bots? The docs suggest it just includes the Automated category. Even if the bot is "good" we still don't need analytics to run on it.

Hello, we're WordLift and we provide

Hello, we're WordLift and we provide Structured Data as PaaS. We host Knowledge Graphs for our customers and provide them with the structured data in JSON-LD format through an API, e.g. https://api.wordlift.io/data/https/example.org would return the structured data for the https://example.org web page. Right now customers are required to load a tiny JavaScript which will fetch the api and inject the JSON-LD payload into the web page head in a script type=application/ld+json tag. We would like to offload this part from the customers using CloudFlare, by creating a Managed Component(?) or a Worker(?) that would perform the fetch and the injection server-side....

```Good morning, I'm Mate from Argentina

Good morning, I'm Mate from Argentina.
Good morning, I'm Mate from Argentina.
I'm adding the G-XXXXXXXX from Analytics and the Meta Pixel, I did all the steps but I'm not getting any navigation signals....

This is what I see at the Diagnostics

This is what I see at the Diagnostics page.
No description

**Feature Request**

Feature Request I would like to be able to query monitoring data via the API. This would help to monitor what's going on and help to ensure items are being tracked correctly. Currently the best way to get this data is by going through each zone's interface and clicking through the filters. Being able to programmatically query any of this data would save a lot of time....

**Unknown Changes Pushed Out To Zone**

Unknown Changes Pushed Out To Zone Across all of the tools in this Zone I'm seeing this change to each tool and its not something we did. Seems to be an internal configuration option. Is this expected and safe to push to prod?...
No description

For awareness, we have just been

For awareness, we have just been investigating an incredibly intermittent issue with sending Zaraz track events from the client browser using zaraz.ecommerce() on one of our sites. We identified that the issues was caused by CF Rocket Loader being enabled on the domain (This was the only site it was enabled for and the only site experiencing these issues.) Once we disabled the Rocket Loader service the issues went away. We have reviewed the docs and it does mention they dont work well together here: ...

GitHub - managed-components/bing: Bing A...

Hi everyone, we are using the "Bing" Component (https://github.com/managed-components/bing) and I think I found a bug in it. The "Currency" is sent to bing as a parameter which is called "gvc" but according to the documentation of Bing (https://help.ads.microsoft.com/apex/index/3/en/53056/) it should be called "gc". Therefore our currency is not recognized at Bing and not shown in the events..
No description

I want to position cookie banner like

I want to position cookie banner like the below image, how can i achieve this
No description

`zaraz.track` payload transformation

One thing I am struggling with a bit with Zaraz is the control over how my zaraz.track event payloads get transformed for each individual tool (e.g. GA4 vs Meta). There are some events that I may want to be translated over to a "standard/recommended" event on Meta or GA4 but I'd like to use our own event schema to dictate how those events are translated. Is this something that you'd use the context enricher for?

GA4 weird session data

we switched from GTM to zaraz and for the most part everything is working fine, but our GA4 sessions seem to be pretty broken. for example one of our employees in martinque is browsing the site, but we are seeing 3 sessions instead of 1. does anybody know how to fix this?

The only benefit you could see from this

The only benefit you could see from this would be from delaying the loading of GTM until after consent or something like that which is likely to break GTM rather than improve performance.

Hello all! How're you?

Hello all! How're you? I know the docs say this is not recommended, but I want to ask if you have any experience and even if this could be at least 2% effective. I am working with a client that has GTM with a good number of tags and tools there. I can't migrate each one to Zaraz right now as recommended for a number of reasons....

Is it possible to change the base path

Is it possible to change the base path from which Zaraz loads its main JS file and the path used for ingesting data via the zaraz.track or zaraz.ecommerce methods?

**Zaraz Performance Optimization**

Zaraz Performance Optimization What are the best practices for speeding up Zaraz loads? I've been noticing on some sites that the initial Zaraz s.js is taking about 800ms. If manually loaded, could we do it async so that it starts loading asap rather than being deferred?...

I hope this is the right place to ask.

I hope this is the right place to ask. When I check the code for the ManagedComponents (e.g. floodlight) I noticed that the calls against the api are still client-sided (client.fetch) and also the Zaraz debugger is showing me "Client-Side network request). Is there a reason this is not done server-sided (manager.fetch)?

Hello,

Hello, Is there any cookie banner template for zaraz or only the default banner. If there are any alternative anyone show me the resource please...