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

Does Zaraz's trigger match the front

Does Zaraz's trigger match the front page of my URL and none of the other pages? For example, I just want to use https://example.com and https://example.com/ or I have a class="dhsm" on my web page and I use css selectors that don't seem to work either. or I chose the page title, the html <title>Blucap</title>, so I used the page title equal, but I can't seem to pick it either....

Hi , newbie here, sorry in advance, for

Hi , newbie here, sorry in advance, for Zaraz for ecommerce tracking on say shopify is all i need to do is get the script onto the page or d o i need to manually configure every event ?

Hi All!

Hi All! When I create a custom HTTP tool and in there I create an action for sending a GET to a specific URL. How do I handle the answer?...

I can no longer make any changes in my

I can no longer make any changes in my Zaraz, it gives me an error: Bad Request: validation error: unexpected end of JSON input On console:...

Hello all!

Hello all! So we've implemented the more-reliable "HTTP Events API" for "purchase" events, and have switched our GA4 config to use this server-side trigger. We are trying to migrate the rest of our tools over to use the API "purchase" trigger, however, we are having difficulty with Google Ads. We've attempted to use the server-side trigger for Google Ads, however, these purchases aren't actually showing as converted in Google Ads. In the screenshot, you can see GA4 data showing a user who eventually made a purchase on our site(From Google Ads), and you can see that the traffic medium & source is shown as Google CPC everywhere except the actual purchase event. ...
No description

Hi. Shouldn't the wbraid be saved in a

Hi. Shouldn't the wbraid be saved in a cookie? When I open a URL from my website with "?gclid=xyz123", a cookie is set. But when I open a URL with "?wbraid=xyz123", no cookie is set....

Looks like Iubendas manual install

Looks like Iubendas manual install allows you to change it to text/plain instead of JS to the script tags to let them decide what to block, will this mess with the zaraz caching at all? <script class="_iub_cs_activate-inline" type="text/plain">...

Oh but I thought Zaraz would have to

Oh but I thought Zaraz would have to send specific information to Google? Or is that just done automatically? So if we set up consent manager as per the docs, it'll just send all the needed info without further config?...

Hello everyone,

Hello everyone, we are facing issue with conversions. For some unknown reason zaraz started triggering purchase event multiple times and it is causing us big issues. Everything was good, so I'm wondering if any update or something else might've caused this issue?...

Hey there!

Hey there! We have been using Zaraz for a couple years now, and over time we've had a number of instances where our code changes caused unexpected issues with Zaraz. Most recently we had an unexpected issue with the purchase event that caused our Google Ads account algorithm to suffer significantly. (directly impacting profit :/) A lot of these issues have stemmed from not having a good way to run automated tests or even QA in our testing/staging environments. I guess my question is - does Zaraz have any sort of sandbox environment or solutions for testing or integrating with CI/CD pipelines? I know there is the "Zaraz Debugger", however, that leaves a lot to be desired as you either have to test manually in production, or load zaraz in testing environment, corrupting your data/events with fake testing data. Just curious if there's currently any support, plans for any support, or ideas on how to QA zaraz performance?...

Feature request: Mocks for integration

Feature request: Mocks for integration and unit testing managed components. As a user, I should be able to create tests for custom managed components within the same tooling as the overall worker's ecosystem (using Vitest). It's easy enough to create basic mock objects for passing into functions for unit tests, but ideally, there should be a more seamless way to test managed components. https://developers.cloudflare.com/workers/testing/vitest-integration/...

Folks, I'm trying to setup the google

Folks, I'm trying to setup the google ads managed component on an orange clouded domain. Here are the steps I've done - 1. I've granted the 3 permissions required by the MC (Client network requests, Access client key-value store, Execute client-side Javascript) 2. Conversion ID was added 3. Conversion Linker was enabled 4. Enrich Payload field was set to client and system...

Use Zaraz on domains not proxied by Clou...

Hi, I'm trying to setup zaraz on a non-proxied domain. I used the steps at https://developers.cloudflare.com/zaraz/advanced/domains-not-proxied/ However, I'm running into the following console error when doing so - Access to script at 'https://z.example.net/cdn-cgi/zaraz/i.js' from origin 'https://example.net' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://z.example.net' that is not equal to the supplied origin....

Hi! After talking multiple times with

Hi! After talking multiple times with support and the product team we still have not reached a resolution. The support team suggested I post here again since one of your product team members is offline and not responding for a long time now. So here is the issue: DNS records are proxied through Cloudflare and all the features work just fine except Zaraz. Zaraz loads, meaning I can inject it manually via code, but each time I need well.. some code! If the manual code injection is not done its like Zaraz does not exist. Any ideas guys?...

It doesnt seem to be registering and I

It doesnt seem to be registering and I cannot find documenation on the filters here

Hello everyone!

Hello everyone! I am trying to find solution for possibility track User Info like demographics and age in GA4 via Zaraz. After switching to Zaraz User Info reports drop to 0. In Docs find that setting up Anonymize Originating IP Address which passes the aip parameter which can contain such data, but I don't fully understand how to set it up. Can someone tell me what steps I need to take. I don't understand what I need to add to the additional field to make it work Thanks!...

Hello everyone! I am trying to access

Hello everyone! I am trying to access Zaraz -> Tools Configuration -> Google Ads -> Settings, but I encountered an error screen. Is anyone else facing the same problem?
No description

Hi, I am running a Google Ads campaign,

Hi, I am running a Google Ads campaign, and Google is asking me to setup a Google tag on my website. I tried to use the custom HTML function in Zaraz but I have been told that it is not recommended. However, upon attempting to use the Google Ads integration or the Google analytics integration, it does not seem to be working when I click "Test connection". My tracking ID starts with AW rather than G or UA, so I am really confused. What should I do?

I bought a domain from Cloudflare, and

I bought a domain from Cloudflare, and it hasn't been 60 days yet. However, I want to transfer this domain to another Cloudflare account. Is this possible? Can someone help me with this?

Regarding Google Consent Mode and Server

Regarding Google Consent Mode and Server Side Requests. If the Consent mode is stored in local storage how does Zaraz know what to send Google via events fired through the events API as the information will not be available within the cookies passed to Cloudflare via those API calls? The reason I ask is that we setup up Google Analytics with Consent mode via Zaraz a few weeks ago and we have been pinged by Google's email systems saying that we have still not setup consent mode for this site. We are also unable to verify that consent mode is setup on the Google Ads/Analytics side. As all the verification logic seems to require either the consent information is sent directly to Google Ads (We send the data via Google Analytics) or we are using the Tag Assistant (which doesn't work with Cloudflare). Is there a way for us to verify that Google is receiving the consent status from both our client side and servside sent events? (We have identified that the gcd parameter is being sent correctly from client side events through the debugger, but the debugger only shows client side events) I am thinking that our server side events are not including the consent mode parameters which is why Google is still flagging us as non-compliant?...