Hello all! How're you? I know the docs say this is not recommended, but I want to ask if you have

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. My question is, can I load the whole GTM through Zaraz and see a bit of performance improved? Do you have any experience doing this that can tell me some caveats or good stuff to keep in mind? This week I loaded Hubspot through Zaraz and it went flawless. Thanks in advance!
6 Replies
ItsTobias
ItsTobias4d ago
The only way to load GTM through Zaraz is to just use a custom html module to inject the html for the GTM tag. As such there's no way for it to improve the performance of GTM, Zaraz is not doing anything except including the JavaScript for the GTM JS. 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.
Matthias
Matthias3d ago
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?
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
Md Rashedul Islam
I want to position cookie banner like the below image, how can i achieve this
No description
_fe_he
_fe_he16h ago
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..
GitHub
GitHub - managed-components/bing: Bing Analytics
Bing Analytics. Contribute to managed-components/bing development by creating an account on GitHub.
No description
No description
ItsTobias
ItsTobias14h ago
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.
Want results from more Discord servers?
Add your server