Zaraz Loads Twice
Good afternoon guys, I finally got all my scripts transferred over to Zaraz from GTag, but now I have a new problem... Zaraz is loaded twice and therefore sends two page views. Is there something I am doing wrong with my setup? Any assistance would be great, thank you!
11 Replies
I've seen a few threads on the help board, but all of them are recommending removing the default pageview event from ga4 and add it instead with zaraz.track. This seems hacky to me
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
This is currently on a staging site so I cannot disclose the information, however it's installed exactly how they recommend. The site IS and SPA using Turbo and Rails I'm not sure if that helps any
but our current site is southwestboulder.com and it is hosted on cloudflare, but zaraz is disabled on our production server as I am still in the testing phase.
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
Gotcha, would it be possible to direct message so I can share credentials? I would appreciate it and thank you so much for responding . I also will report back with more info once I test the SPA trigger you mentioned 🙂
Hi again @yo'av I have checked pretty much everything and it seems like sometimes zaraz will send the page views and sometimes it wont. Also using the debugger - when I change a page the debug window no longer renders. Would you be able to assist me in looking at our account to see what could be causing the dual loads? I appreciate it
Also even just using the default pageview trigger on custom html still loads zaraz twice with no other tools enabled.
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
I appreciate it thank you will send it over shortly