Zaraz HTTP request

Being a curious guy I was wondering about the Zaraz Http Request function. Aware that my curiosity gets me into trouble sometimes I thought I ask here for some guidance before I tried anything. The Zaraz documentation seems a bit “light”.

I’ve read about creating “hints” for third-party services to reduce the round trip connection time thereby speeding up a page. Specifically it would be adding something like in a page header.

To me this functionality sounds like the Zaraz Http request making a get request.

Could I create a Zaraz http request with (1) adding" rel=“dns-prefetch preconnect” as the endpoint URL and (2) setting Pageview as the triggering event.

Would this work? Would this be effective in speed performance?

I don’t know if this makes any sense but figured if I don’t ask I won’t learn.

Thanks for your patience and understanding.

Hi @MikeSchaffner, thank you for posting this and for reaching out to learn more about Zaraz. Not sure what is this destination TBH but shifting client-side JS for ads tracking with a server-side http request is definitely better for performance. If you want to learn from other developers, and see how they used the custom http “tool”, I suggest following the Zaraz discord channel! Thank you.

Thanks @yair-dovrat for that info. I’ll check it out.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.