For awareness, we have just been investigating an incredibly intermittent issue with sending Zaraz t

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:
Can I use Zaraz with Rocket Loader? We recommend disabling Rocket Loader when using Zaraz. While Zaraz can be used together with Rocket Loader, there’s usually no need to use both. Rocket Loader can sometimes delay data from reaching Zaraz, causing issues.
but I would say that this isnt exactly what we encountered, we saw complete failures to call zaraz.ecommerce within the body section of the page, presumably because Rocket Loader had delayed the loading of Zaraz enough that this call happened ahead of the zaraz JS loading. Its also not obvious that these 2 services could interfere with each other, other than a small note in the FAQ section of Zaraz. It would be good if the Zaraz config section in Cloudflare would include an error/information message saying something like "You have Rocket Loader enabled, this service does not work well with Zaraz, we advise disabling it or you may face tracking issues". The other issue obviously with disabling Rocket Loader is that this prevents Rocket Loader from being used on non Zaraz loaded libraries which is a little frustrating and a somewhat undisclosed negative of using Zaraz in Cloudflare.
14 Replies
schmekis
schmekis4w ago
Why, no matter what tool I try to add, do I get the error "no data found" I've watched every tutorial I can find online and nobody is having any issues. It takes them 2 minutes to set up the most basic setup. I've been working on this for hours and I can't even get GA4 to connect.: "Your Google tag wasn't detected " I can't get debug mode to work: "VM1366:1 Uncaught ReferenceError: zaraz is not defined at <anonymous>:1:1." I can't get anything to work! Can somebody please help. We can start with energymaxglobal.com looks like the domain had to be proxied, as the TikTok connection is now getting data. However after waiting for more than 30 minutes GA4 still isn't connecting.
While I'm guessing GA4 will sort itself out eventually as the proxy is just taking a long time to update.... I hope cloudflare will take this as a learning experience... I know cloudflare views the domain needing to be proxied as common sense, but it shouldn't. I wasted so much time, and maybe I'm the only one this dumb... but I doubt it. Others are going to rack their brain far longer than they need to. Thank you for this. I wish FAQ had appeared in all my searching. Come to think of it I've ignored every websites obligatory FAQ section for the last 20 years... I've just become to reliant on Google. Anyway - GA4 still isn't gathering data, I have now read all the FAQ, even deleted the tool and readded it hoping that might make a difference but still says... "no data found" I appreciate your help. I've also done multiple Chat GPT searches.
Lzok
Lzok4w ago
If, for some reason, you don't want or you need your main domain to not be proxied, you can create a subdomain proxied through cloudflare where you load these tools https://developers.cloudflare.com/zaraz/advanced/domains-not-proxied/
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Mackenly
Mackenly4w ago
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
schmekis
schmekis4w ago
HI @Beto Garcia - were you able to get your tiktok configuration to work?
Beto Garcia
Beto Garcia4w ago
Yes. Remenber to remove the test event
Mackenly
Mackenly4w ago
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.
Thanos
Thanos4w ago
In your Google Ads account in the Goals -> Summary -> Diagnostics you have the same as the attached image or you have any consent badge;
No description
BadgeMan
BadgeMan4w ago
This is what I see at the Diagnostics page.
No description
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
matecocido
matecocido4w ago
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.
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Thanos
Thanos4w ago
I have the same problem with audiences but also with the consent and enhanced conversions.
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server